3k Associates Inc HP3000 FAQ TWiki TWiki > TWiki > HP3000FAQ > HP3000OperatingSystemQuestions > Hp3000EditingTempFiles TWiki webs:
Main | TWiki | Sandbox
TWiki . { Welcome | Register | Changes | Topics | Index | Search | Go }

Editing Temporary files on the HP3000 and Keeping them Temporary

By default an EDITOR /keep will place files in the permanent domain.

The following technique shows how you can edit a temporary file and have it remain in the temporary domain:

:EDITOR
/text MYFILE
*** WARNING *** TEXT FILE IS IN TEMP DOMAIN. (*1)
< make required changes >
/:purge MYFILE,temp
/:file MYFILE;temp
/keep *MYFILE
*** WARNING *** KEPT IN PERMANENT DOMAIN. (*2)
/yes
/:reset MYFILE
/exit
END OF SUBSYSTEM
:

Notes:

1) Message will NOT be displayed if your temporary file does not exist.

2) Message can be ignored as it's only displayed if the TEXTed file was in the temporary domain.

--RobertMills?

-- ChrisBartram - 18 May 2006



Topic Hp3000EditingTempFiles . { Edit | Attach | Backlinks: Web All webs | Printable | History: r2 < r1 More }