From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,347d22f6dce4e40 X-Google-Attributes: gid103376,public From: Robert A Duff Subject: Re: System Calls Date: 1998/12/29 Message-ID: #1/1 X-Deja-AN: 426871132 Sender: bobduff@world.std.com (Robert A Duff) References: <3677F2B6.FDC20000@gla.ecoledoc.lip6.fr> <7598nc$5lg$1@nnrp1.dejanews.com> <36793CF7.6795AA80@gla.ecoledoc.lip6.fr> <75bsm6$ccl$1@nnrp1.dejanews.com> <75tmgp$bjf@top.mitre.org> <75tv4m$vmm$1@nnrp1.dejanews.com> Organization: The World Public Access UNIX, Brookline, MA Newsgroups: comp.lang.ada Date: 1998-12-29T00:00:00+00:00 List-Id: dennison@telepath.com writes: > The problem is in the little differences. Dos uses '\', where Unix and VMS > use '/'. In Unix that '\' is quite liable to be used in the file name to > escape special characters. In DOS, devices are at the front of the path with > a ':'. In Unix devices are simply the first path or two in the filename. In > Unix and VMS '::' can be used to indicate the machine owning the device in > some circumstances. In Unix disks must be mounted before use. In DOS and > Windows, they are generally automaticly detected. The Symbolics Lisp machine had a pretty decent solution to these kinds of problems. They invented an abstraction that included pretty-much a superset of all the bells and whistles on the various systems. At least part of the problem is pretty trivial -- I mean, "list of directory names" is an abstraction that need not care about "/" vs "\". Not all of it's easy, but the Lisp Machine solution seemed pretty well thought out to me at the time. - Bob -- Change robert to bob to get my real email address. Sorry.