[comp.sys.ti.explorer] a pathname annoyance...

jwz@teak.berkeley.edu (Jamie Zawinski) (11/16/89)

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