🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.micro.pc
Article #7069

Re: Silly question (accessing /)

#7069
From: Matthew J Weinstein
Date: Tue, 01 Jul 1986 02:55
25 lines
1790 bytes
liz@unirot.UUCP asked about getting to directories in DOS.  There is a set
of routines that emulates the 4.2BSD directory library routines.  These
were written from the interface description, and there are some fields that may
not correspond exactly (inode number, anyone?).  These routines compile with MS
C 3.0, and were tested under DOS 2.11, and less thoroughly under 3.1.
No guarantees about 3.2... (the hacking involved emulating seekdir()
using DOS's FCBs).

The directory routines attempt to make sense out of pathnames like `/.'
and `/..' and combinations thereof (`/.././..'), by mapping them to
root.  May not be right for networks (? is there a hyper-root on some
of the PC networks)..  I think simple drive syntax is recognized too..
(I hope I did that).

I wrote these routines because I detest the DOS interface, and prefer
something portable.

The routines are stored at ISIB in the <INFO-IBMPC> directory.  If there is 
any interest in a net posting, EMail directly ... don't post requests 
(even if your mailer bounces the message, you are probably well represented).

As always, improvements and bugfixes are welcome.

				- Matt
				{backbone}!ucla-cs!matt
Technical Details
Message-ID: <16857@ucla-cs.ARPA>
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!burl!ulysses!allegra!princeton!caip!nike!ucbcad!ucbvax!hplabs!sdcrdcf!ucla-cs!matt
References: <789@unirot.UUCP> <530@ecn-pc.UUCP>

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!burl!ulysses!allegra!princeton!caip!nike!ucbcad!ucbvax!hplabs!sdcrdcf!ucla-cs!matt
From: matt@ucla-cs.ARPA (Matthew J Weinstein)
Newsgroups: net.micro.pc
Subject: Re: Silly question (accessing /)
Message-ID: <16857@ucla-cs.ARPA>
Date: Mon, 30-Jun-86 22:55:12 EDT
Article-I.D.: ucla-cs.16857
Posted: Mon Jun 30 22:55:12 1986
Date-Received: Fri, 4-Jul-86 01:43:10 EDT
References: <789@unirot.UUCP> <530@ecn-pc.UUCP>
Organization: UCLA CS Department
Lines: 25
Keywords: dirlib directory library