summaryrefslogtreecommitdiffstats
path: root/usr.bin/mail/misc
diff options
context:
space:
mode:
authormikeh <mikeh@FreeBSD.org>2001-12-22 22:16:48 +0000
committermikeh <mikeh@FreeBSD.org>2001-12-22 22:16:48 +0000
commit45093b4f56780dd2852dac2d7dfeb54e78706467 (patch)
tree50abcee3a5e95121651201fd9a3d75129eb969ea /usr.bin/mail/misc
parent08acd7caeb322942ff644c754ae06c404dda892a (diff)
downloadFreeBSD-src-45093b4f56780dd2852dac2d7dfeb54e78706467.zip
FreeBSD-src-45093b4f56780dd2852dac2d7dfeb54e78706467.tar.gz
Add support for ~_, ~x, ~i, ~a, ~A, ~<, and ~r! tilde-escapes. Improve
tilde-escapes documentation. Mostly obtained from: NetBSD
Diffstat (limited to 'usr.bin/mail/misc')
-rw-r--r--usr.bin/mail/misc/mail.tildehelp24
1 files changed, 19 insertions, 5 deletions
diff --git a/usr.bin/mail/misc/mail.tildehelp b/usr.bin/mail/misc/mail.tildehelp
index 9c17176..66543b7 100644
--- a/usr.bin/mail/misc/mail.tildehelp
+++ b/usr.bin/mail/misc/mail.tildehelp
@@ -1,23 +1,37 @@
-----------------------------------------------------------
The following ~ escapes are defined:
+~? Print this message
~~ Quote a single tilde
+~. Same as .
+~A Equivalent to: ~i Sign
+~a Equivalent to: ~i sign
~b users Add users to "blind" cc list
~c users Add users to cc list
+~C Dump core
~d Read in dead.letter
~e Edit the message buffer
~f messages Read in messages
~F messages Same as ~f, but keep all header lines
~h Prompt for to list, subject and cc list
-~r file Read a file into the message buffer
-~p Print the message buffer
+~i name Insert the value of the named variable
~m messages Read in messages, right shifted by a tab
~M messages Same as ~m, but keep all header lines
+~p Print the message buffer
+~q Quit, save partial message in dead.letter
+~r file Read a file into the message buffer
+~r !command Insert the output of the command in the message
+~< file Same as ~r
+~< !command Same as ~r
~R address Set reply-to
~s subject Set subject
-~t users Add users to to list
+~t users Add users to the To list
~v Invoke display editor on message
~w file Write message onto file.
+~x Quit, do not save to dead.letter
~? Print this message
-~!command Invoke the shell
-~|command Pipe the message through the command
+~! command Invoke the shell
+~| command Pipe the message through the command
+~^ command Same as ~|
+~_ mail-cmd Perform the command-level request
+~: mail-cmd Same as ~_
-----------------------------------------------------------
OpenPOWER on IntegriCloud