Annotation of 43BSDReno/usr.bin/write/write.1, revision 1.1.1.1

1.1       root        1: .\" Copyright (c) 1989 The Regents of the University of California.
                      2: .\" All rights reserved.
                      3: .\"
                      4: .\" This code is derived from software contributed to Berkeley by
                      5: .\" Jef Poskanzer and Craig Leres of the Lawrence Berkeley Laboratory.
                      6: .\"
                      7: .\" Redistribution and use in source and binary forms are permitted
                      8: .\" provided that the above copyright notice and this paragraph are
                      9: .\" duplicated in all such forms and that any documentation,
                     10: .\" advertising materials, and other materials related to such
                     11: .\" distribution and use acknowledge that the software was developed
                     12: .\" by the University of California, Berkeley.  The name of the
                     13: .\" University may not be used to endorse or promote products derived
                     14: .\" from this software without specific prior written permission.
                     15: .\" THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
                     16: .\" IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
                     17: .\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
                     18: .\"
                     19: .\"    @(#)write.1     6.3 (Berkeley) 11/21/89
                     20: .\"
                     21: .TH WRITE 1 "November 21, 1989"
                     22: .UC 4
                     23: .SH NAME
                     24: write - send a message to another user
                     25: .SH SYNOPSIS
                     26: .B write user
                     27: [
                     28: .B ttyname
                     29: ]
                     30: .ft R
                     31: .SH DESCRIPTION
                     32: .I Write
                     33: allows you to communicate with other users, by copying lines from
                     34: your terminal to theirs.
                     35: .PP
                     36: When you run the
                     37: .I write
                     38: command, the user you are writing to gets a message of the form:
                     39: .sp
                     40: .nf
                     41: .ti +5
                     42: Message from yourname@yourhost on yourtty at hh:mm ...
                     43: .fi
                     44: .sp
                     45: Any further lines you enter will be copied to the specified user's
                     46: terminal.
                     47: If the other user wants to reply, they must run
                     48: .I write
                     49: as well.
                     50: .PP
                     51: When you are done, type an end-of-file or interrupt character.
                     52: The other user will see the message ``EOF'' indicating that the
                     53: conversation is over.
                     54: .PP
                     55: You can prevent people (other than the super-user) from writing to you
                     56: with the
                     57: .IR mesg (1)
                     58: command.
                     59: Some commands, for example
                     60: .I nroff
                     61: and
                     62: .IR pr ,
                     63: disallow writing automatically, so that your output isn't overwritten.
                     64: .PP
                     65: If the user you want to write to is logged in on more than one terminal,
                     66: you can specify which terminal to write to by specifying the terminal
                     67: name as the second operand to the
                     68: .I write
                     69: command.
                     70: Alternatively, you can let
                     71: .I write
                     72: select one of the terminals \- it will pick the one with the shortest
                     73: idle time.
                     74: This is so that if the user is logged in at work and also dialed up from
                     75: home, the message will go to the right place.
                     76: .PP
                     77: The traditional protocol for writing to someone is that the string ``-o'',
                     78: either at the end of a line or on a line by itself, means that it's the
                     79: other person's turn to talk.
                     80: The string ``o-o'' means that the person believes the conversation to be
                     81: over.
                     82: .SH "SEE ALSO"
                     83: mesg(1), talk(1), who(1)

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.