HP3000-L Archives

June 1995, Week 1

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Jeff Vance <[log in to unmask]>
Reply To:
Jeff Vance <[log in to unmask]>
Date:
Thu, 1 Jun 1995 14:24:34 -0700
Content-Type:
text/plain
Parts/Attachments:
text/plain (56 lines)
On Jun 1,  1:37pm, Richard Gambrell wrote:
> Subject: Re: Unintentional file (. file problem)
> For those of you following the . file saga:
>
> You can creat a file named . by the command: echo something > .
> You can see it with a command: listfile ./. ,2 ;temp
> You cna print it with a command: print .
> You can purge it with a command: purge .,temp
>
> Nice and consistent in MPE.
 
This is what I was thinking too, except I remembered that you should not be
able
to redirect output to a directory.  I would expect some error at open or close
time.  Now the tricky thing is that there aren't really temp directories (Steve
Elmer can fill in the details), it just appears that there are when you list
temp files.  You cannot explicitly create a TEMP directory -- they get
"created" as needed to complete the pathname.
 
Here is what the dot directory looks like in an MPE group vs. an HFS directory:
 
//JOY /JVNM/PUB(11):showme
USER: #S1769,MGR.JVNM,PUB      (NOT IN BREAK)
...
//JOY /JVNM/PUB(12):listfile .,2
 PATH= /JVNM/PUB/
 
 CODE  ------------LOGICAL RECORD-----------  ----SPACE----  FILENAME
         SIZE  TYP        EOF      LIMIT R/B  SECTORS #X MX
 
           0W  GBD          0          0   0       32  1  * *./
 
 
//JOY /JVNM/PUB(13):chdir ./bin
CWD is "/JVNM/PUB/bin".
//JOY /JVNM/PUB/bin(14):do l
//JOY /JVNM/PUB/bin(14):listfile .,2
 PATH= /JVNM/PUB/bin/
 
 CODE  ------------LOGICAL RECORD-----------  ----SPACE----  FILENAME
         SIZE  TYP        EOF      LIMIT R/B  SECTORS #X MX
 
          16W  HBD          0   67107839   1       32  1  * *./
 
 
As Steve mentioned dot and dot-dot under MPE accouts and groups are faked,
and this may be where the shell is getting confused??
 
[snip...]
 
 
 
 
--
Jeff Vance

ATOM RSS1 RSS2