然后,编辑.screenrc文件:
#change the hardstatus settings to give an window list at the bottom of the
#screen, with the time and date and with the current window highlighted
shell $SHELL
termcapinfo xterm ti@:te@ # scrollback correction
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}]'
bindkey -k k; quit
bindkey -d -k kb stuff "\010" # XFCE backspace correction
altscreen on # when programs like Vim exit they leave their content on the window
defscrollback 10000 # scrollback up to 5000 lines. default 1000