Nice screenrc and common keystokes
I like to work with screen because I can easily switch between different virtual consoles and attach them somewhere else if needed. So here is how I setup my screenrc:
vbell off #Don't display the wuff wuff stuff
defutf8 on #Turn on UTF-8 by default
shelltitle "$ |bash" #Standard Shell title will be replaced by bash
caption always #I never use split view but like the caption
caption string "%{= wk}%w" #Show me all opened consoles with white on black
Add this to your .bashrc to get nice console names (usually the runnig programm):
export PROMPT_COMMAND='echo -ne "\ek\e\\"'
Here are the keystokes I use very often:
Create new console: ^A c
Get to next console: ^A n
Go to last console: ^A a
Go to specific console: ^A <consolenumber>
Deattach screen: ^A d
Comments
No new comments allowed (anymore) on this post.