Date: Tue, 24 Mar 1998 16:56:09 +0300 (IDT) From: Eli Zaretskii To: Xianyi Yang cc: djgpp AT delorie DOT com Subject: Re: TO: Eli Zaretskii In-Reply-To: <6f7tlb$fri$1@pulp.ucs.ualberta.ca> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk 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.