HP3000-L Archives

November 2002, 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:
Stan Sieler <[log in to unmask]>
Reply To:
Stan Sieler <[log in to unmask]>
Date:
Thu, 21 Nov 2002 14:25:41 -0800
Content-Type:
text/plain
Parts/Attachments:
text/plain (35 lines)
Re:

> The "simple" and "hard" cure for the problem is to use the presence of the
> file's name in the directory as *the* state variable, where the O/S has
> written the name into the directory only *after* the file write has been
> completed, not at the outset of the write process. You can't download a file
> before you know that it exists.
>
> Unfortunately, I don't know of any operating system that operates in that
> manner -- but you could easily simulate the process in MPE if the COPY

except, uh, MPE :)

That's the default mode of operation for MPE:

   FOPEN ( "foo", various options including "new, output")
   FWRITE...
   FCLOSE (  , 1, 0);

the file doesn't appear in the directory until the FCLOSE...exactly what
Wirt seems to want.

Note: with MPE/iX (not MPE V), one can open the file in a manner that
inserts the name into the directory immediately ...
which is a nice option to have. (HPFOPEN, item 3, value 4)


--
Stan Sieler
[log in to unmask]
www.allegro.com/sieler/wanted/index.html

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

ATOM RSS1 RSS2