Ubuntu中screen应用程序配置文件

Linux中的screen应用给我的开发工作带来了不小的便利。

以下贴出我的screen配置文件:

screenrc [ 注: 此文件是存在于HOME下,以.screenrc存在 ]

# Define a large scrollback buffer for command which executed
defscrollback 8192

# turn off the start up message
startup_message off

# Refresh the display when exiting programs
altscreen on

# vbell
vbell off

# support mouse to rollback the screen
termcapinfo xterm|xterms|xs|rxvt ti@:te@

此仅为一个简单的配置文件,足以够我使用。


------------------------

# Define a large scrollback buffer for command which executed
defscrollback 8192


deflog off


# turn off the start up message
startup_message off


# Refresh the display when exiting programs
altscreen on


# vbell
vbell off


autodetach on
# support mouse to rollback the screen
#termcapinfo xterm|xterms|xs|rxvt ti@:te@


#termcapinfo rxvt 'hs:ts=\E]2;:fs=\007:ds=\E]2;screen\007'
#caption always "%{= kw}%-w%{= kG}%{+b}[%n %t]%{-b}%{= kw}%+w %=%d %M %0c %{g}%H%{-}"


hardstatus on
hardstatus alwayslastline
hardstatus string "%{.bW}%-w%{.rY}%n %t%{-}%+w %=%{..G} %{..Y}"
#%Y/%m/%d %c:%s "
#bind ' ' title


# title
shelltitle '$ |bash'


unbind ^X

------------------------


如能给出更好运用,请评论。

你可能感兴趣的:(screen)