termcapinfo xterm* ti@:te@
# 启动时不显示欢迎屏幕
startup_message off
# 定义screen的功能键为Ctrl-Z。向终端输入Ctrl-Z时应按 Ctrl-Z z。
escape ^Zz
# 屏幕缓冲区1000行。
defscrollback 5000
# 在最下一行显示窗口列表和时钟
hardstatus on
hardstatus alwayslastline
#hardstatus string “%{.bW}%-w%{.rY}%n %t%{-}%+w %=%{..G} %{..Y} %Y/%m/%d %c:%s ”
hardstatus string "%{.kB}%-w%{..M}%n %t%{-}%+w %=%{..B} %H(%l) %{..B} %Y/%m/%d %c:%s "
# 关闭错误提示
vbell off
# 按 Ctrl-Z w 或 Ctrl-Z Ctrl-W 显示窗口列表
#bind w windowlist -b
#bind ^w windowlist -b
# 进程挂起时自动detach
autodetach on
shelltitle "$ |bash"
shell -bash