PMDF User's Guide
OpenVMS Edition


Previous Next Contents Index


SET & SHOW EDITOR

Specifies the editor to invoke in response to the EDIT command or /EDIT command qualifier.

restrictions

Requires SYSPRV privilege to set information for users other than yourself; requires SYSPRV or SYSNAM privilege to show information about users other than yourself.

Syntax

SET EDITOR editor

SET NOEDITOR

SHOW EDITOR

Qualifiers Defaults
/ALL /NOALL
/LOG /NOLOG
/SYSTEM_DEFAULT None
/UIC="[g,m]" None
/USER=username None

Parameters

editor

Required parameter specifying the name of the editor to invoke. You may use any callable editor available on your system such as EDT or TPU.

Description

In response to the EDIT command or /EDIT command qualifier, PMDF MAIL invokes an editor. By default, the EDT editor is invoked. However, you may select another callable editor such as TPU:


EMAIL> SET EDITOR TPU
EMAIL> SHOW EDITOR
Your editor is TPU. 
EMAIL> 
Use the SET NOEDITOR command to restore the default behavior.


Qualifiers

/SYSTEM_DEFAULT

The setting is the system-wide default for users who have not themselves selected an editor with SET EDIT. When used with SET NOEDITOR, removes the system-wide default.

Examples

#1

EMAIL> SET EDITOR TPU
EMAIL> SHOW EDITOR
Your editor is TPU.
EMAIL>
      

In this example, the TPU editor is selected.

#2

EMAIL> SET EDITOR/UIC=[1123,*]/LOG TPU
%EMAIL-S-MODRECORD, ASMITH record modified
%EMAIL-S-MODRECORD, AWART record modified
   .
   .
   .
%EMAIL-I-MODRECORDS, 234 record modified
EMAIL> SHOW EDITOR/UIC="[1123,3]"
Username                        Editor
ASMITH                          EDT
AWART                           EDT
   .
   .
   .
EMAIL>
      

Here, the editor is set to TPU for the entire UIC group 1123.


Previous Next Contents Index