beautypg.com

HP NonStop G-Series User Manual

Page 24

background image

Creating an EDIT File

Introduction to EDIT

1–4

058061 Tandem Computers Incorporated

in answer to the question “SHALL I CREATE IT?”. EDIT prints:

CURRENT FILE IS $WORK.FICTION.POEMS

*

You have started the EDIT program and created an EDIT file named
POEMS, which will contain your document. You are now ready to type
commands at the prompt for the EDIT program, which is an asterisk (*).

If you don’t provide a name of a file, EDIT either prompts you for the
file name as you begin editing or warns you that the file is undefined.

For example, if you start EDIT and want to begin adding text:

TEXT EDITOR - T9601B30 - (08MAR87)

*add

1 Sing a song of sixpence,

NAME THE NEW FILE:

If you choose to provide the name of a file, answer the prompt by
typing the file name, press

RETURN

, and continue adding text to the

new file.

If you do not name the file and simply press

RETURN

at the “NAME

THE NEW FILE” prompt, EDIT creates a temporary file and warns you
that the file is undefined. You can continue to add text to an undefined
file, although EDIT can’t retrieve the text if you leave the file (and you
don’t save the text elsewhere). For more information about temporary
EDIT files, see “Adding Text to a New EDIT File” in the ADD
command description in Section 4.

Note

$WORK.FICTION.POEMS means there is a file named POEMS, in the subvolume named
FICTION, in the volume named $WORK. The file named POEMS that you just created will
have the volume name of your current volume and the subvolume name of your current
subvolume. For more information about file names, subvolume names, and volume names,
see “How Files Are Named” in Section 6.

This manual is related to the following products: