tech_memo / screen


tech_memo

screenrc

vbell off
autodetach on

defhstatus screen@$HOSTNAME
msgminwait 0

startup_message off
#markkeys h=^B:l=^F:$=^E:^U=^Z:^D=^V
hardstatus alwayslastline "[%02c] %`%-w%{=b bw}%n %t%{-}%+w"

defutf8 on
#escape ^Zz
set wrap off

#------------------------------------------------------
# inhibit to change display size when starting screen.
#------------------------------------------------------
termcapinfo xterm-color 'is=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;4;6l'

#------------------------------------------------------
# Window resize : ctrl+A r --> resize mode
#------------------------------------------------------
bind r eval 'echo "Resize window"' 'command -c resize'
bind -c resize ^] command
bind -c resize j eval 'resize +1' 'command -c resize'
bind -c resize k eval 'resize -1' 'command -c resize'