WRITE FILE
Writes out the current buffer to a file, saving its contents, without
ending your editing session (similar to SAVE FILE or SAVE FILE AS).
Key: The WPS keypad defines GOLD-W as WRITE FILE.
Examples:
Commands Effects
----------------------------------------------------------------------
GET FILE rough.dat Edits a file named ROUGH.DAT and then writes
WRITE FILE final.txt your edits to a file named FINAL.TXT, rather
than as a new version of ROUGH.DAT.
GET FILE memo.txt Edits a file named MEMO.TXT and then writes
WRITE FILE your edits to a new version of that file (or
version 1 if you are creating a new file).
Usage notes:
o Specifying an output file does not change the buffer name, but may
change the output file of the buffer for later WRITE FILE or SAVE FILE
commands or for exiting (except with system buffers).
o If there is no file name for the buffer---if you did not specify a file
when you invoked EVE or when you created the buffer---WRITE FILE asks
for an output file name.
o If you specify only the device (disk) or directory, EVE writes the
output file to that directory, using the same file name and file type
associated with the buffer. This is useful if you want to save the file
in a different directory but with the same name.
o To check the output file of the buffer, use the SHOW command.
o WRITE FILE closes the buffer-change journal file (if there is one).
Subsequent changes to the buffer restart journaling (unless you
disabled journaling for that buffer).
o If you write out an EVE system buffer, such as the SHOW buffer or
MESSAGES buffer, EVE asks you for an output file name.
o You cannot use WRITE FILE to write out a buffer other than the current
buffer. However, on exiting, if any buffers were modified, EVE asks
whether to write out those buffers.
o On VMS, file names are not case-sensitive. For example, MEMO.TXT and
memo.txt specify the same file.
o On ULTRIX, existing files are copied to a backup file before being
overwritten. This is the default behavior, but you can disable it or
customize the way EVE creates the backup file spec. For help on backup
files, see help on SET BACKUP CONTROL STRING.
Related topics:
DELETE BUFFER EXIT QUIT
SAVE FILE SAVE FILE AS SET BACKUP CONTROL
SET FILE BACKUP SET NOFILE BACKUP SHOW
SHOW FILE BACKUP WRITE FILE