annotate screenrc @ 16:457d7aa2cb2f default tip

from oleander PowerBookG4.
author kent <kent@cr.ie.u-ryukyu.ac.jp>
date Fri, 12 Mar 2010 16:58:46 +0900
parents 1dec272d7d09
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
6d5c73fe5744 Go over to mercurial from CVS.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1
6d5c73fe5744 Go over to mercurial from CVS.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
2 escape ^t^t
6d5c73fe5744 Go over to mercurial from CVS.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
3 # メッセージ行の表示
6d5c73fe5744 Go over to mercurial from CVS.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
4 #hardstatus alwayslastline "%H[%n] [%w]%=SCREEN%="
6d5c73fe5744 Go over to mercurial from CVS.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
5 hardstatus alwayslastline "%-Lw%{= BW}%50>%n%f* %t%{-}%+Lw%<"
6d5c73fe5744 Go over to mercurial from CVS.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
6 #hardstatus alwayslastline "%?%F%{.R.}%?%3n %t%? [%h]%?"
6d5c73fe5744 Go over to mercurial from CVS.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
7 # ハングアップの際に、自動的にデタッチする。しないと全てのプロセスにシグナルが送られる
6d5c73fe5744 Go over to mercurial from CVS.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
8 autodetach on ##デフォルト on
6d5c73fe5744 Go over to mercurial from CVS.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
9 # ベル文字がbackgroundのwindowに送られるとメッセージ行に通知
6d5c73fe5744 Go over to mercurial from CVS.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
10 bell_msg "bell文字がwindow %nに出力されました"
6d5c73fe5744 Go over to mercurial from CVS.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
11 # screenのカレントディレクトリ
10
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
12 #chdir
0
6d5c73fe5744 Go over to mercurial from CVS.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
13 # 無操作時の動作
6d5c73fe5744 Go over to mercurial from CVS.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
14 #idle 10 blanker
6d5c73fe5744 Go over to mercurial from CVS.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
15
13
1dec272d7d09 zshrc: change prompt
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents: 10
diff changeset
16 # key bindings
1dec272d7d09 zshrc: change prompt
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents: 10
diff changeset
17 bind ^] paste .
0
6d5c73fe5744 Go over to mercurial from CVS.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
18
6d5c73fe5744 Go over to mercurial from CVS.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
19
6d5c73fe5744 Go over to mercurial from CVS.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
20 # C-a a C-a を端末に送る
6d5c73fe5744 Go over to mercurial from CVS.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
21
6d5c73fe5744 Go over to mercurial from CVS.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
22 ## リージョン分割
6d5c73fe5744 Go over to mercurial from CVS.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
23 # C-a S リージョンを上下に分ける
6d5c73fe5744 Go over to mercurial from CVS.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
24 # C-a [tab] リージョンを切り替える
6d5c73fe5744 Go over to mercurial from CVS.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
25 # C-a Q 他のリージョンを消す
6d5c73fe5744 Go over to mercurial from CVS.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
26 # C-a X 現在のリージョンを消す
6d5c73fe5744 Go over to mercurial from CVS.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
27 # C-a F windowをリージョンをサイズにresizeする
6d5c73fe5744 Go over to mercurial from CVS.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
28
6d5c73fe5744 Go over to mercurial from CVS.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
29 ## window変更
6d5c73fe5744 Go over to mercurial from CVS.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
30 # C-a C-a 直前のwindowとtoggle
6d5c73fe5744 Go over to mercurial from CVS.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
31 # C-a number number n のwindowに変更
6d5c73fe5744 Go over to mercurial from CVS.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
32 # C-a n 次のwindowに変更
6d5c73fe5744 Go over to mercurial from CVS.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
33 # C-a {h|p} 前のwindowに変更
6d5c73fe5744 Go over to mercurial from CVS.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
34 # C-a w windowのリストを表示
6d5c73fe5744 Go over to mercurial from CVS.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
35
6d5c73fe5744 Go over to mercurial from CVS.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
36 ## copy/paste
6d5c73fe5744 Go over to mercurial from CVS.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
37 # C-a esc copyモードin
6d5c73fe5744 Go over to mercurial from CVS.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
38 # C-a [ copyモードin
6d5c73fe5744 Go over to mercurial from CVS.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
39 # [Enter] copy-start
6d5c73fe5744 Go over to mercurial from CVS.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
40 # [Enter] copy-end
6d5c73fe5744 Go over to mercurial from CVS.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
41 # C-a ] paste
6d5c73fe5744 Go over to mercurial from CVS.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
42
6d5c73fe5744 Go over to mercurial from CVS.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
43 ## 再アタッチ
6d5c73fe5744 Go over to mercurial from CVS.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
44 # screen -r [pid.tty.host] 他の端末がディタッチされてないといけない
6d5c73fe5744 Go over to mercurial from CVS.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
45 # screen -dr 他の端末をディタッチして再アタッチ
6d5c73fe5744 Go over to mercurial from CVS.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
46 # screen -x マルチセッション
6d5c73fe5744 Go over to mercurial from CVS.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
47
6d5c73fe5744 Go over to mercurial from CVS.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
48 ## ディタッチ
6d5c73fe5744 Go over to mercurial from CVS.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
49 # screen -d [pid.tty.host]
6d5c73fe5744 Go over to mercurial from CVS.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
50 # C-a d
6d5c73fe5744 Go over to mercurial from CVS.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
51
6d5c73fe5744 Go over to mercurial from CVS.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
52 ## pid.tty.host形式でセッションを表示
6d5c73fe5744 Go over to mercurial from CVS.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
53 # screen -ls | -list
6d5c73fe5744 Go over to mercurial from CVS.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
54
6d5c73fe5744 Go over to mercurial from CVS.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
55