Described at
Once communication is established, the two parties can type simultaneously, with their output displayed in separate regions of the screen. Characters shall be processed as follows: Typing the erase and kill characters shall affect the sender's terminal in the manner described by the termios interface in XBD General Terminal Interface . Typing the interrupt or end-of-file characters shall terminate the local talk utility. Once the talk session has been terminated on one side, the other side of the talk session shall be notified that the talk session has been terminated and shall be able to do nothing except exit. Typing characters from LC CTYPE classifications print or space shall cause those characters to be sent to the recipient's terminal. When and only when the stty iexten local mode is enabled, the existence and processing of additional special control characters and multi-byte or single-byte functions shall be implementation-defined. Typing other non-printable characters shall cause implementation-defined sequences of printable characters to be sent to the recipient's terminal. Certain block-mode terminals do not have all the capabilities necessary to support the simultaneous exchange of messages required for talk . When this type of exchange cannot be supported on such terminals, the implementation may support an exchange with reduced levels of simultaneous interaction or it may report an error describing the terminal-related deficiency. The recipient of the talk session. One form of address is the , as returned by the who utility. Other address formats and how they are handled are unspecified. Provide a default value for the internationalization variables that are unset or null. (See XBD Internationalization Variables for the precedence of internationalization variables used to determine the values of locale categories.) If set to a non-empty string value, override the values of all the other internationalization variables. Determine the locale for the interpretation of sequences of bytes of text data as characters (for example, single-byte as opposed to multi-byte characters in arguments and input files). If the recipient's locale does not use an LC CTYPE equivalent to the sender's, the results are undefined. Determine the locale that should be used to affect the format and contents of diagnostic messages written to standard error and informative messages written to standard output. [XSI) ] ![[Option Start]]( Determine the location of message catalogs for the processing of LC MESSAGES. ![[Option End]]( When the talk utility receives a SIGINT signal, the utility shall terminate and exit with a zero status. It shall take the standard action for all other signals. If standard output is a terminal, characters copied from the recipient's standard input may be written to standard output. Standard output also may be used for diagnostic messages. If standard output is not a terminal, talk shall exit with a non-zero status. Because the handling of non-printable, non- characters is tied to the stty description of iexten , implementation extensions within the terminal driver can be accessed. For example, some implementations provide line editing functions with certain control character sequences. The write utility was included in this volume of POSIX.1-2017 since it can be implemented on all terminal types. The talk utility, which cannot be implemented on certain terminals, was considered to be a "better" communications interface. Both of these programs are in widespread use on historical implementations. Therefore, both utilities have been specified. Historical BSD and System V versions of talk terminate both of the conversations when either user breaks out of the session. This can lead to adverse consequences if a user unwittingly continues to enter text that is interpreted by the shell when the other terminates the session. Therefore, the version of talk specified by this volume of POSIX.1-2017 requires both u
Excerpt from a page describing this subject · 12,075 chars · not written by Vinony
Wikidata facts
- Image
- Unix talk screenshot 01.png
Show 2 more facts
- described at URL
- pubs.opengroup.org/onlinepubs/9699919799/utilities/talk.html
- operating system
- Unix
Sources (2)
via Wikidata · CC0
Article · 日本語
talk(トーク)は、もともとUnixが稼働している単一のマルチユーザコンピュータ上の複数のユーザ間で、ライブテキストコミュニケーションを行うためのプログラムであった。最終的には、異なるマシン上のユーザ間での電子会議を行うようになった。talkに続くプログラムには、ntalkやytalkがある。ytalkは初めて3人以上での会話が出来るようになったプログラムである。これらのプログラムは全て、インタフェースを参加者ごとに異なるセクションに区切っていた。インタフェースは、異なる参加者がタイプしたメッセージが、会話ログに再構成される順序を伝えなかった。また、これら3つのプログラムは書く文字を入力と同時に転送していたので、最近のインスタントメッセンジャーやIRCよりも会議している感じがしていた。 talkは1970年代にはDEC PDP-11コンピュータシステムで利用できた。もっとも初期の段階では、talkはユーザごとにテキストを区切っていなかった。そのため、お互いが同時にタイプすると、それぞれの文字が混ざってしまった。当時は遅いテレタイプキーボード(最大で毎秒11文字)が使用されていたので、ユーザは相手が終わるのを待つことが出来ないことがしばしばあった。長文を入力しているユーザは、相手の応答が中断した事による混信が起きた場合には入力を中止するというのが一般的なエチケットであった。これは人が話しているときに長い会話を中断するのとほぼ同じである。 最近のUnixバージョンのtalkは画面をユーザごとにゾーン分けするという技術を導入したため、テキストの混合は避けられている。 talkプロトコルで不正な形式の情報を送信する"flash"というプログラムが、不幸な標的のターミナル出力を破壊させる悪戯のために、1990年代によく使用された。これは、通常はリクエストを送信する人の名前を入力するところにターミナルコマンドを記入することで行われる。生け贄がtalkリクエストを受信すると、リクエストを送信した人の名前がスクリーンに表示される。これによりターミナルコマンドが実行され、リセットするまでディスプレイに解読できない文字を表示する。talkの最近のバージョンでは"flash"をブロックし、悪戯を試みたユーザに警告を送信するようになっている。
Abstract from DBpedia / Wikipedia · CC BY-SA
Available in 15 languages
- Español
- Français
- 日本語
- Italiano
- Azerbaijani
- Central Kurdish
- Finnish
- Hungarian
- Lombard
- Nederlands
- Polski
- Svenska
- Türkçe
- 한국어
via Wikidata sitelinks · CC0