Deutsch   English   Français   Italiano  
<eli$2504151928@qaz.wtf>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: news.eternal-september.org!eternal-september.org!feeder3.eternal-september.org!panix!.POSTED.panix5.panix.com!qz!not-for-mail
From: Eli the Bearded <*@eli.users.panix.com>
Newsgroups: comp.os.linux.misc
Subject: Re: Shell command history
Date: Tue, 15 Apr 2025 23:28:35 -0000 (UTC)
Organization: Some absurd concept
Message-ID: <eli$2504151928@qaz.wtf>
References: <vrsfkv$1md7d$1@dont-email.me> <vtd2o9$3ri7f$1@dont-email.me> <vtii2q$shgt$1@dont-email.me> <vtk2mi$295ku$3@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Injection-Date: Tue, 15 Apr 2025 23:28:35 -0000 (UTC)
Injection-Info: reader1.panix.com; posting-host="panix5.panix.com:166.84.1.5";
	logging-data="16895"; mail-complaints-to="abuse@panix.com"
User-Agent: Vectrex rn 2.1 (beta)
X-Liz: It's actually happened, the entire Internet is a massive game of Redcode
X-Motto: "Erosion of rights never seems to reverse itself." -- kenny@panix
X-US-Congress: Moronic Fucks.
X-Attribution: EtB
XFrom: is a real address
Encrypted: double rot-13

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()