[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Apple model history?



Randy Shackelford <shack@onyx.southwind.net> wrote:

> : Yes, but there is no equivalent of "cd .." with PREFIX.
> I expect that directory walking would have been tough to implement in the
> amount of memory available to either the kernel or BASIC.

Really? I see two ways of doing it: either physically add a ".."
directory pointing to the parent (the way Unix and MS-DOS do it)
as others have suggested, or add an "UP" command that scans the
prefix from right to left and trims it. It shouldn't take more
than a few dozen bytes of code.

Paul Guertin
pg@sff.net