Text editors for typing messages
Use the set EDITOR=PathName option to define the text editor with which you type messages.
The mail program must be installed on your system.
| Item | Description |
|---|---|
| set EDITOR=PathName | This option in your .mailrc file defines the editor
that you activate with the ~e key sequence. The value of PathName must
be the full path name to the editor program you want to use. To change
to the e editor, while in the mail program, type:
This sequence activates the e editor or other editor that you have defined in the .mailrc file. Edit your mail message using this editor. |
| set VISUAL=PathName | This option in your .mailrc file defines the editor
that you activate with the ~v key sequence. The value of PathName must
be the full path name to the editor program that you want to use. The default
is /usr/bin/vi. To change to the vi editor while
in the mail program, type:
This sequence activates the vi editor or other editor that you have defined in the .mailrc file. Edit your mail message using this editor. |