From: locke AT mcs DOT net (Peter Johnson) Newsgroups: comp.os.msdos.djgpp Subject: Re: DJGPP w/long file name support Date: Thu, 16 Jan 1997 23:57:56 GMT Organization: BiLogic Lines: 41 Message-ID: <32dea940.9299842@news> References: Reply-To: locke AT mcs DOT net NNTP-Posting-Host: locke.pr.mcs.net Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp On Wed, 15 Jan 1997 11:40:00 GMT, Eli Zaretskii wrote: > >On Tue, 14 Jan 1997, Scott Blachowicz wrote: > >> and was wondering if anyone's done some work to get this to behave itself. >> In my case, the DOS 'dir' command sees the LFNs, but not the DJGPP make or >> find programs. What "LFN API" is that referring to? > >That's the LFN API exported by IFSMgr on Windows 95. These are functions >of Int 21h specifically designed to make long filenames to DOS programs >running from the DOS box. For instance, the LFN function for findfirst >is called by issuing Int 21h with AX=714Eh. > >If NT 4.0 supports Int 21h function 71A0h (Get Volume Info), then programs >compiled with DJGPP v2.01 will support LFN there automagically. If not, >somebody should find out how can a DOS program access LFN on NT (e.g., how >does NT Command.com does it when you type DIR?) and add that support to >low-level libc functions in DJGPP, or at least post the information so >others could add it. Mark Habersack and I are in the midst of working on a TSR that will implement the LFN 21h API under DOS 6.0/7.0. After completing that, we will go on to write a VXD that will implement it under WinNT (all versions). This should make many DJGPP users reluctant to move to NT willing to do so, and the TSR for DOS 6/7 might me a powerful thing to offer to prospective programmers. Anyone interested in it (once completed) please email me (locke AT mcs DOT net) or Mark (grendel AT ananke DOT amu DOT edu DOT pl). If you want to offer your assistance in testing or programming also please email one of us! ------------------------------------- Peter Johnson ------------------------------------- locke AT mcs DOT net http://locke.home.ml.org ------------------------------------- Freelance C/C++/Pascal/Asm programmer for DJGPP, Borland, and Watcom compilers Member of BiLogic demo group -------------------------------------