www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/05/29/09:00:32

From: mdruiter AT cs DOT vu DOT nl (Ruiter de M)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: cdecl 2.5 -- testing requested
Date: 29 May 1998 12:47:47 GMT
Organization: Fac. Wiskunde & Informatica, VU, Amsterdam
Lines: 39
Message-ID: <6kmapj$j54$1@star.cs.vu.nl>
References: <Pine DOT SUN DOT 3 DOT 91 DOT 980528194450 DOT 1138J-100000 AT is>
NNTP-Posting-Host: sloep54.cs.vu.nl
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Eli Zaretskii (eliz AT is DOT elta DOT co DOT il) wrote:
> Would someone please port Readline to DJGPP so that the ported
> version works like on Unix? Arrows and other PC-specific keys are
> one issue that should be resolved; the Alt key as a replacement for
> META is another.

OK, as I wrote before, I have taken the changes Daisuke Aoyama made to
Bash-1.14.7 (including his new tminit.c), applied them to
Readline-2.2 and fixed some problems/bugs.

I wrote Daisuke about my intention to send the patches to the
bash-maintainers, but I don't get any response from him. Also, I
wanted to see his Bash-2 patches first, to see about improvements.

> A few GNU packages use Readline for input, and it's a pity that I
> still need to press Ctrl-P instead of Up arrow in GDB. (I don't mind
> doing this, as I'm accustomed to these Ctrl keys, but many PC users
> aren't.)

I'll send the patches to the bash-maintainers now. They are also
available on http://www.cs.vu.nl/~mdruiter/rl22.dif (97K).

On MS-DOS, Readline doesn't need libtermcap.a/termcap.h any more.
Clear-screen and visual-bell are made to work with DJGPP. Screen
dimensions other than 80x25 are supported with DJGPP. The console
works as a dumb terminal on MS-DOS, the way it worked with Bash-1.14.7
if you don't have /etc/termcap (horizontal scrolling only). Also,
multibyte characters are supported (I guess, haven't tested it, just
copied it from Bash-1.14.7!). Alt-characters should work too,
especially with arrow keys.

Shall I make a README.DOS and compile a source/binary distribution for
the DJGPP FTP-site? Or is it enough to have GNU applying the patches?

-- 
Groeten, Michel.        http://www.cs.vu.nl/~mdruiter
  ____________
  \  /====\  /          "You know, Beavis, you need things that suck,
   \/      \/           to have things that are cool", Butt-Head.

- Raw text -


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