[net.micro.apple] ProDos change directory

rupp@tetra.UUCP (William L. Rupp) (12/05/85)

Thanks for the various responses to my request for information on how to
change directories in ProDos.  I must confess that I have not yet had a
chance to put these ideas into practice.  One thing still seems unclear,
however.  Namely, that 'changing a path' does not sound like changing
directories in the UNIX or MS-DOS sense.  To me, changing directories 
means that when you list the directory, you see only names of files
belonging to the directory into which you just moved.  It is possible, by
giving the full path, to examine or execute a file in a different directory
in UNIX without leaving the current working directory, as in.. 

         % more ~rupp/Documentation/filename

That is not changing directories, however, which in UNIX is..

         % cd ~rupp/Documentation

Now you are in the directory called Documentation and can examine the     
file without using the full path, as in..

         % more filename

I will have to experiment to find out how similar UNIX and ProDos really are
in this regard.

///////////////////////////////////////\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ 
 
    It has occurred to me that I have never included a disclaimer in my
       postings to the net, so here is one.  "It was all my fault!"

\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\////////////////////////////////////// 

gwyn@brl-tgr.ARPA (Doug Gwyn <gwyn>) (12/10/85)

> I will have to experiment to find out how similar UNIX and ProDos really are
> in this regard.

I already told you this.  There is no practical difference between
setting a prefix and chdir.  ProDOS PREFIX is in effect like UNIX "cd",
and on UNIX "cd" could have been implemented by the prefix method with
little visible difference from the way it works now.