HP3000-L Archives

October 2003, Week 3

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:
Michael Berkowitz <[log in to unmask]>
Reply To:
Michael Berkowitz <[log in to unmask]>
Date:
Mon, 20 Oct 2003 11:24:30 -0700
Content-Type:
text/plain
Parts/Attachments:
text/plain (50 lines)
Peter Smithson writes

-----Original Message-----
From: Peter Smithson [mailto:[log in to unmask]] 
Sent: Monday, October 20, 2003 6:48 AM
To: [log in to unmask]
Subject: Basic MPE problems


 Hello,

I thought I'd have a play with command files but I've come across a
basic problem with files -

:echo echo hi >./CMDF3
:listF CMDF3
Non-existent file. (CIERR 907)
:print CMDF3
echo hi
:purge CMDF3
       ^
File "./CMDF3" not found.  No purge done. (CIWARN 383)
:print CMDF3
echo hi
:print ./CMDF3
echo hi
:./CMDF3
hi
:


So now the file can't be purged or listed yet I can print and run it!

I presume it's something to do with me being in a HFS directory or
temporary files?

Can someone explain the logic behind this please.
------------------------------------------------------------------------
It has to do with the file being a temporary file.  Print and the
implied run command first look in the temporary domain for the file and
then in the permanent domain.  However :LISTF only looks in the
permanent domain.  To :listf on temporary files use the command
:listftemp or :listfile  ;temp

Mike Berkowitz
Guess? Inc.

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2