www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/04/03/23:03:05

From: Myknees <Myknees AT aol DOT com>
Message-ID: <c6342f89.352574f4@aol.com>
Date: Fri, 3 Apr 1998 18:46:58 EST
To: hartcore AT hotmail DOT com
Cc: djgpp AT delorie DOT com
Mime-Version: 1.0
Subject: Re: need help with LFN please...

In article <6g2p10$17ns$1 AT news DOT cc DOT ruu DOT nl>, "dan" <hartcore AT hotmail DOT com>
writes:
>Hi,
>
>I'd like to get into DJGPP and all it's wonderful stuff, like the GNU ports.
>I want to use it under plain DOS (msdos 6.22 / msdos 7.x / open (dr-) dos
>7.02),
>since I don't (want to) use win95.
>So, what's the trick on those Long File Names (LFN)? I noticed that a lot of
>files in the DJGPP 2.01 distribution have a LFN, especially the sources that
>come
>with it, but the precompiled binaries have 'em, too (look at perl54b.zip).
>
>I'd like to get rid of those LFN's completely as far as DJGPP+GNU-apps are
>concerned. BTW, is there any reason why DJ and his friends use LFN's in the
>distributions other than 'we forgot' or 'we haven't come to that yet'????
>
>Now, after reading Dejanews for a couple of hours I am a bit confused even
>more
>so. I know I can set 'LFN=y' or 'LFN=n', and when unzipping the distribution
>I
>should use a LFN-capable unzipper (unzip.exe does that, right?).

Yes, infozip's unzip does long filenames.

>So, it seems if I use LFN=n, LFN's just get truncated to 8.3. 

That's the djgpp programs makings sure that it's 8.3.

> With LFN=y I
>get
>ugly *~1.* names (tildes).

That's the djgpp programs using long filenames, meaning that MS-DOS must
truncate the short filename however it wants to.  The tildes-system is called
"numeric tails."  There is a section in the FAQ which talks about all this.
It describes how to turn off numeric-tails in the Win95 registry.  Of course,
you might not care if you hate W95.

As for the rest of your questions, I don't know.

--Ed (Myknees)

- Raw text -


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