Index | Thread | Search

From:
Damien Miller <djm@mindrot.org>
Subject:
Re: Fix for vi editing mode in sftp(1) (PING)
To:
Walter Alejandro Iglesias <wai@roquesor.com>
Cc:
tech@openbsd.org
Date:
Tue, 20 Jan 2026 13:44:58 +1100

Download raw body.

Thread
  • Damien Miller:

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

  • 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?
    
    -d
    
    
  • Damien Miller:

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