Index | Thread | Search

From:
Stuart Henderson <stu@spacehopper.org>
Subject:
Re: Fix for vi editing mode in sftp(1) (PING)
To:
Damien Miller <djm@mindrot.org>
Cc:
Walter Alejandro Iglesias <wai@roquesor.com>, tech@openbsd.org
Date:
Tue, 20 Jan 2026 09:28:59 +0000

Download raw body.

Thread
  • Damien Miller:

    Fix for vi editing mode in sftp(1) (PING)

  • On 2026/01/20 13:44, Damien Miller wrote:
    > On Mon, 19 Jan 2026, Walter Alejandro Iglesias wrote:
    > 
    > > On Sun, Dec 21, 2025 at 11:49:36AM +0100, Walter Alejandro Iglesias wrote:
    > > > Currently vi editing mode doesn't work in sftp(1), only emacs.  Since
    > > > editline(3) support is already included in sftp, it doesn't hurt to make
    > > > it fully work, right?
    > > > 
    > > > To test it you need this:
    > > > 
    > > >   $ cat ~/.editrc
    > > >   sftp:bind -v
    > 
    > how does it support vi editing with this patch if EL_EDITOR is still
    > unconditionally set to "emacs"? Does editrc override this?
    
    yes
    
    
  • Damien Miller:

    Fix for vi editing mode in sftp(1) (PING)