Tuesday, July 21, 2009

screenrc file

I have been using the awesome screen program for a long time. I recently remembered that someone once gave me the following ~/.screenrc file:


# Screen configuration

# Statusbar
hardstatus off
hardstatus alwayslastline
hardstatus string "%{.bW}%-w%{.rW}%n %t%{-}%+w %=%{..G} %H %{..Y} %d/%m %C%a"

# Scrolling in xterms
termcapinfo xterm|xterms|xs|rxvt ti@:te@

# Miscellaneous
startup_message off


This file enables a small status bar at the bottom of the screen with the hostname and color. I you need to manage lots of different servers this is great as you can make each status bar a different color - never get hosts confused again!

1 comment:

đa said...
This comment has been removed by a blog administrator.