delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/03/24/17:31:50

Date: Tue, 24 Mar 1998 16:56:09 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Xianyi Yang <yang AT ee DOT ualberta DOT ca>
cc: djgpp AT delorie DOT com
Subject: Re: TO: Eli Zaretskii
In-Reply-To: <6f7tlb$fri$1@pulp.ucs.ualberta.ca>
Message-ID: <Pine.SUN.3.91.980324164627.22871D-100000@is>
MIME-Version: 1.0

On 24 Mar 1998, Xianyi Yang wrote:

> Actually, I do have that file (streambuf.h is a LONG name. In the v2.0, 
> it is streambu.h, a SHORT name): 
> D:\DJGPP\lang\cxx>dir streambuf.h 
>  Volume in drive D is Taylor Project 
>  Volume Serial Number is F402-CEB0 
> 
>  Directory of D:\DJGPP\lang\cxx 
> 
> 08/02/98  11:28p                16,756 streambuf.h 
>                1 File(s)         16,756 bytes 
>                             374,984,704 bytes free 

Is this Windows 95 or NT?  This doesn't look like `dir' from Windows 95 
to me (it should have printed the short 8+3 name together with the long 
one).

If this is NT, then you cannot use long file names, as the NT DOS box 
doesn't support the long file name API used by DJGPP programs.

> I type "info" or "info gcc", it works. BUT: 
> E:\yang>info kb 'What Changed' Changes 
> Bad command or file name

Please chdir to your info subdirectory and type this from the DOS prompt:

	dir /x kb.*

then tell what it printed.

> Then I use: "Ctrl+C" try to stop it, it gives ERROR: 
> "Dr. Watson for Windows NT" in a new window, saying that: 
> "NTVDM.exe" ERROR. 

First, you don't need to type Ctrl-C: wait for about 15 seconds, and Info 
will exit normally.  It's a long story why does it wait for 15 seconds; 
you could call it a bug if you want.

And second: it seems that you *do* run on Windows NT.  If so, you cannot 
use long file names at all.  You will have to make sure all your 
DJGPP-related files have their 8+3 aliases that are proper truncations of 
the long names to the 8+3 limits.  NT usually attaches a numeric tail 
when it creates the 8+3 aliases, so streambuf.h is seen by DJGPP as 
something like stream~1.h instead of streambu.h.  (You can use "dir /x" 
to display the short names.)

The easiest way to make sure all files have correct 8+3 names is to 
delete the DJGPP installation and re-unzip it using an unzip program 
which does NOT support long names on NT.

- Raw text -


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