Re:Ask HN: Best Unix Tricks?
by JoelMcCracken on Tuesday September 08, 2009 @07:29AM
(#810703)
screen is infinitely useful.
[ Parent
| on HN ]
Yes, it is. I recommend remapping the standard C-a to C-z, as C-a acts as "jump to the beginning of line" in couple of shells, Emacs and Emacs clones.
I'm not sure that C-z is a great choice as it's often used for job control. I use C-o myself. I suppose you could always use C-z C-z if you wanted to suspend your current foreground process.
I settled with C-z as it is easy and fast to type with one hand. However I am occasionally too fast and hit C-z z instead of C-z C-z. 'fg' solves this.
as an emacs junkie I use backtick for my screen control. Works fine till you try to paste blocks of SQL containing loads of said backticks - easy way to fubar a screen session.
Perhaps its emacs' fault but finding an easy to use key or key combo that isn't already in use is far too hard!
I use ctrl-_ (aka ctrl-7).
Re:Ask HN: Best Unix Tricks?
by silentbicycle on Tuesday September 08, 2009 @10:51AM
(#811108)
tmux is good as well. Slightly different feature set, and its cleaner codebase means that it's more likely to get features that have been on screen's todo list for ages.