gorn.ch

Tobias Ebnöther's personal blog

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
Related Entries:
NetNewsWire Lite vs Vienna memory usage
Living with Terminal.app
Fixing the delete key in Terminal.app
tail -f to growl
xchat on OSX / Command as alt
Comments (1)  Permalink

Comments

natech @ 28.01.2008 21:08 CEST
This post is great! been using this as a doc. Thanks.
No new comments allowed (anymore) on this post.
Powered by Flux CMS