=Start=
参考配置如下:
startup_message off # default: on password IPEYnb9Ew33/E autodetach on # Autodetach session on hangup instead of terminating screen completely # define a bigger scrollback, default is 100 lines scrollback 30000 defscrollback 30000 # Remove some stupid / dangerous key bindings bind x bind ^k bind ^\ caption always "%{=b dy}%D, %d. %M '%y %{=b dw}%c:%s %{=b dy}{ %{= dg}${USER}@%{= dr}%H %{=b dy}} %{=b d2}%l %{=b dy}%u %{=b dy} %={ %?%{= dc}%-Lw%?%{+b dy}(%{-b r}%n:%t%{+b dy})%?(%u)%?%{-dc}%?%{= dc}%+Lw%? %{=b dy}}" #兼容shell 使得.bashrc .profile /etc/profile等里面的别名等设置生效 shell -$SHELL
参考链接:
- http://www.gnu.org/software/screen/manual/screen.html#Customization
- https://github.com/search?utf8=%E2%9C%93&q=screenrc&type=Repositories&ref=searchresults
- 我的screenrc配置
- Linux使用笔记: 在标题和状态栏中显示Screen的窗口名称
- gnu screen快捷键速查表
- http://serverfault.com/questions/3740/what-are-useful-screenrc-settings
=END=