.screenrcだよ

僕がよく使う設定残します。いろんなサイトから引っ張りだしてます。

  • 一応インストール方法
yum install screen
※使用しているディストリビューションはCentOSです
  • .screenrc
escape ^t^t #エスケープをCtrl+tに変更します。
hardstatus alwayslastline "%{=r dd} %-w%{=b dd} %n %t %{-}%+w %=" #画面の下に現在の時間とウインドウをタブみたいに表示
bind w windowlist -b #windowの一覧表示
defscrollback 10000 #scrollを10000行行えるようにする
bind 2 split #画面分割
bind o focus #画面移動
bind 1 only #一画面に戻す
bind 0 remove #画面削除
bind r eval ‘echo “Resize window”‘ ‘command -c resize’ #Ctrl+trで分割した画面サイズを変更。
bind -c resize ^] command 
bind -c resize j eval ‘resize +1′ ‘command -c resize’ #jで1行大きく
bind -c resize k eval ‘resize -1′ ‘command -c resize’ #kで1行小さく
vbell off #警告オフ
#caption always

shell bash

startup_message off #スタートアップメッセージを表示しない
sorendition 7 74 #画面の下に表示するタブの色調整

export TERM=xterm