home *** CD-ROM | disk | FTP | other *** search
/ minnie.tuhs.org / unixen.tar / unixen / PDP-11 / Trees / V6 / usr / man / man1 / mail.1 < prev    next >
Encoding:
Text File  |  1975-06-26  |  1.2 KB  |  74 lines

  1. .th MAIL I 2/21/75
  2. .sh NAME
  3. mail  \*-  send mail to designated users
  4. .sh SYNOPSIS
  5. .bd mail
  6. [
  7. .bd \-yn
  8. ]
  9. [ person ... ]
  10. .sh DESCRIPTION
  11. .it Mail
  12. with no argument
  13. searches for a file
  14. called
  15. .it .mail,
  16. prints it if it is nonempty,
  17. then asks if it should be saved.
  18. If the answer
  19. is
  20. .bd y,
  21. the mail is added to
  22. .it mbox.
  23. Finally
  24. .it .mail
  25. is truncated to zero length.
  26. To leave the mailbox untouched,
  27. hit `delete.'
  28. The question can be answered on the command line
  29. with the argument `\-y' or `\-n'.
  30. .s3
  31. When
  32. .it persons
  33. are named,
  34. .it mail
  35. takes the standard input up to an end of file
  36. and adds it to each
  37. .it person's
  38. .it .mail
  39. file.
  40. The message is preceded by the sender's name and a postmark.
  41. .s3
  42. A
  43. .it person
  44. is either
  45. a user name recognized by
  46. .it login
  47. (I),
  48. in which case the mail
  49. is sent to the default working directory of that user;
  50. or the path name of a directory,
  51. in which case
  52. .it .mail
  53. in that directory is used.
  54. .s3
  55. When a user logs in he is informed of the presence
  56. of mail.
  57. No mail will be received from a sender to whom
  58. .it .mail
  59. is inaccessible or unwritable.
  60. .sh FILES
  61. /etc/passwd    to identify sender and locate persons
  62. .br
  63. /etc/utmp    to identify sender
  64. .br
  65. .li
  66. .mail        input mail
  67. .br
  68. mbox        saved mail
  69. .br
  70. /tmp/m#    temp file
  71. .sh "SEE ALSO"
  72. write (I)
  73. .sh BUGS
  74.