delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2003/06/27/09:16:35

Date: Fri, 27 Jun 2003 09:09:15 -0400
Message-Id: <200306271309.h5RD9FWE002892@envy.delorie.com>
From: DJ Delorie <dj AT delorie DOT com>
To: djgpp AT delorie DOT com
In-reply-to: <3efc1417$0$29013$9b622d9e@news.freenet.de> (bdeck@lycos.co.uk)
Subject: Re: dirent->d_name returns lowercase?
References: <3ef8c2c7$0$150$9b622d9e AT news DOT freenet DOT de> <2593-Wed25Jun2003075056+0300-eliz AT elta DOT co DOT il> <3ef9ebcd$0$149$9b622d9e AT news DOT freenet DOT de> <bdeepo$jik$1 AT nets3 DOT rz DOT RWTH-Aachen DOT DE> <3efc1417$0$29013$9b622d9e AT news DOT freenet DOT de>
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> This is just wrong. NT returns filename case correctly, from both the CMD
> and COMMAND prompts. You are probably refering to Windoze32 DOS-based
> thunking OSes. They are still DOS. NT is not DOS.

From DJGPP's point of view, NT *is* DOS, because NT doesn't provide
the long file name API to its dos emulation window.

> Do you actually have NT? I have yet to see NT return a directory list in all
> upper-case. A person who knows what he is doing might be able to change this
> default behavior, but then it's their own idea.

Any DOS program will return a directory list in all upper case on NT.

> I gave this some thought, too. But I would consider it wrong to disable a
> capability provided by the OS because of an intentional limitation of the
> programming tools.

Ah, here's the problem - the OS does *not* provide this capability in
its DOS compatibility box.

> Please also remember that many many PythonD users are *not* DJGPP users.
> Most letters I get come from folks that are having problems because they
> don't want DJGPP installed. Just Python. I am not a fan of telling my users
> that the need to rewrite all their packages because of stuff like this.

You could put one patch in the python binaries to set that variable,
instead of forcing your python users to cripple *all* their djgpp
programs.

- Raw text -


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