Screen and ubuntu 9.04
June 16th, 2009
No comments
We have to install the screen package first:
apt-get install screen
We add the following at the end of the configuration file:
vim /etc/screenrc
hardstatus string "%h%? users: %u%?"
startup_message off
hardstatus alwayslastline "Redmine: %-Lw%{= BW}%50>%n%f* %t%{-}%+Lw%<"
bindkey -k k7 prev
bindkey -k k8 next
Now you can open a screen session:
screen screen -r -> resume a screen session screen -x -> join a screen session
When you start screen:
CTRL - A then CTRL - D -> exit screen CTRL - A then CTRL - C -> new tab CTRL - D -> close window (when all are closed screen will be terminated) CTRL - A then CTRL-D -> exit screen without terminating tabs