home *** CD-ROM | disk | FTP | other *** search
/ The Datafile PD-CD 4 / DATAFILE_PDCD4.iso / unix / riscbsd / 1_1_contri / usd / 07_mail / mail6_nr < prev    next >
Encoding:
Text File  |  1986-05-23  |  2.5 KB  |  99 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. .\"    @(#)mail6.nr    6.1 (Berkeley) 5/23/86
  6. .\"
  7. .bp
  8. .sh 1 "Command line options"
  9. .pp
  10. This section describes command line options for
  11. .i Mail
  12. and what they are used for.
  13. .ip \-N
  14. Suppress the initial printing of headers.
  15. .ip \-d
  16. Turn on debugging information.  Not of general interest.
  17. .ip "\-f file"
  18. Show the messages in
  19. .i file
  20. instead of your system mailbox.  If
  21. .i file
  22. is omitted,
  23. .i Mail
  24. reads
  25. .i mbox
  26. in your home directory.
  27. .ip \-i
  28. Ignore tty interrupt signals.  Useful on noisy phone lines, which
  29. generate spurious RUBOUT or DELETE characters.  It's usually
  30. more effective to change your interrupt character to control\-c,
  31. for which see the
  32. .i stty
  33. shell command.
  34. .ip \-n
  35. Inhibit reading of /usr/lib/Mail.rc.  Not generally useful, since
  36. /usr/lib/Mail.rc is usually empty.
  37. .ip "\-s string"
  38. Used for sending mail.
  39. .i String
  40. is used as the subject of the message being composed.  If
  41. .i string
  42. contains blanks, you must surround it with quote marks.
  43. .ip "\-u name"
  44. Read
  45. .i names's
  46. mail instead of your own.  Unwitting others often neglect to protect
  47. their mailboxes, but discretion is advised. Essentially,
  48. .b "\-u user"
  49. is a shorthand way of doing
  50. .b "\-f /usr/spool/user".
  51. .ip "\-v"
  52. Use the
  53. .b \-v
  54. flag when invoking sendmail. This feature may also be enabled
  55. by setting the the option "verbose".
  56. .pp
  57. The following command line flags are also recognized, but are
  58. intended for use by programs invoking
  59. .i Mail
  60. and not for people.
  61. .ip "\-T file"
  62. Arrange to print on
  63. .i file
  64. the contents of the
  65. .i article-id
  66. fields of all messages that were either read or deleted.
  67. .b \-T
  68. is for the
  69. .i readnews
  70. program and should NOT be used for reading your mail.
  71. .ip "\-h number"
  72. Pass on hop count information.
  73. .i Mail
  74. will take the number, increment it, and pass it with
  75. .b \-h
  76. to the mail delivery system.
  77. .b \-h
  78. only has effect when sending mail and is used for network mail
  79. forwarding.
  80. .ip "\-r name"
  81. Used for network mail forwarding:  interpret
  82. .i name
  83. as the sender of the message.  The
  84. .i name
  85. and
  86. .b \-r
  87. are simply sent along to the mail delivery system.  Also,
  88. .i Mail
  89. will wait for the message to be sent and return the exit status.
  90. Also restricts formatting of message.
  91. .pp
  92. Note that
  93. .b \-h
  94. and
  95. .b \-r ,
  96. which are for network mail forwarding, are not used in practice
  97. since mail forwarding is now handled separately.  They may
  98. disappear soon.
  99.