Penguin
Annotated edit history of write(1) version 1, including all changes. View license author blame.
Rev Author # Line
1 perry 1 ----
2 __NAME__
3
4
5 write - send a message to another user
6 __SYNOPSIS__
7
8
9 write user [[ttyname]
10 __DESCRIPTION__
11
12
13 Write allows you to communicate with other users, by copying
14 lines from your terminal to theirs.
15
16
17 When you run the write command, the user you are writing to gets a message of the form:
18
19
20 Message from yourname@yourhost on yourtty at hh:mm
21 ...
22
23
24 Any further lines you enter will be copied to the specified
25 user's terminal. If the other user wants to reply, they must
26 run write as well.
27
28
29 When you are done, type an end-of-file or interrupt charac-
30 ter. The other user will see the message EOF
31 indicating that the conversation is over.
32
33
34 You can prevent people (other than the super-user) from
35 writing to you with the mesg(1)
36 command.
37
38
39 If the user you want to write to is logged in on more than
40 one terminal, you can specify which terminal to write to by
41 specifying the terminal name as the second operand to the
42 write command. Alternatively, you can let write select one
43 of the terminals - it will pick the one with the shortest
44 idle time. This is so that if the user is logged in at work
45 and also dialed up from home, the message will go to the
46 right place.
47
48
49 The traditional protocol for writing to someone is that the
50 string -o, either at the end of a line or on a line
51 by itself, means that it's the other person's turn to talk.
52 The string oo means that the person believes the
53 conversa- tion to be over.
54 __SEE ALSO__
55
56
57 mesg(1), talk(1), wall(1),
58 who(1)
59 __HISTORY__
60
61
62 A write command appeared in Version 1 AT
63 .
64
65
66 BSD June 6, 1993 1
67 ----
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.