[ale] DJGPP questions

Ken Arromdee arromdee at rahul.net
Sat Nov 29 16:52:13 EST 2008


This isn't strictly Linux, but djgpp is related and I hope there's some
expertise here.  I have two problems, both under Windows XP:

1) Using bash in djgpp, when I look at the command history (^P, or esc-K with
set -o vi), the history is printed in a garbled fashion; for instance, if my
previous commands were pwd and ls, it might show "pwdls" instead of clearing
the line.  Putting ansi.sys in config.nt doesn't help.

2) How do I specify that ls should use colors, *without* running bash, and
without typing --color each time?  (Short of making "ls" a batch file which
calls the djgpp ls with the --color option).  I'd think there should be
something I can put in djgpp.env but I can't find anything.

Versions are:

	H:\djgpp>bash --version
	GNU bash, version 2.04.7(1)-release (i386-pc-msdosdjgpp)
	Copyright 1999 Free Software Foundation, Inc.

	H:\djgpp>ls --version
	ls (fileutils) 4.1
	Written by Richard Stallman and David MacKenzie.



More information about the Ale mailing list