Commit | Line | Data |
---|---|---|
b42446ed DR |
1 | .th WRITE I 8/5/73 |
2 | .sh NAME | |
3 | write \*- write to another user | |
4 | .sh SYNOPSIS | |
5 | .bd write | |
6 | user [ ttyno ] | |
7 | .sh DESCRIPTION | |
8 | .it Write | |
9 | copies lines from your typewriter to that of | |
10 | another user. | |
11 | When first called, | |
12 | it sends the message | |
13 | .s3 | |
14 | message from yourname... | |
15 | .s3 | |
16 | The recipient of the message should write back at this point. | |
17 | Communication continues until an end of file is | |
18 | read from the typewriter or an interrupt is sent. | |
19 | At that point | |
20 | .it write | |
21 | writes `EOT' on the other terminal and exits. | |
22 | .s3 | |
23 | If you want to write to a user who is logged in more than once, | |
24 | the | |
25 | .it ttyno | |
26 | argument may be used to indicate the last character | |
27 | of the appropriate typewriter name. | |
28 | .s3 | |
29 | Permission to write may be denied or granted by use of the | |
30 | .it mesg | |
31 | command. | |
32 | At the outset writing is allowed. | |
33 | Certain commands, in particular | |
34 | .it roff | |
35 | and | |
36 | .it pr, | |
37 | disallow | |
38 | messages in order to prevent messy output. | |
39 | .s3 | |
40 | If the character `!' is found at the beginning of a line, | |
41 | .it write | |
42 | calls the mini-shell | |
43 | .it msh | |
44 | to execute the rest of the | |
45 | line as a command. | |
46 | .s3 | |
47 | The following protocol is suggested for using | |
48 | .it write: | |
49 | when you first write to another user, wait for him to | |
50 | write back before starting to send. | |
51 | Each party should end each message with a distinctive | |
52 | signal | |
53 | ( | |
54 | .bd (o) | |
55 | for `over' is conventional) that the other may reply. | |
56 | .bd (oo) | |
57 | (for `over and out') is suggested when conversation | |
58 | is about to be terminated. | |
59 | .sh FILES | |
60 | /tmp/utmp to find user | |
61 | .br | |
62 | /etc/msh to execute `!' | |
63 | .sh "SEE ALSO" | |
64 | mesg(I), who(I) | |
65 | .sh BUGS |