1.
CTRL + A + ESC or CTRL + A + [ 進入copy mode
2.
You can use vi like commands to navigate through the scollback buffer.
3.
Copying Text
Once the cursor is at the beginning location, press SPACEBAR to set your first mark. Next navigate to the ending position and hit it again. The second SPACEBAR will set your end mark and exit copy mode. One neat and often useful feature is selecting a rectangle on the screen rather than full lines. Use c and C to set the left and right column margins to the cursor’s current location.
4.
Pasting
Pasting is easy, just hit CTRL+a to activate screen then ] to paste.
5.
CTRL + A + n: next window
CTRL + A + p: previous window
6.
screen -ls 列出所有sessions
CTRL + A + :quit 退出session
CTRL + A + K 退出session
CTRL + A + D Detach Session
6.
CTRL + A + H: 把目前的畫面以文字形式存在文字檔
沒有留言:
張貼留言