|
|
1.1 root 1: .\" @(#)write.1 6.2 (Berkeley) 5/5/86
2: .\"
3: .TH WRITE 1 "May 5, 1986"
4: .AT 3
5: .SH NAME
6: write \- write to another user
7: .SH SYNOPSIS
8: .B write
9: user [ ttyname ]
10: .SH DESCRIPTION
11: .I Write
12: copies lines from your terminal to that of
13: another user.
14: When first called,
15: it sends the message
16: .PP
17: Message from yourname@yoursystem on yourttyname at time...
18: .PP
19: The recipient of the message should write back at this point.
20: Communication continues until an end of file is
21: read from the terminal or an interrupt is sent.
22: At that point
23: .I write
24: writes `EOT' on the other terminal and exits.
25: .PP
26: If you want to write to a user who is logged in more than once,
27: the
28: .I ttyname
29: argument may be used to indicate the
30: appropriate terminal name.
31: .PP
32: Permission to write may be denied or granted by use of the
33: .I mesg
34: command.
35: At the outset writing is allowed.
36: Certain commands, in particular
37: .I nroff
38: and
39: .IR pr (1)
40: disallow
41: messages in order to prevent messy output.
42: .PP
43: If the character `!' is found at the beginning of a line,
44: .I write
45: calls the shell
46: to execute the rest of the
47: line as a command.
48: .PP
49: The following protocol is suggested for using
50: .IR write :
51: when you first write to another user, wait for him to
52: write back before starting to send.
53: Each party should end each message with a distinctive
54: signal\(em\fB(o)\fR
55: for `over' is conventional\(emthat the other may reply.
56: .B (oo)
57: for `over and out' is suggested when conversation
58: is about to be terminated.
59: .SH FILES
60: /etc/utmp to find user
61: .br
62: /bin/sh to execute `!'
63: .SH "SEE ALSO"
64: mesg(1), who(1), mail(1)
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.