This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PATCH: Readline for MinGW


Mark Kettenis wrote:

> Hmm, it looks like that readline simply hardcodes the ANSI sequences
> for these keys instead of consulting termcap.  

You didn't look hard enough.

Readline binds the termcap key sequences for the arrow keys, then, in
an attempt to be helpful, binds a few common arrow key prefixes to the
appropriate functions, if they're not already bound.

Chet
-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
( ``Discere est Dolere'' -- chet )
						Live...Laugh...Love
Chet Ramey, ITS, CWRU    chet@case.edu    http://cnswww.cns.cwru.edu/~chet/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]