ICode9

精准搜索请尝试: 精确搜索
首页 > 其他分享> 文章详细

talk命令帮助文档

2019-04-11 14:38:59  阅读:214  来源: 互联网

标签:name may machine 命令 文档 user your talk


TALK(1)                   BSD General Commands Manual                  TALK(1)

NAME
     talk — talk to another user

SYNOPSIS
     talk person [ttyname]

DESCRIPTION
     Talk is a visual communication program which copies lines from your ter‐
     minal to that of another user.

     Options available:

     person   If you wish to talk to someone on your own machine, then person
              is just the person's login name.  If you wish to talk to a user
              on another host, then person is of the form ‘user@host’.

     ttyname  If you wish to talk to a user who is logged in more than once,
              the ttyname argument may be used to indicate the appropriate
              terminal name, where ttyname is of the form ‘ttyXX’ or ‘pts/X’.

     When first called, talk contacts the talk daemon on the other user's
     machine, which sends the message
           Message from TalkDaemon@his_machine...
           talk: connection requested by your_name@your_machine.
           talk: respond with: talk your_name@your_machine

     to that user. At this point, he then replies by typing

           talk  your_name@your_machine

     It doesn't matter from which machine the recipient replies, as long as
     his login name is the same.  Once communication is established, the two
     parties may type simultaneously; their output will appear in separate
     windows.  Typing control-L (^L) will cause the screen to be reprinted.
     The erase, kill line, and word erase characters (normally ^H, ^U, and ^W
     respectively) will behave normally.  To exit, just type the interrupt
     character (normally ^C); talk then moves the cursor to the bottom of the
     screen and restores the terminal to its previous state.

     As of netkit-ntalk 0.15 talk supports scrollback; use esc-p and esc-n to
     scroll your window, and ctrl-p and ctrl-n to scroll the other window.
     These keys are now opposite from the way they were in 0.16; while this
     will probably be confusing at first, the rationale is that the key combi‐
     nations with escape are harder to type and should therefore be used to
     scroll one's own screen, since one needs to do that much less often.

     If you do not want to receive talk requests, you may block them using the
     mesg(1) command.  By default, talk requests are normally not blocked.
     Certain commands, in particular nroff(1), pine(1), and pr(1), may block
     messages temporarily in order to prevent messy output.

FILES
     /etc/hosts     to find the recipient's machine
     /var/run/utmp  to find the recipient's tty

SEE ALSO
     mail(1), mesg(1), who(1), write(1), talkd(8)

BUGS
     The protocol used to communicate with the talk daemon is braindead.

     Also, the version of talk(1) released with 4.2BSD uses a different and
     even more braindead protocol that is completely incompatible. Some vendor
     Unixes (particularly those from Sun) have been found to use this old pro‐
     tocol. There's a patch from Juan-Mariano de Goyeneche
     (jmseyas@dit.upm.es) which makes talk/talkd, if compiled with -DSUN_HACK,
     compatible with SunOS/Solaris' ones. It converts messages from one proto‐
     col to the other.

     Old versions of talk may have trouble running on machines with more than
     one IP address, such as machines with dynamic SLIP or PPP connections.
     This problem is fixed as of netkit-ntalk 0.11, but may affect people you
     are trying to communicate with.

HISTORY
     The talk command appeared in 4.2BSD.

Linux NetKit (0.17)            November 24, 1999           Linux NetKit (0.17)

 

标签:name,may,machine,命令,文档,user,your,talk
来源: https://www.cnblogs.com/soldierback/p/10689508.html

本站声明: 1. iCode9 技术分享网(下文简称本站)提供的所有内容,仅供技术学习、探讨和分享;
2. 关于本站的所有留言、评论、转载及引用,纯属内容发起人的个人观点,与本站观点和立场无关;
3. 关于本站的所有言论和文字,纯属内容发起人的个人观点,与本站观点和立场无关;
4. 本站文章均是网友提供,不完全保证技术分享内容的完整性、准确性、时效性、风险性和版权归属;如您发现该文章侵犯了您的权益,可联系我们第一时间进行删除;
5. 本站为非盈利性的个人网站,所有内容不会用来进行牟利,也不会利用任何形式的广告来间接获益,纯粹是为了广大技术爱好者提供技术内容和技术思想的分享性交流网站。

专注分享技术,共同学习,共同进步。侵权联系[81616952@qq.com]

Copyright (C)ICode9.com, All Rights Reserved.

ICode9版权所有