delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/11/11/19:19:04

Date: Mon, 11 Nov 2002 19:19:00 -0500
Message-Id: <200211120019.gAC0J0C19771@envy.delorie.com>
X-Authentication-Warning: envy.delorie.com: dj set sender to dj AT delorie DOT com using -f
From: DJ Delorie <dj AT delorie DOT com>
To: djgpp AT delorie DOT com
In-reply-to: <3DD042C2.D9AA3E50@lmco.nospam.com> (message from JMK on Mon, 11
Nov 2002 15:52:34 -0800)
Subject: Re: My NT installation wants '\' in the dir command
References: <B66B0B4BF675D411BDCF00508BE32B120C8D3834 AT emss01m06 DOT ems DOT lmco DOT com> <Xns92BFB5DA5F0DCasu1cornelledu AT 132 DOT 236 DOT 56 DOT 8> <3DCC16AF DOT C3FEB582 AT lmco DOT nospam DOT com> <Xns92C0B612450EEasu1cornelledu AT 132 DOT 236 DOT 56 DOT 8> <3DD00D18 DOT 4E4880F0 AT lmco DOT nospam DOT com> <200211112034 DOT gABKYke16497 AT envy DOT delorie DOT com> <3DD042C2 DOT D9AA3E50 AT lmco DOT nospam DOT com>
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> DJ Delorie?
> 
> I am honored!

Er, ok...

> Actually, my version of the documentation I read didn't specify ls or
> dir, just to check that the file unzipped was /include/sys/sysmacros.h,
> and that if you found sysmacro.h your unzip program didn't support long
> filenames. (the docs for v2.03).  But running ls yielded something with
> tilde's absent the ntlfn app.  Bottom line - it works. and I'm happy.

DJGPP programs either have LFN or they don't, depending on the OS.
The easiest way to get it right is to use djgpp's unzip32.exe, since
it does the same thing (wrt LFNs) as other djgpp programs will.

If you use some other unzip program, you need to (1) determine if LFNs
will be supported or not, (2) choose an unzip program that will do the
right thing, and (3) confirm (via dir) that the files extracted match
what you think DJGPP programs will be expecting.

In your case, you used a non-djgpp unzip program that supported LFNs,
but found that djgpp programs didn't.  Had you used djgpp's
unzip32.exe, you would have seen include/sys/sysmacro.h, and all the
djgpp programs would have worked fine without ntlfn.  Or, if you had
installed ntlfn before installing, djgpp's unzip would have detected
it and installed long-name files.

- Raw text -


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