[BACK]Return to write.1 CVS log [TXT][DIR] Up to [local] / src / usr.bin / write

Diff for /src/usr.bin/write/write.1 between version 1.6 and 1.7

version 1.6, 2000/03/06 03:17:41 version 1.7, 2000/03/14 14:58:27
Line 1 
Line 1 
 .\"     $OpenBSD$  .\"     $OpenBSD$
   .\"
 .\" Copyright (c) 1989, 1993  .\" Copyright (c) 1989, 1993
 .\"     The Regents of the University of California.  All rights reserved.  .\"     The Regents of the University of California.  All rights reserved.
 .\"  .\"
Line 46 
Line 47 
 .Ar user  .Ar user
 .Op Ar ttyname  .Op Ar ttyname
 .Sh DESCRIPTION  .Sh DESCRIPTION
 .Nm write  .Nm
 allows you to communicate with other users, by copying lines from  allows you to communicate with other users, by copying lines from
 your terminal to theirs.  your terminal to theirs.
 .Pp  .Pp
 When you run the  When you run the
 .Nm write  .Nm
 command, the user you are writing to gets a message of the form:  command, the user you are writing to gets a message of the form:
 .Pp  .Pp
 .Dl Message from yourname@yourhost on yourtty at hh:mm ...  .Dl Message from yourname@yourhost on yourtty at hh:mm ...
Line 59 
Line 60 
 Any further lines you enter will be copied to the specified user's  Any further lines you enter will be copied to the specified user's
 terminal.  terminal.
 If the other user wants to reply, they must run  If the other user wants to reply, they must run
 .Nm write  .Nm
 as well.  as well.
 .Pp  .Pp
 When you are done, type an end-of-file or interrupt character.  When you are done, type an end-of-file or interrupt character.
 The other user will see the message  The other user will see the message
 .Ql EOF  .Dq EOF
 indicating that the  indicating that the conversation is over.
 conversation is over.  
 .Pp  .Pp
 You can prevent people (other than the super-user) from writing to you  You can prevent people (other than the superuser) from writing to you
 with the  with the
 .Xr mesg 1  .Xr mesg 1
 command.  command.
Line 81 
Line 81 
 If the user you want to write to is logged in on more than one terminal,  If the user you want to write to is logged in on more than one terminal,
 you can specify which terminal to write to by specifying the terminal  you can specify which terminal to write to by specifying the terminal
 name as the second operand to the  name as the second operand to the
 .Nm write  .Nm
 command.  command.
 Alternatively, you can let  Alternatively, you can let
 .Nm write  .Nm
 select one of the terminals \- it will pick the one with the shortest  select one of the terminals \- it will pick the one with the shortest
 idle time.  idle time.
 This is so that if the user is logged in at work and also dialed up from  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.  home, the message will go to the right place.
 .Pp  .Pp
 The traditional protocol for writing to someone is that the string  The traditional protocol for writing to someone is that the string
 .Ql \-o ,  .Dq \-o ,
 either at the end of a line or on a line by itself, means that it's the  either at the end of a line or on a line by itself, means that it's the
 other person's turn to talk.  other person's turn to talk.
 The string  The string
 .Ql oo  .Dq oo
 means that the person believes the conversation to be  means that the person believes the conversation to be
 over.  over.
 .Sh SEE ALSO  .Sh SEE ALSO
Line 109 
Line 109 
 .At v6 .  .At v6 .
 .Sh BUGS  .Sh BUGS
 The  The
 .Ql EOF  .Dq EOF
 message seen when the other  message seen when the other
 .Nm write  .Nm
 terminates is indistinguishable from that party simply typing  terminates is indistinguishable from that party simply typing
 .Ql EOF  .Dq EOF
 to make you believe that any future messages did not come from them.  to make you believe that any future messages did not come from them.
 Especially messages such as:  Especially messages such as:
   .Pp
 .Dl "[1]    Done                   rm -rf *"  .Dl "[1]    Done                   rm -rf *"

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7