🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.ti.explorer
Article #163

GNU pathnames. Code to follow.

#163
From: James Rice
Date: Tue, 05 Dec 1989 03:46
34 lines
1674 bytes
Well, I have a reasonable version of GNU pathnames now (I
think).  My next message will be the code itself, which is
rather long (mainly because of copying 10 zillion page
long TI functions.  The code should, in principle, allow
the easy definition of a fake version number generating
type of pathname for any existing type of pathname for a
file system that does not understand version numbers.
I've implemented three of them so far

  fs:gnu-ucb-pathname - a gnu version of fs:unix-ucb-pathname
  fs:gnu-unix-pathname - a gnu version of fs:unix-pathname
  fs:gnu-mac-pathname - a gnu version of fs:mac-pathname


Note: because all of the versioning is done on the client,
the server needs no modification.


Known misfeature/gray area: on the Mac pathname version I
haven't managed to get the correct renaming to happen in
the unwind protect if you abort a with-open-file.  I keep
getting mysterious invalid NFS reply errors.  This is left
as an exercise to the reader.



Rice - yes, there are bound to be bugs, but hopefully this
will get us most of the way.

P.S. This all runs on 6.0.  You'll have to do a little
recoding if you don't have a working CLOS.

P.S.S. If you don't have a TI source license please close
your eyes.
Technical Details
Message-ID: <2837821610-396373@KSL-EXP-6>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!ucbvax!SUMEX-AIM.STANFORD.EDU!Rice

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!ucbvax!SUMEX-AIM.STANFORD.EDU!Rice
From: Rice@SUMEX-AIM.STANFORD.EDU (James Rice)
Newsgroups: comp.sys.ti.explorer
Subject: GNU pathnames.  Code to follow.
Message-ID: <2837821610-396373@KSL-EXP-6>
Date: 5 Dec 89 03:46:50 GMT
Sender: daemon@ucbvax.BERKELEY.EDU
Distribution: inet
Organization: The Internet
Lines: 34