www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/11/28/01:54:13

Date: Thu, 28 Nov 1996 08:49:35 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Weiqi Gao <weiqigao AT crl DOT com>
Cc: djgpp AT delorie DOT com
Subject: Re: Changing directories in BASH
In-Reply-To: <01bbdcca$a1c3f860$010200c0@weiqigao>
Message-Id: <Pine.SUN.3.91.961128084328.8104I-100000@is>
Mime-Version: 1.0

On 28 Nov 1996, Weiqi Gao wrote:

> 5.  Windows 3.1 won't start inside bash.

You shouldn't expect anything else.  When `bash' runs, your machine is in 
protected mode under a DPMI host, but Windows needs to install its own 
DOS extender and DPMI host.  So this will never, and should never, work.

> 6.  bash hangs after certain commands when started from inside Windows 3.1

Which ones?  Can you be more specific?

> Now if only someone can tell me how to bind the arrow keys to the bash
> history commands, I'd post the nifty bash Icon I draw yesterday!!!

AFAIK, `bash' uses the GNU `readline' library to read its input, and the 
DJGPP port of `readline' reads the keyboard in a way that doesn't know 
about the arrows and the rest of editing keys.  Without changing the way 
`readline' works on MSDOS, I guess the answer is: you can't.  (It is the 
same in GDB, btw.)  Somebody should sit down and improve the port of 
`readline', IMHO.

- Raw text -


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