HP 3000 Manuals

Exit [ HP EDIT Reference Manual ] MPE/iX 5.0 Documentation


HP EDIT Reference Manual

Exit 

Purpose 

Concludes the current editing session.

Default Syntax 

e

Description 

This command concludes the current editing session by exiting HP EDIT and
either returning to the parent session or the MPE command interpreter,
depending on the current session type.

You can exit the session if one of the following conditions has been met:

   *   You have not made any changes to the file.

   *   You have saved all changes with the Keep Text command.

   *   You have not saved the changes, but have indicated that you want
       to discard the changes upon exiting.
[REV BEG]

You can change the exit key by using the Set Options command.[REV END]

Exit Restrictions 

When you execute this command and have not saved the most recent changes,
HP EDIT asks you whether you want to discard changes in order to prevent
you from inadvertently concluding the session before you have saved text
changes.  You must reply either yes or no to the prompt.

Exiting Multiple Sessions 
[REV BEG]

If there are no unsaved changes in any of the child editing sessions, you
may exit directly from the parent session.  If you attempt to exit HP
EDIT from the initial parent session without first saving changes in the
child sessions,[REV END] HP EDIT displays the prompt You have a child 
process active on the status line.  You must then activate the most
recent child session in the series using the Activate Next Process
command repeatedly.  You then execute the Exit command.

After you have exited this session, the next most recent child session
appears.  You would then exit this session and repeat the process until
the initial parent session is displayed.

Procedures 

To exit a single session: 

   1.  Press the e key.  HP EDIT concludes the session and returns you to
       the MPE command interpreter if you saved all changes before
       executing the command.  If you did not save the changes, HP EDIT
       displays the prompt Discard changes?  on the status line.  If this
       prompt appears, proceed to step 2.

   2.  Reply to the prompt by either typing y for yes or n for no.  If
       you reply yes, HP EDIT returns you to the MPE command interpreter.
       If you reply no, HP EDIT cancels the command and returns you to
       the current editing session.  You must then save the current file
       changes with the Keep Text command before exiting the session.

To exit multiple sessions: 

   1.  Execute the Activate Next Process CTRL n command repeatedly until
       the most recently created child session appears.

   2.  Press the e key.  HP EDIT concludes the current child session and
       returns you to the next most recent child session.

   3.  Continue pressing the e key until you have exited all child
       sessions and the initial parent session.

Related Commands 

       Keep Text
       Text File



MPE/iX 5.0 Documentation