elm.1 (2010 09)
e
elm(1) elm(1)
in italic type):
$ elm j_doe
To: doe (John Doe)
Subject: this is a test
Copies To: ...
...invokes editor, you compose message, then...
Your options now are:
a)ttachments e)dit message edit h)eader s)end it f)orget it.
What is your choice? s
mail sent!
If you "forget" the message, it is saved in
$HOME/Canceled.mail
.
File Mode with Redirection
To send a file by use of command-line redirection, use a command like:
$ elm j_doe < help.c
which reads file help.c and sends it with the default subject.
File Mode with a Pipe
To mail the output of a command and include a subject line:
$ ls -a | elm -s "Directory Listing" j_doe
WARNINGS
Using two separate mail programs to access the same mail file simultaneously (usually inadvertently
from two separate windows) can cause unpredictable results.
The length of the subject string (used with the
-s command line option) and filenames (used with the
-f and -i command line options) is limited to 255 characters. If the length exceeds this limit, the
strings will be truncated to 255 characters.
AUTHOR
elm was developed by Hewlett-Packard Company.
FILES
$HOME/.elm Directory for the user’s elm alias, configuration, header,
and other files
$HOME/.elm/aliases
User alias database data table
$HOME/.elm/aliases.dir
User alias database directory table
$HOME/.elm/aliases.pag
User alias database hash table
$HOME/.elm/aliases.text
User alias source text
$HOME/.elm/elmheaders
User-defined additional headers
$HOME/.elm/elmrc User configuration file
$HOME/Canceled.mail Canceled message in noninteractive use.
/tmp/alias.pid Temporary file for deleting alias
/tmp/form.pid Editor buffer for forms message
/tmp/mbox.loginname Temporary mailbox for user logname
/tmp/print.pid Temporary file for printing message
/tmp/snd.pid Outgoing mail message edit buffer
/tmp/sndh.pid Outgoing mail header edit buffer
/usr/lib/nls/msg/C/elm.cat Location of the message catalog
/usr/share/lib/elm/elmrc-info Comment file for $HOME/.elm/elmrc
file
/var/mail Directory for incoming mail;
it must have mode 755 and group ID mail
/var/mail/.elm Directory for elm mailer system aliases
/var/mail/.elm/aliases System alias database data table
/var/mail/.elm/aliases.dir System alias database directory table
/var/mail/.elm/aliases.pag System alias database hash table
/var/mail/.elm/aliases.text System alias source text
/var/mail/loginname Incoming mailbox for user;
it must have mode 660 and group ID mail
30 Hewlett-Packard Company − 30 − HP-UX 11i Version 3: September 2010