HP 3000 Manuals

Save Config File [ HP EDIT Reference Manual ] MPE/iX 5.0 Documentation


HP EDIT Reference Manual

Save Config File 

Purpose 

Saves the current editing option values in EDCONFIG.

Default Syntax 

ESC s

Description 

This command saves added or altered configuration values to the default
EDCONFIG configuration file or another specified configuration file.  The
saved values can consist of current Set Options editing parameter values,
non-default key assignments, and macro definitions.  You can create as
many unique configuration files as desired.

When you execute the command, HP EDIT prompts you for the configuration
file name.  You can specify either the default configuration file called
EDCONFIG by simply pressing the Return key, or you can specify any other
file name by typing it in.  If the specified file already exists, HP EDIT
asks you whether you want to purge the old file to prevent you from
inadvertently writing over an existing file.

If you save the configuration to the EDCONFIG file, all subsequent
editing sessions automatically load this configuration.  If you save the
changes to another file name, you must execute the Load Config File
command and specify this file name to manually activate the saved values.

To change the configuration before saving it, you can use one or more of
the following commands:

   *   Set Options to change editing parameter values

   *   Assign Key to change or add one or more key assignments

   *   Define Macro or Capture Macro to create one or more macros

Procedure 

To save changed or added values: 

   1.  Press ESC and the s key.  HP EDIT displays Press CTRL-Y to cancel. 
       Save configuration to EDCONFIG on the message line.

   2.  Type the desired file name, or press Return if you want to save
       the configuration to EDCONFIG. HP EDIT displays the message
       Writing FILENAME...  while saving the changes to the specified
       file name.

       If you saved the configuration changes to a file other than
       EDCONFIG, you can activate the changes using the Load Config File
       command after initiating a subsequent session.

Example 

To save a newly changed key assignment to a file called SAVEKEY: 

   1.  Press ESC and the s key.  HP EDIT displays the following message
       on the message line:

            Press CTRL-Y to cancel. Save configuration to EDCONFIG

   2.  Type savekey at the cursor position, press the space bar once,
       then press Return.  HP EDIT displays the following message:

            Writing SAVEKEY..._

       After HP EDIT saves the changes to the named file, the message
       disappears and the cursor returns to its former position in the
       file.

Related Commands 

       Assign Key
       Define Macro
       Load Config File
       Set Options



MPE/iX 5.0 Documentation