screenの強化を行う備忘録です。
ログの自動記録
$ mkdir screen.log
$ cat .screenrc
logfile /home/hoge/screen.log/screen-%n-%H-%y%m%d-%t.log
log on
deflog on
このようなファイル形式になります。
screen-0-huga-110403-zsh.log
10000行までスクロールバックできるようにする。
$ cat .screenrc
defscrollback 10000
かなり便利です。