X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f Date: Thu, 18 Dec 2003 18:33:09 +0200 From: "Eli Zaretskii" Sender: halo1 AT zahav DOT net DOT il To: djgpp AT delorie DOT com Message-Id: <8011-Thu18Dec2003183309+0200-eliz@elta.co.il> X-Mailer: emacs 21.3.50 (via feedmail 8 I) and Blat ver 1.8.9 In-reply-to: <3FE199FF.9060708@lml.ls.fi.upm.es> (message from Manuel Collado on Thu, 18 Dec 2003 13:13:51 +0100) Subject: Re: Detecting system features References: <3FE06890 DOT 6060006 AT lml DOT ls DOT fi DOT upm DOT es> <9003-Wed17Dec2003201922+0200-eliz AT elta DOT co DOT il> <3FE199FF DOT 9060708 AT lml DOT ls DOT fi DOT upm DOT es> Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > Date: Thu, 18 Dec 2003 13:13:51 +0100 > From: Manuel Collado > Newsgroups: comp.os.msdos.djgpp > > >>2. LFN support (I'm aware of _use_lfn. Any more?) > > > > What's wrong with _use_lfn? If you have specific problems with it, > > please ask specific questions. > > Please see below. I've read that, but I still don't understand why _use_lfn would not suffice. I think that is what you ned. > > We have _osmajor and _osminor for that. > > Thanks for this pointer. Can they effectively discriminate among the > different Windows flavors? (WinNT/Win2K/WinXP ...) No, not really: all Windows flavors of the NT family present themselves as DOS 5.5. Only Windows 9x and ME report correct DOS versions (7.x). However, the question is: do you at all care to distinguish between Windows 2000 and XP, and if so, why? > Please consider that the first part of the installer will be executed in > the bare target machine, not in a full working DJGPP environment. No problem here, you can simply bind your program with CWSDPMI. > I also asked about detecting internet services, because I plan to use a > Win32 version of the 'wget' utility (the same used by pakke) to download > the required archives during the installation process. I don't know how best to test that. Perhaps try invoking `ping' to ping some known Internet address.