screen快捷键【zz】
时间:2009-07-25 来源:sulpha
Key | Action | Notes |
Ctrl+a c | new window | |
Ctrl+a n | next window | I bind F12 to this |
Ctrl+a p | previous window | I bind F11 to this |
Ctrl+a " | select window from list | I have window list in the status line |
Ctrl+a Ctrl+a | previous window viewed | |
Ctrl+a S | split terminal horizontally into regions | Ctrl+a c to create new window there |
Ctrl+a :resize | resize region | |
Ctrl+a :fit | fit screen size to new terminal size | Ctrl+a F is the same. Do after resizing xterm |
Ctrl+a :remove | remove region | Ctrl+a X is the same |
Ctrl+a tab | Move to next region | |
Ctrl+a d | detach screen from terminal | Start screen with -r option to reattach |
Ctrl+a A | set window title | |
Ctrl+a x | lock session | Enter user password to unlock |
Ctrl+a [ | enter scrollback/copy mode | Enter to start and end copy region. Ctrl+a ] to leave this mode |
Ctrl+a ] | paste buffer | Supports pasting between windows |
Ctrl+a > | write paste buffer to file | useful for copying between screens |
Ctrl+a < | read paste buffer from file | useful for pasting between screens |
Ctrl+a ? | show key bindings/command names | Note unbound commands only in man page |
Ctrl+a : | goto screen command prompt |
up shows last command entered |
Caption 定制
caption 命令可以用于定制显示的 caption ,通过指定 always 参数,可以让 她始终显示,而不仅仅是在分割的时候才显示出来。显示的内容里面可以使用的 特殊命令详细请参见 screen 的 info 文档里面 String Escapes 一节。我在网 上看到一个好像是 FreeWizard@newsmth 的配置,非常不错:
caption always "%?%F%{-b 4w}%:%{-b bb}%? %H | %l | %m-%d %c |%?%F%{-b 4w}%?%L=%-Lw%45>%{-b w4}%n%f* %t%{-}%+Lw%-0<"
显示了时间、系统负荷以及各个窗口的标签等很实用的内容。
【zz自】http://lifegoo.pluskid.org/wiki/Screen.html
相关阅读 更多 +