[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: 8-bit unzip utility
mdj wrote:
[...]
>> It is very handy using the .. notation to move about in a directory
>> tree, as you know. It's a shame that the ProDOS (SOS?) designers
>> didn't provide a way of "trimming" a path as well as extending it.
>
> Yes, the absence of a 'self' and 'parent' referential entry in each
> directory makes it impossible to use relative paths, so while CD is a
> handy addition, you still can't do, for example, BLOAD ../THING
Each subdirectory header contains a parent-pointer, and parent-entry number,
so it would be possible to walk back up the pathname toward the root.
ProDOS' prefix would also make it possible to implement ".." using a string
truncation.
--
-- Jerry