X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=.screenrc;h=4eefc6cc3b21fba8dc6cac2ac748fc158f77b754;hb=8eb93b531d2772fcaefd3deb830a73a24f90ee45;hp=2e3ff3e66b90305d3f55e87df8cb332bc0537ed2;hpb=beb132417ed67221b35d50e3bf35b5fca8225e1d;p=dotfiles.git diff --git a/.screenrc b/.screenrc index 2e3ff3e..4eefc6c 100644 --- a/.screenrc +++ b/.screenrc @@ -13,6 +13,11 @@ startup_message off deflogin on shell -$SHELL +# For this to work PS1 prompt must include empty "k\" sequence +# and ends with "$ ". +#shelltitle "\$ |$SHELL" +#bind R screen -t '# |root:' sudo su - + # define a bigger scrollback, default is 100 lines defscrollback 1024 @@ -85,9 +90,9 @@ termcapinfo xterm*|rxvt*|kterm*|Eterm* hs:ts=\E]0;:fs=\007:ds=\E]0;\007 #hardstatus lastline "%-Lw%{= BW}%50>%n%f* %t%{-}%+Lw%<" # status line at the bottom of terminal -# display numbers and titles: -# for inactive windows - black on cyan -# for active window - white on blue +# display window number, flags and title +# for inactive windows - black on yellow (brown) +# for active window - black on green hardstatus alwayslastline hardstatus string "%{= yk}%-w%{= gk}%n%f %t%{-}%+w %-=" @@ -111,7 +116,7 @@ termcapinfo xterm 'is=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;4;6l' #termcapinfo rxvt* 'ti=\E7\E[?47h:te=\E[2J\E[?47l\E8' # Do not use the alternate screen at all -# run `tput smcup; screen -S test; tput rmcup` +# run `tput smcup; screen; tput rmcup` termcapinfo xterm*|rxvt* 'ti=:te=' # Enable non-blocking mode to better cope with flaky ssh connections.