Paste the following code in your $HOME/.screenrc file (create it if it does not exist):
shell -${SHELL}
defscrollback 4096
startup_message off
hardstatus on
hardstatus alwayslastline
hardstatus string "%{.bW}%-w%{.rW}%n %t%{-}%+w %=%{..G} %H %{..Y} %m/%d %C%a "
bind ' ' windowlist -b
bind b eval "writebuf" "exec sh -c 'pbcopy < /tmp/screen-exchange'"
To give you an idea, this is what a typical screen session looks to me:
Sometimes I go hardcore mode and insert screens within screen sessions...but more on that in another article..

0 Comments