📄 talk.1
字号:
.\" SCCSID: @(#)talk.1 8.1 9/11/90.TH talk 1.SH Nametalk, otalk \- talk to another user.SH Syntax.B talk\fIperson\fR [\|\fIttyname\fR\|].PP.B otalk\fIperson\fR [\|\fIttyname\fR\|].SH Description.NXR "talk program".NXR "otalk program".NXA "talk program" "write command".NXA "mesg command" "talk program".NXR "message" "interactive"The.PN talkcommand is a visual communication program whichcopies lines from your terminal to that ofanother user..PP If you wish to talk to someone on your own machine, then.I personis just the person's login name. If you wish to talk toa user on another host, then.I personis of the form :.EXhost!user orhost.user orhost:user oruser@host.EEThe formuser@host is perhaps preferred..PPIf you want to talk to a user who is logged in more than once,the.I ttynameargument may be used to indicate theappropriate terminal name..PPWhen first called,it sends the message.EXMessage from TalkDaemon@his_machine...talk: connection requested by your_name@your_machine.talk: respond with: talk your_name@your_machine.EE.PPto the user you wish to talk to. At this point, the recipientof the message should reply by typing .EXtalk \ your_name@your_machine.EE.PPIt doesn't matter from which machine the recipient replies, as long as his login-name isthe same.Once communication is established, the two parties may type simultaneously, with their output appearing in separate windows. Typing Ctrl-L will cause the screen to be reprinted, while your erase, kill, and word kill characters will work in talk as normal.To exit,just type your interrupt character;.PN talkthen moves the cursor to the bottom of the screen and restores the terminal..PPPermission to talk may be denied or granted by use of the.I mesgcommand.At the outset talking is allowed.Certain commands, in particular.PN nroffand .MS pr 1disallow messages in order to prevent messy output..PPIn order to use the.PN talkprogram with machines on your network thatmay be running earlier versions of ULTRIX, you must initiatea session with the command.PN otalk(/usr/ucb/otalk) instead of the command.PN talk .You must also respond to a request from a machine running an olderversion of the.PN talkprogram with the.PN otalkcommand. See the Restrictions section..SH ExamplesThe following example demonstrates how to use the.PN otalkcommand. In this case, user1, whose system (system1) is runningULTRIX V2.2 initiates a session with user2, whose system (system2)is running ULTRIX V3.0. User1 types the following:.EXsystem1> talk user2@system2.EEThe following message appears on the screen of user2:.EXMessage from Talk_Daemon@system2 at 12:37 ...talk: connection requested by user1@system1.talk: respond with: otalk user1@system1.EETo establish the connection user2 follows the instructionsfrom the Talk_Daemon and types the following at the systemprompt:.EXsystem2> otalk user1@system1.EE.SH RestrictionsThe version of.PN talkreleased with ULTRIX V3.0 uses a protocol that is incompatible with theprotocol used in earlier versions. Starting with ULTRIX V3.0, the.PN talkprogramcommunicates with other machines running ULTRIX, V3.0 (and later), and machines running 4.3 BSD or versions of UNIX based on 4.3 BSD..PPThe.PN talkcommand is not 8-bit clean. Typing in DECMultinational Characters (DECMCS) causes the charactersto echo as a sequence of a carets (^) followed by thecharacter represented with its high bit cleared. This limitation makes.PN talkunusable ifyou want to communicate using a language which has DECMCS charactersin its alphabet..SH Files.TP 15.PN /etc/hoststo find the recipient's machine.TP 15.PN /etc/utmpto find the recipient's tty.SH See Alsomail(1), mesg(1), who(1), write(1), talkd(8c)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -