-->
Previous Table of Contents Next


TILDE COMMANDS

These commands are used when composing messages. They must be placed at the beginning of lines.

~!command Runs command, then returns to the message.
~bname(s) Adds name(s) to the blind carbon-copy field.
~cname(s) Adds name(s) to the carbon-copy field.
~d Reads the dead.letter file from your home directory.
~e Launches the text editor for further editing.
~fmessage(s) Inserts message(s) into the message being sent.
~Fmessage(s) Inserts message(s) into the message being sent, including headers.
~h Edits the header fields.
~mmessage(s) Inserts message(s) into the message being sent, indented by a tab.
~Mmessage(s) Inserts message(s) into the message being sent, including headers, indented by a tab.
~p Prints current message and the header fields.
~q Quits current message and sends it to dead.letter file.
~rfilename Inserts filename into the message.
~sstring Sets subject as string.
~tname(s) Adds name(s) to list of recipients.
~v Starts the VISUAL editor for editing the message.
~wfilename Writes the message to filename.
~|command Pipes the message through the command (usually fmt).
~:mail-command Executes mail-command.
~~string Inserts string into message, prefaced by ~.

MAIL OPTIONS

You can set the following options either via the set and unset commands or else you can set them in the mail.rc file.

append Appends messages saved in mbox, rather than prepending them.
ask, asksub Asks you for the subject of a message.
askcc Asks you for additional carbon-copy recipients.
askbcc Asks you for additional blind carbon-copy recipients.
autoprint Displays the next message after deleting the current message.
debug Displays debugging information.
dot Inserts a dot (.) alone on the last line of a message.
hold Holds messages in the system mailbox.
ignore Ignores interrupt signals; displays them as @.
ignoreeof Ignores Ctrl-D at the end of a file.
metoo Includes the sender as part of a group.
noheader Suppresses display of message headers when reading mail or editing a mail folder.
nosave Does not send deleted letter to dead.letter file.
Replyall Switches reply and Reply commands (covered under “Commands.”)
quiet Suppresses printing the version when first invoked.
verbose Works in verbose mode, where the details of delivery are displayed.

OPTION STRING VALUES

EDITOR Editor to use with the edit command and ~e escape.
LISTER Pathname of the directory lister to use in the folders command. The default is /bin/ls.
PAGER Pathname of the program to use in the more command or when the crt variable is set. The default paginator is more.
SHELL Pathname of the shell to use in the ! command and the ~! escape. The default system shell is used if this option is not defined.
VISUAL Pathname of the text editor to use in the visual command and ~v escape.
crt Determines how long a message must be before PAGER is used to read it. The default is the height of the terminal screen.
escape Defines the escape character; the default is ~.
folder Defines the directory storing folders of messages. If it begins with /, then it’s considered an absolute pathname; otherwise, it’s considered relative to your home directory.
MBOX Your mbox file; the default is mbox in your home directory.
record Pathname of the file used to store outgoing mail; if not defined, outgoing mail is not stored.
indentprefix String used for indenting message via the ~m escape, instead of tabs.
toplines Defines the number of lines to be printed out with the top command.

RELATED COMMANDS

fmt
sendmail


Previous Table of Contents Next