Index | Thread | Search

From:
"Uwe Werler" <uwe@werler.is>
Subject:
Re: ksh: allow editing empty line with 'v' in vi-mode
To:
"Johannes Thyssen Tishman" <jtt@openbsd.org>, "Uwe Werler" <uwe@werler.is>, <tech@openbsd.org>, <kn@openbsd.org>
Date:
Fri, 31 Jul 2026 20:59:54 +0200

Download raw body.

Thread
  • Andy Bradford:

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

  • On Fri Jul 31, 2026 at 11:44 AM CEST, Johannes Thyssen Tishman wrote:
    > 2026-07-31T09:10:13+0000 Johannes Thyssen Tishman <jtt@openbsd.org>:
    >> 2026-07-30T22:55:18+0200 Uwe Werler <uwe@werler.is>:
    >> > and here's another one I once proposed:
    >> > 
    >> > https://marc.info/?l=openbsd-tech&m=166681423915767&w=2
    >> 
    >> 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?
    
    -- 
    With kind regards / Með bestu kveðju / Mit freundlichen Grüßen
    
    Uwe Werler
    
    
  • Andy Bradford:

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