www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/08/08/03:42:26

Date: Thu, 8 Aug 1996 10:37:52 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Jason Kridner <jdk AT ti DOT com>
Cc: djgpp AT delorie DOT com
Subject: Re: Any *good* ports of the GNU Readline Library?
In-Reply-To: <31FF8438.716@ti.com>
Message-Id: <Pine.SUN.3.91.960808103411.19168c-100000@is>
Mime-Version: 1.0

On Wed, 31 Jul 1996, Jason Kridner wrote:

> I downloaded the gdb sources for DJGPP to get a DJGPP version of the
> readline library.  My assumption was that since *everyone* must use
> gdb, that the readline port must be pretty good.  I guess that
> *everyone* does not use gdb, because there are some major limitations.
> For instance, I could not trap any of the arrow keys.  readline seems
> to completely ignore the "<ESC>[" at the beginning of every function
> key.  Also, it requires that you place the .inputrc file in a hard
> location.

Many people use GDB, but it turns out that most of them aren't bothered 
by the fact that they have to press Ctrl-P instead of up-arrow and 
Ctrl-B instead of left-arrow.  However, given enough motivation, it 
should be very easy to teach readline the PC-specific keys.  You just 
need to use the `getkey' or `getxkey' library functions and map the 
PC-specific keys into the keystrokes that `readline' understands.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019