Kaz Kylheku
2024-07-01 03:42:59 UTC
In 2015, I implemented a feature in the TXR Lisp Listener.
While recalling lines from history, you can use Ctrl-X Enter
to run a line, such that it will stay in the history and move
to the next line.
I had not seen this anywhere before that, nor anywhere since;
it was my independent idea.
TIL: GNU Readline introduced this in 2021 as Ctrl-O.
A comment in the code in misc.c says that it's from the Korn shell
(also as Ctrl-O there).
I see in ksh93 sources that it goes at least as far back as 2012,
possibly farther. (On their trunk, it appears in a giant patch bomb
commit from 2012 whose commit message list a huge swath of issues.)
While recalling lines from history, you can use Ctrl-X Enter
to run a line, such that it will stay in the history and move
to the next line.
I had not seen this anywhere before that, nor anywhere since;
it was my independent idea.
TIL: GNU Readline introduced this in 2021 as Ctrl-O.
A comment in the code in misc.c says that it's from the Korn shell
(also as Ctrl-O there).
I see in ksh93 sources that it goes at least as far back as 2012,
possibly farther. (On their trunk, it appears in a giant patch bomb
commit from 2012 whose commit message list a huge swath of issues.)
--
TXR Programming Language: http://nongnu.org/txr
Cygnal: Cygwin Native Application Library: http://kylheku.com/cygnal
Mastodon: @***@mstdn.ca
TXR Programming Language: http://nongnu.org/txr
Cygnal: Cygwin Native Application Library: http://kylheku.com/cygnal
Mastodon: @***@mstdn.ca