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

Annotation of src/usr.bin/talk/talk.1, Revision 1.12

1.12    ! aaron       1: .\"    $OpenBSD: talk.1,v 1.11 2000/03/23 21:39:55 aaron Exp $
1.1       deraadt     2: .\"    $NetBSD: talk.1,v 1.3 1994/12/09 02:14:23 jtc Exp $
                      3: .\"
                      4: .\" Copyright (c) 1983, 1990, 1993
                      5: .\"    The Regents of the University of California.  All rights reserved.
                      6: .\"
                      7: .\" Redistribution and use in source and binary forms, with or without
                      8: .\" modification, are permitted provided that the following conditions
                      9: .\" are met:
                     10: .\" 1. Redistributions of source code must retain the above copyright
                     11: .\"    notice, this list of conditions and the following disclaimer.
                     12: .\" 2. Redistributions in binary form must reproduce the above copyright
                     13: .\"    notice, this list of conditions and the following disclaimer in the
                     14: .\"    documentation and/or other materials provided with the distribution.
                     15: .\" 3. All advertising materials mentioning features or use of this software
                     16: .\"    must display the following acknowledgement:
                     17: .\"    This product includes software developed by the University of
                     18: .\"    California, Berkeley and its contributors.
                     19: .\" 4. Neither the name of the University nor the names of its contributors
                     20: .\"    may be used to endorse or promote products derived from this software
                     21: .\"    without specific prior written permission.
                     22: .\"
                     23: .\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
                     24: .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
                     25: .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
                     26: .\" ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
                     27: .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
                     28: .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
                     29: .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
                     30: .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
                     31: .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
                     32: .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
                     33: .\" SUCH DAMAGE.
                     34: .\"
                     35: .\"     @(#)talk.1     8.1 (Berkeley) 6/6/93
                     36: .\"
                     37: .Dd June 6, 1993
                     38: .Dt TALK 1
1.6       aaron      39: .Os
1.1       deraadt    40: .Sh NAME
                     41: .Nm talk
                     42: .Nd talk to another user
                     43: .Sh SYNOPSIS
                     44: .Nm talk
                     45: .Ar person
                     46: .Op Ar ttyname
                     47: .Sh DESCRIPTION
1.10      aaron      48: .Nm
1.1       deraadt    49: is a visual communication program which copies lines from your
                     50: terminal to that of another user.
                     51: .Pp
1.8       aaron      52: The command arguments are as follows:
1.1       deraadt    53: .Bl -tag -width ttyname
                     54: .It Ar person
                     55: If you wish to talk to someone on your own machine, then
                     56: .Ar person
1.10      aaron      57: is just the person's login name.
                     58: If you wish to talk to a user on another host, then
1.1       deraadt    59: .Ar person
                     60: is of the form
                     61: .Ql user@host .
                     62: .It Ar ttyname
                     63: If you wish to talk to a user who is logged in more than once, the
                     64: .Ar ttyname
                     65: argument may be used to indicate the appropriate terminal
                     66: name, where
                     67: .Ar ttyname
                     68: is of the form
                     69: .Ql ttyXX .
                     70: .El
                     71: .Pp
                     72: When first called,
1.10      aaron      73: .Nm
1.1       deraadt    74: sends the message
1.10      aaron      75: .Pp
1.1       deraadt    76: .Bd -literal -offset indent -compact
1.5       pjanzen    77: Message from Talk_Daemon@localhost...
1.1       deraadt    78: talk: connection requested by your_name@your_machine.
                     79: talk: respond with: talk your_name@your_machine
                     80: .Ed
                     81: .Pp
1.11      aaron      82: to the user you wish to talk to.
                     83: At this point, the recipient of the message should reply by typing
1.1       deraadt    84: .Pp
                     85: .Dl talk \ your_name@your_machine
                     86: .Pp
                     87: It doesn't matter from which machine the recipient replies, as
1.10      aaron      88: long as the login name is the same.
                     89: If the machine is not the one to which
1.3       pjanzen    90: the talk request was sent, it is noted on the screen.
                     91: Once communication is established,
1.1       deraadt    92: the two parties may type simultaneously, with their output appearing
1.10      aaron      93: in separate windows.
                     94: Typing control-L
                     95: .Pq Ql ^L
1.1       deraadt    96: will cause the screen to
1.12    ! aaron      97: be reprinted, while the erase, kill, and word kill characters will
1.10      aaron      98: behave normally.
1.12    ! aaron      99: To exit, just type the interrupt character;
1.10      aaron     100: .Nm
1.1       deraadt   101: then moves the cursor to the bottom of the screen and restores the
                    102: terminal to its previous state.
                    103: .Pp
                    104: Permission to talk may be denied or granted by use of the
                    105: .Xr mesg 1
1.10      aaron     106: command.
                    107: At the outset talking is allowed.
                    108: Certain commands, in particular
1.1       deraadt   109: .Xr nroff 1
                    110: and
                    111: .Xr pr 1 ,
                    112: disallow messages in order to
                    113: prevent messy output.
                    114: .Sh FILES
                    115: .Bl -tag -width /var/run/utmp -compact
                    116: .It Pa /etc/hosts
                    117: to find the recipient's machine
                    118: .It Pa /var/run/utmp
                    119: to find the recipient's tty
                    120: .El
                    121: .Sh SEE ALSO
                    122: .Xr mail 1 ,
                    123: .Xr mesg 1 ,
                    124: .Xr who 1 ,
                    125: .Xr write 1
1.9       aaron     126: .Sh HISTORY
                    127: The
                    128: .Nm
                    129: command appeared in
                    130: .Bx 4.2 .
1.1       deraadt   131: .Sh BUGS
                    132: The version of
                    133: .Xr talk 1
                    134: released with
                    135: .Bx 4.3
                    136: uses a protocol that
                    137: is incompatible with the protocol used in the version released with
                    138: .Bx 4.2 .