Difference between revisions of "Screen notes"
From Noah.org
Jump to navigationJump to searchLine 7: | Line 7: | ||
* C-a p -- Previous screen | * C-a p -- Previous screen | ||
* C-a c -- Create New screen | * C-a c -- Create New screen | ||
− | * C-a esc -- Enter Copy/Scrollback mode (esc again to exit scrollback mode). Scrollback mode is very useful. Use Vi-like keys to move around the scrollback history (the usual h,j,k,l for cursor, C-u for half page UP, C-d for half page DOWN). | + | * C-a esc -- Enter Copy/Scrollback mode (esc again to exit scrollback mode). Scrollback mode is very useful. |
+ | ** Use Vi-like keys to move around the scrollback history (the usual h,j,k,l for cursor, C-u for half page UP, C-d for half page DOWN). | ||
+ | ** Press SPACE to start selecting a region. Press SPACE again to Yank the region. | ||
+ | ** Press "C-a ]" to paste the yanked text into the current screen. | ||
== .screenrc == | == .screenrc == |
Revision as of 19:13, 30 January 2008
Minimal GNU Screen
- C-a ? -- Show help
- C-a d -- Disconnect
- C-a n -- Next screen
- C-a p -- Previous screen
- C-a c -- Create New screen
- C-a esc -- Enter Copy/Scrollback mode (esc again to exit scrollback mode). Scrollback mode is very useful.
- Use Vi-like keys to move around the scrollback history (the usual h,j,k,l for cursor, C-u for half page UP, C-d for half page DOWN).
- Press SPACE to start selecting a region. Press SPACE again to Yank the region.
- Press "C-a ]" to paste the yanked text into the current screen.
.screenrc
This is the .screenrc I use. It isn't complicated, but it does show you clearly which screen you are attached to and I like the status bar that shows how to get help. This is a helpful failsafe for users that forget "C-a ?" :-)
Download .screenrc <include svncat src="file:///home/svn/src/dotfiles/.screenrc" highlight="sh" />