home *** CD-ROM | disk | FTP | other *** search
/ The Datafile PD-CD 4 / DATAFILE_PDCD4.iso / unix / riscbsd / 1_1_contri / usd / 07_mail / mail9_nr < prev    next >
Encoding:
Text File  |  1986-05-23  |  5.3 KB  |  164 lines

  1. .\" Copyright (c) 1980 Regents of the University of California.
  2. .\" All rights reserved.  The Berkeley software License Agreement
  3. .\" specifies the terms and conditions for redistribution.
  4. .\"
  5. .\"    @(#)mail9.nr    6.1 (Berkeley) 5/23/86
  6. .\"
  7. .bp
  8. .sh 1 "Summary of commands, options, and escapes"
  9. .pp
  10. This section gives a quick summary of the
  11. .i Mail
  12. commands, binary and valued options, and tilde escapes.
  13. .(b
  14. .pp
  15. The following table describes the commands:
  16. .TS
  17. center ;
  18. c ci
  19. lb l.
  20. Command    Description
  21. _
  22. !    Single command escape to shell
  23. -    Back up to previous message
  24. Print    Type message with ignored fields
  25. Reply    Reply to author of message only
  26. Type    Type message with ignored fields
  27. alias    Define an alias as a set of user names
  28. alternates    List other names you are known by
  29. chdir    Change working directory, home by default
  30. copy    Copy a message to a file or folder
  31. delete    Delete a list of messages
  32. dt    Delete current message, type next message
  33. endif    End of conditional statement; see \fBif\fP
  34. edit    Edit a list of messages
  35. else    Start of else part of conditional; see \fBif\fP
  36. exit    Leave mail without changing anything
  37. file    Interrogate/change current mail file
  38. folder    Same as \fBfile\fP
  39. folders    List the folders in your folder directory
  40. from    List headers of a list of messages
  41. headers    List current window of messages
  42. help    Print brief summary of \fIMail\fP commands
  43. hold    Same as \fBpreserve\fP
  44. if    Conditional execution of \fIMail\fP commands
  45. ignore    Set/examine list of ignored header fields
  46. list    List valid \fIMail\fP commands
  47. local    List other names for the local host
  48. mail    Send mail to specified names
  49. mbox    Arrange to save a list of messages in \fImbox\fP
  50. next    Go to next message and type it
  51. preserve    Arrange to leave list of messages in system mailbox
  52. quit    Leave \fIMail\fP; update system mailbox, \fImbox\fP as appropriate
  53. reply    Compose a reply to a message
  54. save    Append messages, headers included, on a file
  55. set    Set binary or valued options
  56. shell    Invoke an interactive shell
  57. top    Print first so many (5 by default) lines of list of messages
  58. type    Print messages
  59. undelete    Undelete list of messages
  60. unset    Undo the operation of a \fBset\fP
  61. visual    Invoke visual editor on a list of messages
  62. write    Append messages to a file, don't include headers
  63. z    Scroll to next/previous screenful of headers
  64. .TE
  65. .)b
  66. .(b
  67. .pp
  68. The following table describes the options.  Each option is
  69. shown as being either a binary or valued option.
  70. .TS
  71. center;
  72. c ci ci
  73. l ci l.
  74. Option    Type    Description
  75. _
  76. EDITOR    valued    Pathname of editor for ~e and \fBedit\fP
  77. SHELL    valued    Pathname of shell for \fBshell\fP, ~! and \fB!\fP
  78. VISUAL    valued    Pathname of screen editor for ~v, \fBvisual\fP
  79. append    binary    Always append messages to end of \fImbox\fP
  80. ask    binary    Prompt user for Subject: field when sending
  81. askcc    binary    Prompt user for additional Cc's at end of message
  82. autoprint    binary    Print next message after \fBdelete\fP
  83. crt    valued    Minimum number of lines before using \fImore\fP
  84. debug    binary    Print out debugging information
  85. dot    binary    Accept . alone on line to terminate message input
  86. escape    valued    Escape character to be used instead of ~
  87. folder    valued    Directory to store folders in
  88. hold    binary    Hold messages in system mailbox by default
  89. ignore    binary    Ignore \s-2RUBOUT\s0 while sending mail
  90. ignoreeof    binary    Don't terminate letters/command input with \fB\(uaD\fP
  91. keep    binary    Don't unlink system mailbox when empty
  92. keepsave    binary    Don't delete \fBsave\fPd messages by default
  93. metoo    binary    Include sending user in aliases
  94. noheader    binary    Suppress initial printing of version and headers
  95. nosave    binary    Don't save partial letter in \fIdead.letter\fP
  96. quiet    binary    Suppress printing of \fIMail\fP version and message numbers
  97. record    valued    File to save all outgoing mail in
  98. screen    valued    Size of window of message headers for \fBz\fP, etc.
  99. sendmail    valued    Choose alternate mail delivery system
  100. toplines    valued    Number of lines to print in \fBtop\fP
  101. verbose    binary    Invoke sendmail with the \fB\-v\fP flag
  102. .TE
  103. .)b
  104. .(b
  105. .pp
  106. The following table summarizes the tilde escapes available
  107. while sending mail.
  108. .TS
  109. center;
  110. c ci ci
  111. l li l.
  112. Escape    Arguments    Description
  113. _
  114. ~!    command    Execute shell command
  115. ~c    name ...    Add names to Cc: field
  116. ~d        Read \fIdead.letter\fP into message
  117. ~e        Invoke text editor on partial message
  118. ~f    messages    Read named messages
  119. ~h        Edit the header fields
  120. ~m    messages    Read named messages, right shift by tab
  121. ~p        Print message entered so far
  122. ~q        Abort entry of letter; like \s-2RUBOUT\s0
  123. ~r    filename    Read file into message
  124. ~s    string    Set Subject: field to \fIstring\fP
  125. ~t    name ...    Add names to To: field
  126. ~v        Invoke screen editor on message
  127. ~w    filename    Write message on file
  128. ~|    command    Pipe message through \fIcommand\fP
  129. ~~    string    Quote a ~ in front of \fIstring\fP
  130. .TE
  131. .)b
  132. .(b
  133. .pp
  134. The following table shows the command line flags that
  135. .i Mail
  136. accepts:
  137. .TS
  138. center;
  139. c c
  140. l a.
  141. Flag    Description
  142. _
  143. \-N    Suppress the initial printing of headers
  144. \-T \fIfile\fP    Article-id's of read/deleted messages to \fIfile\fP
  145. \-d    Turn on debugging
  146. \-f \fIfile\fP    Show messages in \fIfile\fP or \fI~/mbox\fP
  147. \-h \fInumber\fP    Pass on hop count for mail forwarding
  148. \-i    Ignore tty interrupt signals
  149. \-n    Inhibit reading of /usr/lib/Mail.rc
  150. \-r \fIname\fP    Pass on \fIname\fP for mail forwarding
  151. \-s \fIstring\fP    Use \fIstring\fP as subject in outgoing mail
  152. \-u \fIname\fP    Read \fIname's\fP mail instead of your own
  153. \-v     Invoke sendmail with the \fB\-v\fP flag
  154. .TE
  155. .)b
  156. .lp
  157. Notes:
  158. .b \-T ,
  159. .b \-d ,
  160. .b \-h ,
  161. and
  162. .b \-r
  163. are not for human use.
  164.