Add .screenrc.
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/.screenrc Thu Dec 31 21:44:59 2009 +0900
1.3 @@ -0,0 +1,21 @@
1.4 +defencoding eucJP
1.5 +escape ^t^t
1.6 +#hardstatus alwayslastline "[%02c] %`%-w%{=b bw}%n %t%{-}%+w"
1.7 +hardstatus alwayslastline "%`%-Lw%{=b bw}%40L>%n%f %t%{-}%+Lw%<"
1.8 +startup_message off
1.9 +autodetach on
1.10 +vbell off
1.11 +shell zsh
1.12 +
1.13 +bind s colon 'screen ssh -X '
1.14 +bind -c REGION 2 split
1.15 +bind -c REGION o focus
1.16 +bind -c REGION 1 only
1.17 +bind -c REGION 0 remove
1.18 +bind x command -c REGION
1.19 +
1.20 +bind -c ENCODING e eval 'encoding eucJP' 'echo "Encoding: eucJP"'
1.21 +bind -c ENCODING s eval 'encoding SJIS' 'echo "Encoding: shift_jis"'
1.22 +bind -c ENCODING j eval 'encoding jis' 'echo "Encoding: iso-2022-jp"'
1.23 +bind -c ENCODING u eval 'encoding UTF-8' 'echo "Encoding: utf-8"'
1.24 +bind e command -c ENCODING