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