www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/10/27/12:46:23

Newsgroups: comp.os.msdos.djgpp
From: "Mike Ruskai" <thanny AT spambegone DOT home DOT com>
Message-ID: <gunaalubzrpbz.f1hyic2.pminews@news.avnl1.nj.home.com>
References: <363532BA DOT 6FA0626F AT erols DOT com> <gunaalubzrpbz DOT f1gwzw0 DOT pminews AT news DOT avnl1 DOT nj DOT home DOT com> <7144gm$i1n$1 AT star DOT cs DOT vu DOT nl>
X-Newsreader: PMINews 2.00.1201 For OS/2
Organization: TLF
MIME-Version: 1.0
Subject: Re: C++ with DJGPP
Lines: 43
Date: Tue, 27 Oct 1998 17:42:13 GMT
NNTP-Posting-Host: 24.3.130.120
NNTP-Posting-Date: Tue, 27 Oct 1998 09:42:13 PDT
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

On 27 Oct 1998 09:41:42 GMT, Boon van der RJ wrote:

>Mike Ruskai <thanny AT spambegone DOT home DOT com> wrote:
>> The trick for you is to edit the djgpp.env file and change 'n' to 'y' for
>> long filenames, since the Win95 kludge allows for DOS programs to see long
>> names.
>
>Not the best advice. The canonical way to do it is to set LFN=y in
>your environment (autoexec.bat). Editing DJGPP.ENV is often awkward,
>and could get you in big problems. (although the +LFN=n is quite
>straightforward).

It's right at the top of the file.  Moreover, the instructions given on the
web page for downloading DJGPP explicitly say to edit that file for precisely
that purpose.  

On top of that, I find the notion of a text file edit being awkward rather
silly.  Especially when we're talking about a software package which entails
people editing text files before running the program.

>> A pretty stupid way to pack up the archive, if you ask me.  It should be
>> short names, period, with scripts to rename files and patch sources to use
>> long names.
>
>I don't think it should be like that. If you just use DOS an
>LFN-packed archive is OK. If you just use WIN95 an LFN-archive is even
>better. If you use both DOS and Win95 you should follow the FAQ. If
>you use OS2 you just have to know to unpack with PKUNZIP. IMHO it's
>always best to stick to the original as close as possible (what about
>a package that #includes streambuf.h directly, on a win95 system?)

You seem to be missing the point.  The script would rename the files and
correct the filenames in all #include's from the header files.  

Relying on the behavior of a dearchiver program is the Wrong Thing to do.


--
 - Mike

Remove 'spambegone' to send e-mail.


- Raw text -


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