Skip to content

Instantly share code, notes, and snippets.

@Nideapum
Forked from joaopizani/.screenrc
Last active April 4, 2021 13:49
Show Gist options
  • Save Nideapum/26abd94e09acb7f6d41e300a433e43e1 to your computer and use it in GitHub Desktop.
Save Nideapum/26abd94e09acb7f6d41e300a433e43e1 to your computer and use it in GitHub Desktop.
Screen config for putty (without mouse and keys shortcuts)
# Original ♦ https://gist.github.com/joaopizani/2718397
# the following two lines give a two-line status, with the current window highlighted
hardstatus alwayslastline
hardstatus string '%{= kG}[%{G}%H%? %1`%?%{g}][%= %{= kw}%-w%{+b yk} %n*%t%?(%u)%? %{-}%+w %=%{g}][%{B}%m/%d %{W}%c%{g}]'
# huge scrollback buffer
defscrollback 5000
# no welcome message
startup_message off
# 256 colors
attrcolor b ".I"
termcapinfo xterm 'Co#256:AB=\E[48;5;%dm:AF=\E[38;5;%dm'
defbce on
# default windows
screen -t aaa 1 bash
screen -t bbb 2 bash
select 1
bind c screen 1 # window numbering starts at 1 not 0
bind 0 select 10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment