Posts Tagged ‘screen’
#caption always “%{= wk} %{= KY} [%n]%t @ %H %{-} %= %{= KR} %l %{-} | %{= KG} %Y-%m-%d %{-} ”
#hardstatus alwayslastline ” %-Lw%{= Bw}%n%f %t%{-}%+Lw %=| %0c ”
hardstatus alwayslastline “%-Lw%{= Bw}%n%f %t%{-}%+Lw”
未整理 – Richliu’s wiki
在 /usr/local/etc/screenrc 或 ~/.screenrc 裡加上 defencoding big5。「不要」加 defutf8 on,因為這樣待會兒可以省一步。:p
登入時用 screen -U。(和 screen 的 attach/detach 功能一起用,就是 screen -DRU 囉!)
如果 screenrc 裡加了 defutf8 on,那多半得再打 ctrl a :encoding big5 utf8。 o 我打了 ctrl a :encoding big5 utf8,怎麼沒反應? 請打 ctrl l 重繪螢幕。
在 screen 裡顯示 vi 正在編輯的檔案
Posted in Programming, Shell Script, Unix by jeffhung @ August 16th, 2007
Rafan 在問,怎樣在 screen 裡顯示 ssh 出去的 hostname。這個以前我有搞過類似的:在 screen 裡顯示 vi 正在編輯的檔案。
