[mod.computers.vax] Show Default and directories

STEINBERGER@SRI-KL.ARPA.UUCP (02/06/87)

When I log in to my account and type SHOW DEFAULT the VMS response is

       $DISK2:[RIC]

Next, when I type SET DEFAULT [-] to move up a directory and the type
SHOW DEFAULT, VMS responds with

      $DISK2:[000000]

OK so far.  Next I type SET DEFAULT [.RIC] to return to my home directory.
Then when I type SHOW DEFAULT, VMS responds with

      $DISK2:[000000.RIC]

I'm clearly at the same place as where I started.  But from now on VMS will
give me the 000000 as part of my directory spec.  This isn't really a problem.
I'm just wondering why it occurs.  It can be annoying when write DCL programs
to set the prompt equal to you default directory (e.g. see the current issue
of DEC PROFESSIONAL).


-Ric Steinberger
steinberger@sri-kl.arpa


-------

carl@CITHEX.CALTECH.EDU.UUCP (02/06/87)

The reason is that the directory [000000] has as one entry itself.
Thus the directory [000000.fubar] is the same as the directory [fubar],
the directory [000000.000000.fubar] and so forth (until you use all eight
directory levels).