Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!genrad!decvax!ucbvax!hplabs!tektronix!tekgen!tektools!jerryp From: jerryp@tektools.UUCP (Jerry Peek) Newsgroups: net.micro.pc,net.wanted.sources Subject: Re: How do I get a directory in MSC? Message-ID: <1357@tektools.UUCP> Date: Fri, 8-Aug-86 10:34:50 EDT Article-I.D.: tektools.1357 Posted: Fri Aug 8 10:34:50 1986 Date-Received: Mon, 11-Aug-86 03:08:39 EDT References: <221@killer.UUCP> <1045@ihlpl.UUCP> <536@ecn-pc.UUCP> Reply-To: jerryp@tektools.UUCP (Jerry Peek) Organization: Tektronix, Inc., Beaverton, OR. Lines: 22 Xref: watmath net.micro.pc:9553 net.wanted.sources:2634 In article <536@ecn-pc.UUCP>, sandersr@ecn-pc.UUCP (Robert C Sanders) writes: > The following is program that I picked off a C Language Fido-Net BBS in the > New Jersey area. I have easily compiled it under the Computer Innovation's > C86 compiler, but I have friends that have ported it to MS C, Aztec C, and > Latice C, all with little or no problems. Try several of the options. The > comments document the program. It is also good learning in several of the > DOS interupt calls. I guess I don't know enough about the DOS interrupt calls, because I couldn't make Robert's "ls" program run under Microsoft C on my IBM PC. The problem was the sysint() calls -- and, I think, the definition of the structure r in several of the functions [I really *am* a novice at DOS! :-)]. Has anyone ported this version of "ls" to Microsoft C? If so, would you mail me a copy (or post it, if there's enough demand)? Thanks... --Jerry Peek, Tektronix, Inc. US Mail: MS 74-222, P.O. Box 500, Beaverton, OR 97077 uucp: {allegra,decvax,hplabs,ihnp4,ucbvax}!tektronix!tektools!jerryp CS,ARPAnet: jerryp%tektools@tektronix.csnet Phone: +1 503 627-1603