delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/04/21/16:30:10

From: rpolzer AT durchnull DOT de (echo 'Rudolf Polzer'>/dev/null)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: DJGPP Newbie Questions
References: <sTPD6.7890$hH3 DOT 710003 AT bgtnsc04-news DOT ops DOT worldnet DOT att DOT net> <1659-Sat21Apr2001210001+0300-eliz AT is DOT elta DOT co DOT il>
X-newsgroup: comp.os.msdos.djgpp
X-realname: Eli Zaretskii
X-Ringtones: http://ringtones AT durchnull DOT de
X-Original: no
Message-ID: <slrn9e3lvs.gv7.rpolzer@www42.t-offline.de>
User-Agent: slrn/0.9.6.3 (Linux)
Date: Sat, 21 Apr 2001 20:57:00 +0200
Lines: 36
NNTP-Posting-Host: 213.7.26.146
X-Trace: 987884459 news.freenet.de 29313 213.7.26.146
X-Complaints-To: abuse AT freenet DOT de
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Eli Zaretskii <eliz AT is DOT elta DOT co DOT il> wrote:
> > From: "Repugnant" <repugnant2k AT hotmail DOT com>
> > Newsgroups: comp.os.msdos.djgpp
> > Date: Fri, 20 Apr 2001 05:34:16 GMT
> > 
> > Whats a good Internet resource for programming DOS programs with DJGPP?
> 
> Try the User's Guide page of DJ Delorie's server
> (http://www.delorie.com/djgpp/ug/).
> 
> > for instance, in Win32 I can call the FindFirstFile function to do a
> > file search, what would the equivalent be in DOS?
> 
> Use `findfirst'.
> 
> > Also, how do I enable long filename support under DOS?
> 
> You need to install a TSR that supports the special LFN API used by
> DJGPP library functions to access long file names.  One such TSR is
> mentioned in the DJGPP FAQ list (see section 3.3).
> 
> > I'm using Win98 DOS in true DOS mode, not as a command box inside of
> > Windows
> 
> Why can't you use a DOS box on top of Windows?  Why do you need to go
> to the DOS mode?  Staying on Windows would give you long file names
> automatically.

And you have a better chance of not having to reboot after your 
application crashes.

-- 
#!/usr/bin/perl -W -- WARNING: This copies a random file from
use strict;my$s;my$n=0;for # the  current  directory  to your 
(<*>){++$n;int rand$n or$s # signature  file.   Use  at  your
=$_};`cp $s ~/.signature`; # own risk! (c) 2001 Rudolf Polzer

- Raw text -


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