HP-UX Reference (11i v1 05/09) - 1 User Commands A-M (vol 1)

e
elm(1) elm(1)
NAME
elm - process electronic mail through a screen-oriented interface
SYNOPSIS
elm [-aKkmtVz][-f
folder]
elm [-s subject] address-list
elm -c [alias-list]
elm -h
elm -v
DESCRIPTION
The elm program is a screen-oriented electronic mail processing system. It supports the industry-wide
MIME standard for nontext mail, a special forms message and forms reply mechanism, and an easy-to-use
alias system for individuals and groups. elm
operates in three principal modes:
Interactive mode, running as an interactive mail interface program. (First syntax.)
Message mode, sending a single interactive message to a list of mail addresses from a shell command
line. (Second syntax.)
File mode, sending a file or command output to a list of mail addresses via a command-line pipe or
redirection. (Second syntax.)
In all three cases,
elm honors the values that are set in your elmrc initialization file, in your
elm alias
database, and in the system
elm alias database.
The modes are described below in inverse order (shortest description to longest).
Options
The following options are recognized:
-a Set arrow=ON. Use the arrow (->) instead of the inverse bar to mark the current
item in the various indexes. This overrides the setting of the arrow boolean variable
(see the ELM CONFIGURATION section).
-c Check alias. Check the aliases in alias-list against your personal elm alias database
and the system
elm alias database. The results are written to standard output.
Errors are reported first, in the form:
(alias "alias" is unknown)
Successes are reported in a header-entry format, with group aliases replaced by their
members, in the form:
Expands to: alias-address (
fullname),
alias-address (fullname),
...
alias-address (fullname)
If there is no fullname, the " (fullname)" portion is omitted.
-f folder Folder file. Read mail from the folder file rather than from the incoming mailbox. A
folder le is in the standard mail file format, as created by the mail system or saved
by elm itself.
-h Help. Display an annotated list of command-line options.
-k Set softkeys=OFF . Disable the use of softkeys (HP 2622 function keys). This
overrides the setting of the softkeys boolean variable (see the ELM CONFIGURA-
TION section).
-K Set keypad=OFF and softkeys=OFF . Disable the use of softkeys and arrow cur-
sor keys. If your terminal does not have the HP 2622 function key protocols, this
option is required. This overrides the settings of the keypad and softkeys
boolean variables (see the ELM CONFIGURATION section).
-m Set menu=OFF. Do not display the command menus on several Interactive Mode
screens. This overrides the setting of the menu boolean variable (see the ELM
HP-UX 11i Version 1: September 2005 1 Hewlett-Packard Company Section 1213