]> git.ipfire.org Git - thirdparty/util-linux.git/blame - term-utils/write.1.adoc
unshare: make sure map_range.next is initialized [coverity scan]
[thirdparty/util-linux.git] / term-utils / write.1.adoc
CommitLineData
295b3979 1//po4a: entry man manual
6cac37e3
MB
2////
3Copyright (c) 1989, 1993
4 The Regents of the University of California. All rights reserved.
5
6This code is derived from software contributed to Berkeley by
7Jef Poskanzer and Craig Leres of the Lawrence Berkeley Laboratory.
8
9Redistribution and use in source and binary forms, with or without
10modification, are permitted provided that the following conditions
11are met:
121. Redistributions of source code must retain the above copyright
13 notice, this list of conditions and the following disclaimer.
142. Redistributions in binary form must reproduce the above copyright
15 notice, this list of conditions and the following disclaimer in the
16 documentation and/or other materials provided with the distribution.
173. All advertising materials mentioning features or use of this software
18 must display the following acknowledgement:
19 This product includes software developed by the University of
20 California, Berkeley and its contributors.
214. Neither the name of the University nor the names of its contributors
22 may be used to endorse or promote products derived from this software
23 without specific prior written permission.
24
25THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
26ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
27IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
28ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
29FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
30DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
31OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
32HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
33LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
34OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
35SUCH DAMAGE.
36
37 @(#)write.1 8.1 (Berkeley) 6/6/93
38////
39= write(1)
40:doctype: manpage
f42ed819 41:man manual: User Commands
6cac37e3
MB
42:man source: util-linux {release-version}
43:page-layout: base
44:command: write
45
46== NAME
47
48write - send a message to another user
49
50*write* _user_ [_ttyname_]
51
52== DESCRIPTION
53
54*write* allows you to communicate with other users, by copying lines from your terminal to theirs.
55
56When you run the *write* command, the user you are writing to gets a message of the form:
57
58....
59Message from yourname@yourhost on yourtty at hh:mm ...
60....
61
62Any further lines you enter will be copied to the specified user's terminal. If the other user wants to reply, they must run *write* as well.
63
64When you are done, type an end-of-file or interrupt character. The other user will see the message *EOF* indicating that the conversation is over.
65
66You can prevent people (other than the superuser) from writing to you with the *mesg*(1) command. Some commands, for example *nroff*(1) and *pr*(1), may automatically disallow writing, so that the output they produce isn't overwritten.
67
68If the user you want to write to is logged in on more than one terminal, you can specify which terminal to write to by giving the terminal name as the second operand to the *write* command. Alternatively, you can let *write* select one of the terminals - it will pick the one with the shortest idle time. This is so that if the user is logged in at work and also dialed up from home, the message will go to the right place.
69
70The traditional protocol for writing to someone is that the string _-o_, either at the end of a line or on a line by itself, means that it's the other person's turn to talk. The string _oo_ means that the person believes the conversation to be over.
71
72== OPTIONS
73
2b2d3172 74include::man-common/help-version.adoc[]
6cac37e3
MB
75
76== HISTORY
77
0cf2e9d3 78A *write* command appeared in Version 5 AT&T UNIX (Jun 1974).
6cac37e3
MB
79
80== SEE ALSO
81
82*mesg*(1),
83*talk*(1),
84*who*(1)
85
625e9c61 86include::man-common/bugreports.adoc[]
6cac37e3 87
625e9c61 88include::man-common/footer.adoc[]
6cac37e3
MB
89
90ifdef::translation[]
625e9c61 91include::man-common/translation.adoc[]
6cac37e3 92endif::[]