%META:TOPICINFO{author="ChrisBartram" date="1170380428" format="1.1" version="1.2"}% %META:TOPICPARENT{name="HP3000OperatingSystemQuestions"}% ---+ 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]] -- Main.ChrisBartram - 18 May 2006