Skip to content

Instantly share code, notes, and snippets.

@tonyskapunk
Created September 10, 2010 15:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tonyskapunk/573825 to your computer and use it in GitHub Desktop.
Save tonyskapunk/573825 to your computer and use it in GitHub Desktop.
# allow bold colors
attrcolor b “.I”
termcapinfo xterm|xterms|xs|rxvt ti@:te@
# erase background with current bg color
defbce "on"
vbell off
startup_message off
#Enable multiuser
multiuser on
# ACL
acladd jalvarez
#Backticks to display information in status bar
backtick 1 60 60 $HOME/.screen.d/bin/get_freemem
backtick 2 60 60 $HOME/.screen.d/bin/get_freeswap
backtick 3 60 60 $HOME/.screen.d/bin/get_sessionname
#backtick 5 15 15 echo basename $(pwd) | awk '{ printf ("\033k%s\033\\", $NF) }'
# Last two lines of the screen
caption always "%{= KW}%{-b}%-w%{+b gW}[ %n %t ]%{-}%+w"
hardstatus alwayslastline "%{= kW} %-= %{= kG}Session:%u%{= kW} %3` | %{= kG}Host:%{= kW} %H | %{= kG} MEM:%{= kW} %1`MB |%{= kG} SW: %{= kW
}%2`MB | %d %M %c:%s "
defscrollback 8500
screen 0 ssh constantine
screen 1 bash
screen 2 bash
screen 3 bash
select 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment