|
|
1.1 root 1:
2:
3: write Command write
4:
5:
6:
7:
8: Conduct interactive conversation with another user
9:
10: wwrriittee _u_s_e_r [ _t_t_y ]
11:
12: The COHERENT system provides several commands that allow users to
13: communicate with each other. write allows two logged-in users to
14: have an extended, interactive conversation.
15:
16: write initiates a conversation with user. If tty is given, write
17: looks for the user on that terminal; this is useful if a user is
18: marked as being logged in on more than one device. Otherwise,
19: write holds the conversation with the first instance of user
20: found on any tty.
21:
22: If found, write notifies user that you are beginning a conversa-
23: tion with him. All subsequent lines typed into write are for-
24: warded to the user's terminal, except lines beginning with `!',
25: which are sent to the shell sh. Typing end of file (usually
26: <ctrl-D>) terminates write and sends user the message ``EOT'' to
27: tell him that communication has ended.
28:
29: Two users typing lines to write at about the same time can cause
30: extreme confusion, so users should agree on a protocol to limit
31: when each is typing. The following protocol is suggested. One
32: user initiates a write to another, and waits until the other user
33: replies before beginning. The first user then types until he
34: wishes a reply and suffixes ``o'' (over) to indicate he is
35: through. The other user does the same, and the conversation al-
36: ternates until one user wishes to terminate it. This user types
37: ``oo'' (over and out). The other user replies in the same way,
38: indicating he too is finished. Finally each of the users leave
39: write by typing end-of-file (usually <ctrl-D>).
40:
41: Any user may deny others the permission to write to his terminal
42: by using the command mesg.
43:
44: ***** Files *****
45:
46: /eettcc/uuttmmpp
47: /dev/*
48:
49: ***** See Also *****
50:
51: commands, mail, mesg, msg, sh, wall, who
52:
53: ***** Notes *****
54:
55: You should use write only for extended conversations. Use msg to
56: send brief communications to a logged in user, and mail to com-
57: municate with a user not currently logged in. wall broadcasts a
58: message to all logged in users.
59:
60:
61:
62:
63:
64: COHERENT Lexicon Page 1
65:
66:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.