www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/06/08/18:48:03

From: "John M. Aldrich" <fighteer AT cs DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: DJGPP in DOS6.22 as well as Win95
Date: Mon, 08 Jun 1998 18:39:33 -0400
Organization: Two pounds of chaos and a pinch of salt.
Lines: 34
Message-ID: <357C6825.1825B1E0@cs.com>
References: <6lgfbg$ri9$1 AT antares DOT lu DOT erisoft DOT se>
NNTP-Posting-Host: ppp135.cs.net
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Martin Stromberg wrote:
> 
> Can I use the same directories for using DJGPP in DOS6.22 as well as
> Win95; and still have LFN in Win95?

Yes, but only under certain conditions.  Specifically, you need to set
up a certain registry key in Windows 95 that will disable the use of
numeric tails when generating the DOS 8+3 equivalents for long
filenames.  You must do this _before_ unzipping any of the DJGPP
packages that contain LFNs, such as Emacs or the gcc/gpp/lgp 2.8.x
packages.

Instructions for disabling numeric tails can be found in chapter 8.2 of
the DJGPP Frequently Asked Questions list (v2/faq210b.zip from SimTel
mirrors or online at http://www.delorie.com/djgpp/v2faq/).  Once the
setting has been changed, restart Win95 and unzip the DJGPP packages
with an LFN-aware unzipper.  Also make sure to SET LFN=Y in your Win95
environment.

There is another way, but it comes with inherent disadvantages; you can
completely ignore long filenames in both Win95 and plain DOS (unzip with
a non-LFN unzipper and make sure LFN=N always).  This method will work,
and has the advantage of simplicity, but you are forever giving up being
able to use long filenames in DJGPP programs.

If you have any questions, please post again!

-- 
---------------------------------------------------------------------
|      John M. Aldrich       | "If 'everybody knows' such-and-such, |
|       aka Fighteer I       | then it ain't so, by at least ten    |
|   mailto:fighteer AT cs DOT com   | thousand to one."                    |
| http://www.cs.com/fighteer |                 - Lazarus Long       |
---------------------------------------------------------------------

- Raw text -


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