Hugh Sasse wrote:

>> either they need to be in termcap/terminfo or you need to bind them
>> yourself in .inputrc.  If the key sequence isn't bound, it will be
> 
> Either strategy is equally valid?  Well, I'm trying to get terminfo
> right.  

Sure, either way is OK from readline's perspective -- the end result is
identical.

> Then what is the correct behaviour when all is working?  
> Should I be able to move left with the arrow keys and then move
> far enough right to append, or should I have to hit <ESC><A>
> to append?

You should be able to move right when in command mode, but need to hit
ESC-a to go into append mode.  When in insert mode, you should be able
to move to the current end of line with the arrow keys, but those keys
will not insert characters.

Since vi is moded, you need a function to run to perform all of the
actions needed to put you into append mode from command mode.

Chet


-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                       Live Strong.  No day but today.
Chet Ramey, ITS, CWRU    [EMAIL PROTECTED]    http://cnswww.cns.cwru.edu/~chet/


_______________________________________________
Bug-bash mailing list
Bug-bash@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-bash

Reply via email to