In comp.os.linux.misc, Lawrence D'Oliveiro <
ldo@nz.invalid> wrote:
On Mon, 14 Apr 2025 09:47:22 +0100, Nuno Silva wrote:
Oh, I didn't know Emacs edit mode was that common, which other shells
support it besides GNU bash?
It’s not the shell specifically that supports it, remember. It’s actually
Well akshuly. In ksh it is built into the shell, not gnu. That's how I
used it with the shells on HP-UX and Solaris.
It’s not the shell specifically that supports it, remember. It’s actually a separate library called GNU readline, that is also used by a lot of
other software.
Gnu readline is used in bc(1), for example, which lets me have have vi
mode there, but it has also caused the bc developers to lose the ability
to have blank lines from a user hitting enter twice.
I complained to
bug-bc@gnu.org in 2022 about this and got back a reply
from Phil Nelson:
| This appears to be a GNU Readline issue. Readline never sends the
| blank line to bc. I've tried to track it down, but with no success.
Elijah
------
can't think of any other programs where he encounters readline()
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)