octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #49323] Readline library does not support vi-m


From: John W. Eaton
Subject: [Octave-bug-tracker] [bug #49323] Readline library does not support vi-mode correctly
Date: Wed, 12 Oct 2016 18:57:32 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0

Follow-up Comment #1, bug #49323 (project octave):

I don't see that behavior.  I created a ~/.inputrc file with the two lines


set editing-mode vi
set show-mode-in-prompt on


Then I'm starting Octave (stable build, HG ID = 96411a33f570) with
./run-octave -cli (so no GUI libs) and I see a + at the beginning of the
prompt.  Then if I type up arrow, it moves to the previous history line and
remains in insert mode with the cursor at the end of the line.  Using the left
arrow moves the cursor back toward the prompt (nothing is deleted) and I stay
in insert mode.  That makes sense to me as I just want to move around with the
arrow key and be ready to insert something.

Bash behaves the same way on my system.

I have libreadline 6.3-8+b4 on a Debian system.


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?49323>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]