News for hackers. Stuff that matters.
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).