Article View: gnu.bash.bug
Article #1128Bug in vi editing mode in readline library
From: Ronald Cole
Date: Wed, 10 Jan 1990 20:42
Date: Wed, 10 Jan 1990 20:42
20 lines
1433 bytes
1433 bytes
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
Technical Details
Message-ID:
<9001102042.AA22558@dbrus>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!UCDAVIS.EDU!csusac!unify!dbrus.rjcShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!UCDAVIS.EDU!csusac!unify!dbrus.rjc From: csusac!unify!dbrus.rjc@UCDAVIS.EDU (Ronald Cole) Newsgroups: gnu.bash.bug Subject: Bug in vi editing mode in readline library Message-ID: <9001102042.AA22558@dbrus> Date: 10 Jan 90 20:42:59 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 20