www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1999/05/19/04:53:28

Message-Id: <m10k26D-0006NpC@galjas.cs.vu.nl>
Date: Wed, 19 May 99 10:53:13 MET DST
From: Michel de Ruiter <mdruiter AT cs DOT vu DOT nl>
To: djgpp-workers AT delorie DOT com
Subject: Re: gdb 4.18 for DJGPP (alpha)
Reply-To: djgpp-workers AT delorie DOT com

In your letter dated Wed, 19 May 1999 10:25:52 +0300 (IDT), you wrote:
> > All that is
> > really needed is building bare GNU termcap and Readline for DJGPP and
> > not providing any /etc/termcap, resulting in a dumb terminal.
> I'm not sure I understand.  Using termcap will not solve all the
> problems (at least those I have in mind), unless you either disable
> usage of termios or modify termios to map the PC editing keys to the
> escape sequences that readline expects.  Otherwise, we will still have
> to live with Ctrl-F and Ctrl-D instead of Right-arrow and DEL (I
> personally don't mind, but many PC users do).

This has nothing to do with the GO32-defines, used to support more
than a dumb terminal. The termios_enable_function_and_arrow_keys or
whatever it is called activates the PC editing keys IIRC. Currently,
the application that *uses* Readline should call it. You could also
look at the Readline 4.0 in Mark's (beta) Bash 2.03 port.

> > The (old) Readline zips on Simtelnet contains most changes IIRC,
> > applied by someone else (because I was too lazy to build them :),
> > based on http://www.cs.vu.nl/~mdruiter/rl22.dif .
> I looked at the package on SimTel and will try to incorporate most of
> its changes (with the exception of the multibyte support) into GDB's
> version of readline.

Maybe gdb should be upgraded to Readline 4.0, which can be found in
Bash. I also stripped the multibyte support from the patch to 4.0 I
sent to Chet Ramey recently, because I don't know anything about it.

I have put my mail to Chet on http://www.cs.vu.nl/~mdruiter/rl40.dif
now, for whoever is interested.

Hope this helps.

Groente, Michel.

- Raw text -


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