Article View: comp.sys.ti.explorer
Article #131a pathname annoyance...
From: Jamie Zawinski
Date: Thu, 16 Nov 1989 04:44
Date: Thu, 16 Nov 1989 04:44
18 lines
1136 bytes
1136 bytes
Wouldn't it be nice if I could say "teak:~jwz/somefile" to reference a file on a unix machine instead of having to type "teak:/usr2/users/jwz/somefile"? The pathname parser is driven by a FSR, but it's not documented and I can't figure out the right tweaking that is needed... I think that what is necessary is for a new keyword to go on, :HOME, as in (pathname-directory "teak:~jwz/foo/bar/") => '((:HOME "jwz") "foo" "bar") (pathname-directory "teak:~/foo/bar/") => '(:HOME "foo" "bar") (pathname-directory "teak:~/../foo/bar/") => '(:HOME :UP "foo" "bar") and for the pathname-to-string code to know about this. Ok, now somebody do it! I'd send this to expbug, but they seem to ignore functionality suggestions. -- Jamie
Technical Details
Message-ID:
<19623@pasteur.Berkeley.EDU>Path:
arc1-ca.pugleaf.net!utzoo!yunexus!ists!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!pasteur!jwz@teak.berkeley.eduShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!yunexus!ists!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!pasteur!jwz@teak.berkeley.edu From: jwz@teak.berkeley.edu (Jamie Zawinski) Newsgroups: comp.sys.ti.explorer Subject: a pathname annoyance... Message-ID: <19623@pasteur.Berkeley.EDU> Date: 16 Nov 89 04:44:53 GMT Article-I.D.: pasteur.19623 Sender: news@pasteur.Berkeley.EDU Lines: 18