Skip to content

Instantly share code, notes, and snippets.

@kometchtech
Created September 1, 2017 07:54
Show Gist options
  • Save kometchtech/96dc471da5d6df2936ec9a184e14af6f to your computer and use it in GitHub Desktop.
Save kometchtech/96dc471da5d6df2936ec9a184e14af6f to your computer and use it in GitHub Desktop.
sample screenrc
#if [ $TERM != "screen" ]; then
# if [ $TERM != "dumb" ]; then
# screen -e ^z^z
# fi
#fi
termcapinfo xterm* 'is=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;4;6l'
escape ^wW
defscrollback 20000
bind l split -v
autodetach on
# screen lock key disable
bind x
bind ^x
#encoding
defkanji utf-8
defencoding utf-8
encoding utf-8 utf-8
# mouse scroll
termcapinfo xterm* ti@:te@
# logging
log on
deflog on
logfile "${HOME}/screen/log/screen-%Y%m%d-%n.log"
# Show date and screen list
hardstatus alwayslastline "%{= rw} %H %{= wk}%-Lw%{= bw}%n%f* %t%{= wk}%+Lw %{= wk}%=%{= gk} %y/%m/%d %c "
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment