[gnu.bash.bug] Bug in vi editing mode in readline library

dbrus.rjc@UCDAVIS.EDU (Ronald Cole) (01/11/90)

I noticed this in gdb-3.4 but this is probably the best place to send this.
If these bugs have been reported already, please bear with me.

Vi editing mode in the readline library is almost usable! :-)

In vi_keymap.c:
1. in the vi_insertion_keymap, Control-h needs to be defined to 'rl_rubout'
   to emulate Korn shell vi editing mode.
2. in the vi_movement_keymap, + and - are reversed from the Korn shell sense.

The documented syntax for controlling key bindings seems to neglect the fact
that vi mode has *3* different keymaps and appears to only allow you to alter
the vi_insertion_keymap after a 'set editing-mode vi'.  This prevents me from
solving #2 above in my ~/.inputrc file.

--
Ronald Cole               | uucp:     unify!rjc     voice: +1 916 920 9092 x734
Software Engineer II      | internet: csusac!unify!rjc@ucdavis.edu
Unify Corporation         +----------------------------------------------------
        "I've taken my mind apart and lost some of the pieces!" - Devo