y_ogagaga hiki  Index  Search  Changes  Login

y_ogagaga hiki - Gnu Screen Diff

  • Added parts are displayed like this.
  • Deleted parts are displayed like this.

! .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