config
there are two configure file of screen on linux,
- /etc/screenrc
- ~/.screenrc
here is my .screenrc
defencoding en_US
encoding UTF-8 en_US
vbell off
altscreen on
hardstatus alwayslastline
hardstatus string '%{= kG}[ %{G}%H %{g}][%= %{= kw}%?%-Lw%?%{r}(%{W}%n*%f%t%?(%u)%?%{r})%{w}%?%+Lw%?%?%= %{g}][%{B} %d/%m %{W}%c %{g}]'
issues
-
"Must be connected to a terminal" 执行 screen 的时候碰到这个错, 先执行 script /dev/null
to be continue