screen rocks!
If you want to resume a remotely running screen session you have to call
ssh with the option -t. This forces creation of a pseudo-tty.
% ssh -t host.domain.tld screen -RR
or:
% ssh -t host.domain.tld screen
respectively.
# copied from termcapinfos for xterm,
# enables (bad) scrolling with Eterm
termcapinfo Eterm ti@:te=\E[2J]
# hardstatus in the window title
# using this allows also PROMPT_COMMAND to work as expected
termcapinfo Eterm 'hs:ts=\E]2;:fs=\007:ds=\E]2;screen\007'
# screensaver
#idle 120 blanker
# statusbar
caption always "%{= kG}%H: %{ .b}%-Lw %{+u .w}%n*%f %t%{-u} %{ .b}%+Lw %{+B rk}%? Users: %u %?%{-B ky}%= Load: %l"
# hardstatus modding
hardstatus string "[%c]%20=%h"