Re: ksh: allow editing empty line with 'v' in vi-mode

"Uwe Werler" <[email protected]> Fri, 31 Jul 2026 20:59:54 +0200
Newsgroups gmane.os.openbsd.tech
Message-ID <[email protected]>
On Fri Jul 31, 2026 at 11:44 AM CEST, Johannes Thyssen Tishman wrote:
> 2026-07-31T09:10:13+0000 Johannes Thyssen Tishman <[email protected]>:
>> 2026-07-30T22:55:18+0200 Uwe Werler <[email protected]>:
>> > and here's another one I once proposed:
>> >=20
>> > https://marc.info/?l=3Dopenbsd-tech&m=3D166681423915767&w=3D2
>>=20
>> I think it makes sense not to save empty lines in history, so ok jtt@
>> for the diff in the above archived thread. Given that there were no
>> objections, I can commit if kn@ is still ok with it.
>
> Actually I take this back. Allowing empty commands in history is
> necessary to use ^[v with empty lines.

Why? I run my ksh with these patches without any problems?

--=20
With kind regards / Me=C3=B0 bestu kve=C3=B0ju / Mit freundlichen Gr=C3=BC=
=C3=9Fen

Uwe Werler