Re:Mac OS X hidden features and nice tips & tricks
by graywh on Tuesday April 12, 2011 @10:21AM
(#2437291)
It's actually a Readline thing.
[ Parent
| on HN ]
Re:Mac OS X hidden features and nice tips & tricks
by CountSessine on Tuesday April 12, 2011 @11:10AM
(#2437510)
Something I've always wondered though - did emacs take them from readline or did readline take them from emacs? How old is readline? Where did all of those C-a, C-e, etc conventions come from?
Re:Mac OS X hidden features and nice tips & tricks
by mturmon on Tuesday April 12, 2011 @03:25PM
(#2438758)
They came from emacs. Readline is now around v6, readline v2 seems to have been from the mid 1990s.
There is a smaller set of standard commands for killing (C-h for char, C-w for word, C-u for line) which are used in many terminal apps. They are orthogonal to emacs, and probably about as old (1970s).
Re:Mac OS X hidden features and nice tips & tricks
by spudlyo on Tuesday April 12, 2011 @10:17PM
(#2440415)
Those emacs style editing commands actually came from TECO in the 70s. Crazy that those editing commands are hardwired into my brain nearly 40 years later.
Re:Mac OS X hidden features and nice tips & tricks
by spacemanaki on Tuesday April 12, 2011 @11:08AM
(#2437504)
Yeah, that makes sense. Still, my point was that it's not specific to Terminal.app, so someone on another Unix would probably find it useful.