HP-UX Reference (11i v3 07/02) - 1 User Commands A-M (vol 1)

e
elm(1) elm(1)
command line option, softkeys is set to
OFF. See also the keypad
boolean variable. The default is OFF.
titles If ON, title a displayed message with a line in the form:
Message number/total sendername date time
sendername, date, and time are extracted from the message headers in the
manner described in Message Index. This is useful if you have suppressed
the relevant header entries with the weedout
list. If OFF, the message is
not titled. The default is
ON.
usetite If ON, use the termcap ti
/te and terminfo cup cursor-positioning
entries (see terminfo(4)). If
OFF, do not use those entries. If the program
is invoked with the -t command line option,
usetite is set to OFF. The
default is
ON.
weed If ON, do not display the headers defined by
weedout variable when
displaying a message for reading. If
OFF,
display all headers. The default
is
ON.
METAMAIL CONFIGURATION
MIME (Multipurpose Internet Mail Extensions) encoding classifies the message and its attachments accord-
ing to a Content-Transfer-Encoding, which is the encoding, if any, that is used to make the message mail-
able, and a Content-Type, which is the type and form of the message part after it has been decoded. The
encoding and types are described in more detail in the Attachment Configuration Menu subsection and in
RFC 1521.
elm provides built-in support for the following Content-Types:
text/plain [; charset=charset]
The text is all in the displayable character set charset which defaults to US-ASCII.
multipart/mixed ; boundary=
boundary-string
The message is composed of a number of individual "body parts", separated by
--boundary-
string, each having optional headers defining Content-Type and Content-Transfer-Encoding. The
default Content-Type is
text/plain .
multipart/digest ; boundary=
boundary-string
This is similar to
multipart/mixed
, except that the default Content-Type is
message/rfc822.
multipart/report ; boundary=
boundary-string
message/rfc822
The message consists of another message in standard message format.
metamail is a system program that is invoked by elm to manage the display of messages and attach-
ments that are not displayable in ordinary ASCII text.
metamail provides external support for other Content-Types, as defined in one or more mailcap files.
The system
mailcap file is /etc/mail/mailcap. You can define your own default
mailcap file in
$HOME/.mailcap. You can also specify your own list of mailcap files by setting the MAILCAPS
environment variable. The mailcap files are searched in order until an entry is found that matches the
Content-Type and any qualifications.
A minimum mailcap entry consists of a line in the form:
content-type ; command
The command is the command that you would type to view a file of the indicated Content-Type, with the
string %s replaced by a file name. For example, to view body part that was HTML source text and had the
Content-Type text/html , you could have the entry
text/html; netscape %s
Similarly, for a GIF image file, you could have the entry
HP-UX 11i Version 3: February 2007 28 Hewlett-Packard Company 285