News for hackers. Stuff that matters.
Re:What typing ^D does on Unix (2009) by y04nn on Tuesday September 06, 2016 @04:41PM (#12439139)
Something I use extensively in terminals is ^L and ^M. ^L clear the screen and ^M for a line return.
Re:What typing ^D does on Unix (2009) by saunders91 on Tuesday September 06, 2016 @04:52PM (#12439214)
May I ask why you find more convenient to press ^M for a line return instead of the line return key?
Re:What typing ^D does on Unix (2009) by Lio on Wednesday September 07, 2016 @03:46AM (#12441505)
As someone else who also uses ^M for line return here's my reason.

I have the Caps key mapped to control, so ^M is 2 small finger movements as opposed to reaching for the return key which means either moving my (weak in my case) right wrist or moving my whole right forearm. It's a small movement to the return key but I find eliminating it really helps to reduce strain related pain when typing.

I also use ^H for backspace and ^I for tab for similar reasons. This also keeps my fingers on the home row.

Re:What typing ^D does on Unix (2009) by philsnow on Tuesday September 06, 2016 @04:56PM (#12439235)
I'm not proud of this, but I sometimes bounce between ^N (next-line in emacs) and ^I (tab character, bound to various thing in different emacs modes) to re-indent a region. I usually only do this for <10 lines. More than that and I go look up the function that does it 'right'.
Re:What typing ^D does on Unix (2009) by knorker on Tuesday September 06, 2016 @08:58PM (#12440334)
Why not proud? Sounds fast and efficient. I didn't save the move of the hand to the tab key, but I will now. Thanks.