--- screen-4.0.2/etc/screenrc.screenrc 2003-12-05 13:59:39.000000000 +0000 +++ screen-4.0.2/etc/screenrc 2005-02-15 10:22:19.935843952 +0000 @@ -15,7 +15,7 @@ startup_message off # emulate .logout message -pow_detach_msg "Screen session of \$LOGNAME \$:cr:\$:nl:ended." +pow_detach_msg "Screen session of $LOGNAME $:cr:$:nl:ended." # advertise hardstatus support to $TERMCAP # termcapinfo * '' 'hs:ts=\E_:fs=\E\\:ds=\E_\E\\' @@ -126,9 +126,9 @@ # Yet another hack: # Prepend/append register [/] to the paste if ^a^] is pressed. # This lets me have autoindent mode in vi. -register [ "\033:se noai\015a" -register ] "\033:se ai\015a" -bind ^] paste [.] +#register [ "\033:se noai\015a" +#register ] "\033:se ai\015a" +#bind ^] paste [.] ################ # @@ -140,9 +140,14 @@ # screen -t 40 2 rlogin server # caption always "%3n %t%? @%u%?%? [%h]%?%=%c" +## alternative caption, gives window list, LOGNAME and current date: +# caption always "%{wk}%?%-Lw%?%{bw}%n*%f %t%?(%u)%?%{wk}%?%+Lw %=%{mk}@%H %{yk}%D %{ck}%M%{wk} %{ck}%d %{gk}%c" # hardstatus alwaysignore # hardstatus alwayslastline "%Lw" +# Red Hat's normal status line +hardstatus string "[screen %n%?: %t%?] %h" + # bind = resize = # bind + resize +1 # bind - resize -1