screenrc changes for 5.0.0

master
utsuho 2025-02-12 20:18:24 +00:00
parent bfbb1d6206
commit 814b55843d
Signed by: utsuho
GPG Key ID: 8162F60A581FE151
1 changed files with 5 additions and 1 deletions

View File

@ -1,9 +1,13 @@
hardstatus alwayslastline
#screen 4.x.x
caption always "%{= kR}[%{= kG}%c:%{= kG}%s%{= kR}] %{= kR}[%{= kG}${USER}%{= kR}@%{= kG}%H%{= kR}]%{= kG} %{= kR}[%{= kG}%n %t %h%{= kR}]%{= kG} %W"
#uncomment for screen 5.0.0+
#caption always "%{= i}%{= 1;0}[%{= 2;0}%c%{= 1;0}] [%{= 2;0}${USER}%{= 1;0}@%{= 2;0}%H%{= 1;0}]%{= 2;0} %{= 1;0}[%{= 2;0}%n %t %h%{= 1;0}]%{= 2;0} %W"
#shelltitle "$ |bash"
termcapinfo xterm|xterms|xs|rxvt ti@:te@
defscrollback 10000
bindkey ^N screen