您的位置:首页 > 运维架构 > Linux

Configuration for Linux command `screen`

2012-06-08 11:43 176 查看
Touch a file .screenrc to $HOME, then copy the following configuration to .screenrc file.

Try the affects by command `screen`:

> screen

#
# ~/.screenrc
#
# Show Time and List of Windows within the last line
hardstatus on
hardstatus alwayslastline
hardstatus string "%{.bW}%-w%{.rY}%n %t%{-}%+w %=%{..G} %H(%l) %{..Y} %Y/%m/%d %c:%s "

# skip the startup message
startup_message off
#
# Automatically detach on hangup.
autodetach on
#
# If a screen dies, don't freeze the whole screen waiting for it.
nonblock on
#
# UTF-8 is necessary.
defutf8 on
#
# Change default scrollback value for new windows: scrollback 10000
defscrollback 10000
#
# start with visual bell as default
vbell off
vbell_msg "Bell on %t (%n)"
#

## BIND Keys
escape ^Zz
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: