My .screenrc

This .screenrc has a bunch of commented out lines that I don’t use, but I know if I delete them, I will need them for some reason and wish I didn’t.

# Use CTRL-<space> as the escape sequence instead of CTRL-A
# this seems to only work on certain machines
escape '^@^@'
 
# Use ` as the escape sequence instead of CTRL-A
#escape ``
 
# Once you learn to use the screen scrollback, you'll never scroll in terminal again!
defscrollback 20000
 
# Aesthetic Stuff
vbell off
hardstatus alwayslastline
 
hardstatus string "%{gk}[ %{G}%H %{g}][%= %{wk}%?%-Lw%?%{r}(%{W}%n*%f %t%?(%u)%?%{r})%{w}%?%+Lw%?%?%= %{g}][%{B} %m/%d %{W}%c %{g}]"
#hardstatus string '%{= kc}%H%{g} %{kw}%?%-Lw%?%{W}%n%f%t%?(%u)%?%{w}%?%+Lw%?%=%{c}%m/%d %C %{w}%l%'
#hardstatus string '%{= cK}%-Lw%{= KW}%50>%n%f* %t%{= cK}%+Lw%< %{= kG}%-=%D %d %M %Y %c:%s%{-}'
#hardstatus string '%{= kG}[ %{G}%H %{g}][%= %{= kw}%?%-Lw%?%{r}(%{W}%n*%f %t%?(%u)%?%{r})%{w}%?%+Lw%?%?%= %{g}][%{B} %m/%d %{W}%c %{g}]'
 
# Rebind PuTTY <C-?> (127) backspace to <C-H>
bindkey -k kD stuff ^H
 
# Rebind PuTTY <del> to <right><backspace>
#bindkey "^[[3~" stuff ^[OC^H
 
term xterm-color
setenv SCREEN_TERM screen
startup_message off
 
#termcapinfo  xterm Z0=\E[?3h:Z1=\E[?3l:is=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;4;6l
#termcapinfo  xterm-color Z0=\E[?3h:Z1=\E[?3l:is=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;4;6l

1 comment to My .screenrc

  • Awesome, I had no idea that screen had the ability to show the location of current all the “windows” (open terminal sessions.) Certainly beats guessing. Thanks!

Leave a Reply

 

 

 

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="">