R.A. Epigonos et al.

[screen] defnonblockを有効化する。

/etc/screenrcの新旧比較をしたら、新しいオプション(defnonblock)が新しい設定ファイルで有効になっていた。debianのBTSに投稿された情報によると、irssiとかopensshを使うユーザにとっては必要な設定のようだ。また、この設定を有効してデフォルトのscrrenrcを提供するべきだという提案にOKが出されている。この設定がない状態で両方のソフトを使い続けているけど、特に問題はない。それでも設定は追加しておく。

今までのファイルと、新しく提供されたファイルを比較すると、以下のようになる。

# diff /etc/screenrc{,.dpkg-dist}
90a91,93
> # Enable non-blocking mode to better cope with flaky ssh connections.
> defnonblock 5
>

結局完全に設定をマージした。設定項目だけ抜き出すと以下のようになる。

# grep -v '^$' /etc/screenrc | grep -v '#'
deflogin on
vbell on
vbell_msg "   Wuff  ----  Wuff!!  "
defscrollback 1024
bind ^k
bind ^\
bind \\ quit
bind K kill
bind I login on
bind O login off
bind } history
termcapinfo vt100 dl=5\E[M
hardstatus off
termcapinfo xterm*|rxvt*|kterm*|Eterm* hs:ts=\E]0;:fs=\007:ds=\E]0;\007
hardstatus string "%h%? users: %u%?"
termcapinfo xterm*|linux*|rxvt*|Eterm* OP
termcapinfo xterm 'is=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;4;6l'
defnonblock 5

リファレンス

  1. #434014 - Screen should ship with "defnonblock 5" by default - Debian Bug report logs
  2. GNU screen [commands:defnonblock]
  3. GNU screen [commands:nonblock]

ソーシャルブックマーク

  1. はてなブックマーク
  2. Google Bookmarks
  3. del.icio.us

ChangeLog

  1. Posted: 2009-10-13T05:49:00+09:00
  2. Modified: 2009-10-13T05:49:00+09:00
  3. Generated: 2023-08-27T23:09:11+09:00