Commit | Line | Data |
---|---|---|
3175bc13 KT |
1 | .pa 1 |
2 | .he 'MAIL (I)'10/25/72'MAIL (I)' | |
3 | .ti 0 | |
4 | NAME mail -- send mail to another user | |
5 | .sp | |
6 | .ti 0 | |
7 | SYNOPSIS mail\b\b\b\b____ [ -yn\b\b\b___ ] | |
8 | .br | |
9 | .ul | |
10 | ||
11 | letter person ... | |
12 | .br | |
13 | mail\b\b\b\b____ person | |
14 | .sp | |
15 | .ti 0 | |
16 | DESCRIPTION mail\b\b\b\b____ | |
17 | without an argument searches for a file called mailbox\b\b\b\b\b\b\b_______, prints | |
18 | it if present, and asks if it should be saved. If the answer | |
19 | is "y", the mail is renamed mbox\b\b\b\b____, otherwise it is deleted. | |
20 | Mail\b\b\b\b____ with a -yn\b\b\b___ argument works the same way, except | |
21 | that the answer to the question is supplied by the argument. | |
22 | .sp | |
23 | When followed by the names of a letter | |
24 | and one or more people, | |
25 | the letter is appended to | |
26 | each person's mailbox\b\b\b\b\b\b\b_______. | |
27 | When a person\b\b\b\b\b\b______ is specified without a letter\b\b\b\b\b\b______, | |
28 | the letter is taken from the sender's standard input up to an EOT. | |
29 | Each letter is preceded by the sender's name and a postmark. | |
30 | ||
31 | A person\b\b\b\b\b\b______ is either | |
32 | a user name recognized by login\b\b\b\b\b_____, in which case the mail | |
33 | is sent to the default working directory of that user, | |
34 | or the path name of a directory, | |
35 | in which case mailbox\b\b\b\b\b\b\b_______ in that directory is used. | |
36 | .sp | |
37 | When a user logs in he is informed of the presence | |
38 | of mail. | |
39 | .sp | |
40 | .ti 0 | |
41 | FILES /etc/passwd to identify sender | |
42 | .br | |
43 | to locate persons | |
44 | .br | |
45 | mailbox input mail | |
46 | .br | |
47 | mbox saved mail | |
48 | .sp | |
49 | .ti 0 | |
50 | SEE ALSO login(I) | |
51 | .sp | |
52 | .ti 0 | |
53 | DIAGNOSTICS "Who are you?" | |
54 | if the user cannot be identified for some reason (a bug). | |
55 | "Cannot send to user" if mailbox\b\b\b\b\b\b\b_______ cannot be opened. | |
56 | .sp | |
57 | .ti 0 | |
58 | BUGS -- |