Skip to content

Instantly share code, notes, and snippets.

@sebatyler
Created October 23, 2014 05:52
Show Gist options
  • Save sebatyler/22467f58b3dfe9d4673f to your computer and use it in GitHub Desktop.
Save sebatyler/22467f58b3dfe9d4673f to your computer and use it in GitHub Desktop.
unsetenv DISPLAY
autodetach on # default: on
crlf off # default: off
deflogin off # default: on
hardcopy_append on # default: off
startup_message off # default: on
vbell off # default: ???
term xterm
termcapinfo xterm ti@:te@
termcapinfo linux "ve=\E[?25h\E[?17;0;64c"
defscrollback 32000 # default: 100
silencewait 15 # default: 30
bufferfile $HOME/.screen_exchange
shell -bash
caption always "|%? [%{+b y.}%{-}]%? %-Lw[%{+b w}%n%f %t%{-}]%+Lw"
activity "%C -> %n%f %t activity!"
bell "%C -> %n%f %t bell!~"
pow_detach_msg "BYE"
vbell_msg " *beep* "
bind P paste .
bindkey -k k7 prev
bindkey -k k8 next
msgwait 1
version
# change back to showing messages
# for duration of two seconds:
msgwait 2
#
# Welcome the user:
echo "welcome to screen :-) -> http://www.guckes.net/screen/"
#
# ========
# Tell Vim to use a "tabstop" of '8',
# ie expands TABs to the next column
# whose number is a multiple of eight.
# EOF vim: ts=8 et nowrap
defencoding utf8
bind e eval "encoding utf8" "echo UTF-8"
bind ^e eval "encoding uhc" "echo UHC"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment