TIP: Click on subject to list as thread! ANSI
echo: c_echo
to: Jasen Betts
from: Winston Smith
date: 2003-07-05 05:01:32
subject: Re: dos2unix

Re: Re: dos2unix
  By: Jasen Betts to Winston Smith on Fri Jul 04 2003 08:44 pm

 >  WS> Huh?  Why write C code for UNIX when you have source you can use
 >  WS> (at least for the "open", non-proprietary versions).  As for
 >  WS> MessyDOS and "findfirst()" ?  Well, I have yet to
try it under GNU
 >  WS> GCC.
 > 
 > DJGPP ( = GCC for dos) has findfirst and also emulates the unix directory
 > reading API.
 > 
 > there may be findfirst emulations available for porting dos apps to unix.
 > 
 > there is some portable directory reading code in snippets.
 
I have several flavors of LS emulator, everything from DOSNIX to XANADU, but
what I am looking for is a STAT or DIR command that returns the directory entry
"Peter Norton" style A LA the PCSHELL / Norton Utility style of
what file info
is actually there, rather than the sad little command that MS-DOS gives you, or
the UNIX-style stat() commands that return with half of their fields empty
nulls (A LA DOS PERL, for example).
--- SBBSecho 2.00-Win32
* Origin: Tuneman BBS -- Manville, RI Tunemanbbs.mine.nu (1:323/981)
SEEN-BY: 633/267 270
@PATH: 323/981 132/500 10/345 106/1 2000 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.