Sunday, September 11, 2005

.screenrc

my .screenrc

startup_message off
caption string "%{= dd}"
autodetach on
crlf off
deflogin off
hardcopy_append on
vbell on

silencewait 15
# change escape character to X. I use ^a for beginning of line
defescape ^Xx
escape ^Xx
activity "activity in %n (%t)"
bell "bell in %n (%t)"
vbell_msg " *beep* "

#terminfo screen '@7=\E[8%dm:kh=\E[7%dm'
#terminfo screen 'ka1=\e[7:kc1=\e[8'
#terminfo screen 'khome=\E[7~:kend=\e[8~:ka1=\e[7~:kc1=\e[8~'
termcapinfo xterm 'hs:ts=\E]2;:fs=\007:ds=\E]2;screen\007'
term xterm
defbce on

# Do not use xterms alternate window buffer.
# This does disable the scrollback buffer tho :(
#termcap xterm|xterms|xs ti=\E7\E[?47l
#terminfo xterm|xterms|xs ti=\E7\E[?47l

defscrollback 5000
bind a lockscreen
bind ^A lockscreen
defmonitor on

shell zsh
shelltitle '> |zsh'
#screen 2

bind o title
bind E title ""
bind u title (unknown)

bindkey -k k1 select 1
bindkey -k k2 select 2
bindkey -k k3 select 3
bindkey -k k4 select 4
bindkey -k k5 select 5
bindkey -k k6 select 6
bindkey -k k7 select 7
bindkey -k k8 screen $SHELL
bindkey -k k9 title

hardstatus on
caption always "[SCREEN->%w] -=|%m/%d/%Y(%c:%s/%a)|=-"
hardstatus lastline "-.:%w:. [%n = %h]"

Sunday, March 13, 2005

Screen

Screen must be the best software and my favorite software on the unix command line.

Eversince I was introduced to it, I can never live without it.

The software is so good, so cool. Many people is using it, but there's so little documentations about it.
(ok, maybe I am lazy in searching for it.)

well, I am going to start a blog on it, and share information on it. If you have tips on using it. Fell free to tell me.