thefourtheye's weblog

opinions are my own; try code/suggestions at your own risk

Ubuntu Screen Configuration

| Comments

As we all know Screen is an excellent program. Here is how my ~/.screenrc looks like

   vbell off
defscrollback 10000
hardstatus on
hardstatus alwayslastline "%{wk}%-w%{kw}%n %t%{-}%+w %=%{Gk} %H %{Wk} %d-%M-%Y %C:%s %a %D "
termcapinfo xterm ti@:te@
startup_message off
msgwait 1
altscreen on
escape ``
bind c screen 1
bind ^c screen 1
bind 0 select 10
screen 1

And this is how it looks in action



  1. blockquote (the key right above Tab key) will be the command character
  2. As you see in the image, the screen numbers will begin with 1
  3. The bottom bar shows list of open terminals, machine name, date, time, weekday
  4. `+c will create a new terminal
  5. `+1,`+2,`+3,... will switch to the respective terminals