y_ogagaga hiki  Index  Search  Changes  Login

Gnu Screen

.screenrc の基本設定

startup_message off
escape ^Tt
hardstatus alwayslastline "%w"
defscrollback 10000
defkanji utf-8
defencoding utf-8
encoding utf-8 utf-8

端末間でコマンド履歴を共有

~/.bashrc

function share_history {
   history -a
   history -c
   history -r
}
PROMPT_COMMAND='share_history'
shopt -u histappend
export HISTSIZE=9999
Last modified:2012/12/13 16:02:26
Keyword(s):
References:[Linux]