kenkovlog

Haskell, Python, Vim, ...

screenはじめました

screenを使い始めました。

設定ファイルは次のようになりました。

# screen setting file ~/.screenrc
 
# set encoding
defencoding utf-8
# set escape character
escape ^x^x
# use 256 colors
term screen-256color
# set start message off
startup_message off
# hardstatus setting
hardstatus alwayslastline "%{=b kG} %-Lw%40L>%{b bg} %n %t %{-}%+Lw%-030=%{b km} %{.b} %Y/%m/%d %C:%s %A "
caption setting
caption always "%{=b wk} screen (%n: %t)"

次が設定ファイルを参考にしたサイトです。
設定ファイルの書き方がとても詳しく書かれています。
http://blog.remora.cx/2010/02/gnu-screen-2.html
http://www.ayu.ics.keio.ac.jp/~mukai/tips/screen.html

操作方法については、次のサイトが入門にはとてもよかったです。
http://www.dekaino.net/screen/