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

e
elm(1) elm(1)
no subject (file transmission)
The expressed or default value of subject is placed in the
Subject: header entry.
See the EXAMPLES section.
MESSAGE MODE
If standard input is connected to your terminal, and an address-list is specified,
elm operates in Message
Mode.
The address-list is expanded, based on your
elm
alias database and the system elm alias database, and
placed in the
To: header entry. The To:
header entry is displayed, in the same form as for the Message
Menu
m (mail) command in Interactive Mode.
The value of subject, if nonnull, or a null string, is placed in the
Subject: header entry and the Sub-
ject:
line is displayed for modification.
If askcc is ON in your elmrc
file, you are prompted for Copies to:.
Then the editor defined by the
editor string variable (if a signature file is not added) or the alteditor
string variable (if a signature file is added) is started so that you can write your message.
When you leave your editor, you enter the Send Menu, as described for Interactive Mode.
If you choose the Send Menu
s (send) command, the message is sent and the program terminates. If you
select the Send Menu f (forget) command, the message is stored in $HOME/Canceled.mail
and the
program terminates. If you select other commands, the appropriate action occurs.
See the EXAMPLES section.
INTERACTIVE MODE
If standard input is connected to your terminal, and there is no address-list,
elm operates in a screen-
oriented Interactive Mode.
If you do not have a
$HOME/.elm directory, or if you do not have a mail directory, defined by the
mail-
dir
string variable, you are asked in turn if they should be created. You can answer
y for yes, n for no,or
q for quit.Fory or n, the directories are created or not, as appropriate, and the program continues. For
q, the program terminates.
Overview
When invoked, elm reads customized variables from file $HOME/.elm/elmrc
(if it exists) to initialize
parameters. This file can be saved from within
elm and some of these variables can also be modified with
the Message Menu o (option) command.
elm first displays the Main or Message Menu, which shows index entries for the messages in your incom-
ing mailbox or selected mail folder. Among other options, you can read, print, reply to, and forward these
messages, as well as initiate new mail messages to other users.
You can also move to the Alias Menu, where you can create, modify, and delete your personal aliases.
From the Alias Menu, you can select one or more of your aliases and send a message to the corresponding
users.
When you send a message, you can include attachments in a number of formats, such as PostScript,
images, audio, and video, as well as plain text. The attachments are managed separately, which can be
convenient both for you and your correspondents.
Sending Messages
When you send a message, you use the editor defined by the editor or alteditor string variable. If
builtin is your editor, a set of commands described in the Built-In Editor subsection is available while
composing your message
If the elmheaders file exists (see the HEADER FILE section), all nonblank lines in the file are copied to
the headers of all outbound mail. This is useful for adding special information headers such as X-
Organization:
, X-Phone:, and so forth.
MIME Support
elm supports the MIME protocols for headers and messages (RFC 1521 and RFC 1522) enabling it to view
and send mail containing other than normal ASCII text. For example, the mail contents can be audio,
video, images, etc., or a combination of these.
Section 1216 Hewlett-Packard Company 4 HP-UX 11i Version 1: September 2005