News for hackers. Stuff that matters.
Re:Ask HN: Best Unix Tricks? by JoelMcCracken on Tuesday September 08, 2009 @07:29AM (#810703)
screen is infinitely useful.
Re:Ask HN: Best Unix Tricks? by mcxx on Tuesday September 08, 2009 @09:21AM (#810879)
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.
Re:Ask HN: Best Unix Tricks? by spudlyo on Tuesday September 08, 2009 @10:21AM (#811036)
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.
Re:Ask HN: Best Unix Tricks? by mcxx on Tuesday September 08, 2009 @10:28AM (#811055)
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.
Re:Ask HN: Best Unix Tricks? by nagoff on Wednesday September 09, 2009 @04:32AM (#812756)
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!

Re:Ask HN: Best Unix Tricks? by graywh on Tuesday September 08, 2009 @10:20AM (#811031)
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.

http://tmux.sourceforge.net/