www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/10/15/12:08:10

From: "A. Darrow" <msmsh AT freewwweb DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Newbie frustration: headers not found
Date: Fri, 15 Oct 1999 10:16:36 -0700
Organization: Posted via Supernews, http://www.supernews.com
Lines: 93
Message-ID: <s0eheel3hu230@corp.supernews.com>
References: <Pine DOT SUN DOT 3 DOT 91 DOT 991014103558 DOT 26124C-100000 AT is> <s0buirjhu270 AT corp DOT supernews DOT com> <7u63cg$aio$1 AT news DOT pa DOT net>
X-Complaints-To: newsabuse AT supernews DOT com
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2014.211
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Forgive me for belaboring what is probably obvious
to you, but how can a truncated DOS filename be
found by a program reference to a LFN? (e.g.
how will DJGPP find a file called streambuf.h,
the program reference, if it resides in dggpp\
lang\cxx as streambu.h?) Does Windows/DOS
automatically truncate the call?

Additionally, the documentation says the
recommended setup (use in a DOS box) should
work and it does not on my machine. I really
do not need the dual setup and I can only
be alarmed that LFN=y does not seem to work
on my system.

As an aside, my registry did not contain the
"NameNumericTail" binary but it did contain
the entry "PreserveLongNames"  ff ff ff ff.
If that  strikes a chord please let me know.


Deathray0 <webmaster AT romworld DOT findhere DOT com> wrote in message
news:7u63cg$aio$1 AT news DOT pa DOT net...
> Check here in the DJGPP FAQ:
> http://www.delorie.com/djgpp/v2faq/faq189.html
> This will tell you instructions on how to install djgpp on win95 and be
able
> to get the 8+3 names without the numeric tails.  You will also get the
> LFN's.
>
> --
> -----
> Deathray0
> webmaster AT romworld DOT findhere DOT com
> A. Darrow <msmsh AT freewwweb DOT com> wrote in message
> news:s0buirjhu270 AT corp DOT supernews DOT com...
> >
> > Eli Zaretskii <eliz AT is DOT elta DOT co DOT il> wrote in message
> > news:Pine DOT SUN DOT 3 DOT 91 DOT 991014103558 DOT 26124C-100000 AT is...
> > >
> > > On Wed, 13 Oct 1999, A. Darrow wrote:
> > >
> > > > STREAM~1 H          17,057  09-24-99 12:17a
> > >
> > > Your long file names were wiped out somehow: the above file name (and
> > > the rest of file names with those pesky ~1 numeric tails) clearly show
> > > that.  Here's what "dir stream*" says in my lang/cxx directory:
> > >
> > > Volume in drive C is SYSTEM
> > > Volume Serial Number is 3B3A-12D0
> > > Directory of C:\bin\gcc\lang\CXX
> > >
> > > stream   h           1,925  12-26-95  8:07p STREAM.H
> > > streambu h          17,020  01-24-96  2:11a streambuf.h
> > > 2 file(s)         18,945 bytes
> > > 0 dir(s)     692,125,696 bytes free
> > >
> > > Note the short 8+3 names on the left and long versions on the right.
> > > In your case, there are no long names.  However, the numeric tails
> > > suggest that there *were* long file names, they just got nuked.
> > >
> > > Did you copy this directory from another place using some DOS program
> > > that doesn't support long file names?  Or maybe you edited the
> > > directory with some disk-editing tool that doesn't support Windows 9X
> > > style long file names?  In any of these cases, Windows detects that
> > > the long file names and their short 8+3 aliases don't match, and nukes
> > > all the long names, leaving you with the short names only.
> > >
> > > The easiest solution for you is to remove the entire DJGPP
> > > installation (not only the lang/cxx directory), and then unzip it
> > > again with a program that supports long file names.  I suggest to use
> > > unzip32.exe that is available from the DJGPP sites.
> >
> > I beg to differ, the LFN's are still there according to
> > Diskedit they just don't show up in the DIR command
> > listing. Did you alter your dir command through
> > programming or a different DOS command interpreter?
> >
> > I tried unzip32 with the result that there were no LFN
> > entries at all, not even those pesky numeric tails. All
> > entries longer than the standard 8+3 were all truncated.
> >
> > e.g. streambuf.h  became streambu.h in both Win95 and
> > the DOS box.
> >
> > Oh this is just so much fun!!
> >
> >
>
>
>


- Raw text -


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