Skip to content

Instantly share code, notes, and snippets.

@patmandenver
Created September 21, 2026 14:17
Show Gist options
  • Select an option

  • Save patmandenver/356318f9e13eaa5ca3095fd6255bb841 to your computer and use it in GitHub Desktop.

Select an option

Save patmandenver/356318f9e13eaa5ca3095fd6255bb841 to your computer and use it in GitHub Desktop.
.screenrc
##################################################
#
# Variables
#
###################################################
autodetach on # Standard: on
crlf off # Standard: off
deflogin off # Standard: on
hardcopy_append on # Standard: off
startup_message off # Standard: on
vbell on
defscrollback 100000 # Standard: 100
silencewait 15 # Standard: 30
shell bash
activity "activity in %n (%t) [%w:%s]~"
bell "%C -> %n%f %t activity!"
vbell_msg " Oops " #Default error message is Wuff Wuff
###################################################
#
# CAPTION
#
###################################################
caption always "%-Lw%{= BW}%50>%n%f* %t%{-}%+Lw%<"
###################################################
#
# HARDSTATUS
#
###################################################
hardstatus alwayslastline "%{kw}%t %{+b kr}host: %{kw}%H %{kg} | %C:%s%a | %{kw}%D %m/%d/%Y | %{kr}(load: %l)"
# %H is host
# %l is load
# %C is time 12 hour
# %c is time in 24 hour
# %a is AM/PM
# %m is month
# %d is day
# %Y is year
#Screen color option
# 0 Black . leave color unchanged
# 1 Red b blue
# 2 Green c cyan
# 3 Brown / yellow d default color
# 4 Blue g green b bold
# 5 Purple k blacK B blinking
# 6 Cyan m magenta d dim
# 7 White r red r reverse
# 8 unused/illegal w white s standout
# 9 transparent y yellow u underline
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment