Talk

Short description: Standard Unix utility

talk

Command-line Unix "talk", using a split screen user interface, was popular in the 1980s and early 1990s.

Operating system| Unix, Unix-like, V
Platform| Cross-platform

`talk` is a Unix text chat program, originally allowing messaging only between the users logged on to one multi-user computer--but later extended to allow chat to users on other systems.

Although largely superseded by IRC and other modern systems, it is still included with most Unix-like systems today, including Linux,[1] BSD systems[2] and macOS.[3]

## Contents

* 1 History
* 2 Security
* 3 See also
* 4 References
* 5 External links

## History

Similar facilities existed on earlier system such as Multics, CTSS, PLATO, and NLS.[4] Early versions of talk[when?] did not separate text from each user. Thus, if each user were to type simultaneously, characters from each user were intermingled. Since slow teleprinter keyboards were used at the time (11 characters per second maximum[citation needed]), users often could not wait for each other to finish. It was common etiquette for a long typing user to stop when intermingling occurred to see the listener's interrupting response. This is much the same as interrupting a long monologue when speaking in person. More modern versions use curses to break the terminal into multiple zones for each user, thus avoiding intermingling text.

In 1983, a new version of talk was introduced as a Unix command with 4.2BSD, and would also accommodate electronic conversations between users on different machines. Follow-ons to talk included `ntalk`, Britt Yenne's `ytalk`[5] and Roger Espel Llima's `utalk`.[6] ytalk was the first of these to allow conversations between more than two users, and was written in part to allow communication between users on computers with different endianness. utalk uses a special protocol over UDP (instead of TCP used by the rest) that is more efficient and allows edition of the entire screen. All of these programs split the interface into different sections for each participant. The interfaces did not convey the order in which statements typed by different participants would be reassembled into a log of the conversation. Also, all three programs are real-time text, where they transmit each character as it was typed. This leads to a more immediate feel to the discussion than recent instant messaging clients or IRC. Users more familiar with other forms of instant text communication would sometimes find themselves in embarrassing situations by typing something and deciding to withdraw the statement, unaware that other participants of the conversation had seen every keystroke happen in real time.

A similar program exists on VMS systems called `phone`.[7]

## Security

A popular program called "flash", which sent malformed information via the talk protocol, was frequently used by pranksters to corrupt the terminal output of the unlucky target in the early 1990s.[citation needed] It did this by including terminal commands in the field normally designated for providing the name of the person making the request. When the victim would receive the talk request, the name of the person sending the request would be displayed on their screen. This would cause the terminal commands to execute, rendering the person's display unreadable until they reset it. Later versions of talk blocked flash attempts and alerted the user that one had taken place. Later it became clear that, by sending different terminal commands, it is even possible to have the user execute commands. As it has proven impossible to fix all programs that output untrusted data to the terminal, modern terminal emulators have been rewritten to block this attack, though some may still be vulnerable.[8][9]

## See also

* List of Unix commands
* Talker, a chat system
* write (Unix)
* wall (Unix)

## References

1. ↑ man talk, ubuntu.com
2. ↑ man talk, freebsd.org
3. ↑ man talk, apple.com
4. ↑ Day, John (December 19, 2002). "[ih] Origin of 'talk' command". internet-history (Mailing list).
5. ↑ "YTalk – About". https://ytalk.ourproject.org.
6. ↑ "utalk – a UDP-based talk protocol". https://utalk.ourproject.org.
7. ↑ Vos, Marc H.E.. "Marc's Place – VMS – Phone". https://marc.vos.net/books/vms/help/phone/.
8. ↑ "Updated vte packages fix gnome-terminal vulnerability". February 24, 2003. http://rhn.redhat.com/errata/RHSA-2003-053.html.
9. ↑ Moore, H D; Digital Defense (July 11, 2009). "Gnome-Terminal Window Title Reporting Escape Sequence Command Execution Vulnerability". https://www.securityfocus.com/bid/6948/info.

## External links

* v
* t
* e

Unix command-line interface programs and shell builtins

File system|

* cat
* chmod
* chown
* chgrp
* cksum
* cmp
* cp
* dd
* du
* df
* file
* fuser
* ln
* ls
* mkdir
* mv
* pax
* pwd
* rm
* rmdir
* split
* tee
* touch
* type
* umask

Processes|

* at
* bg
* crontab
* fg
* kill
* nice
* ps
* time

User environment|

* env
* exit
* logname
* mesg
* talk
* tput
* uname
* who
* write

Text processing|

* awk
* basename
* comm
* csplit
* cut
* diff
* dirname
* ed
* ex
* fold
* head
* iconv
* join
* m4
* more
* nl
* paste
* patch
* printf
* sed
* sort
* strings
* tail
* tr
* uniq
* vi
* wc
* xargs

Shell builtins|

* alias
* cd
* echo
* test
* unset
* wait

Searching|

* find
* grep

Documentation|

* man

Software development|

* ar
* ctags
* lex
* make
* nm
* strip
* yacc

Miscellaneous|

* bc
* cal
* expr
* lp
* od
* sleep
* true and false

* Categories
* Standard Unix programs
* Unix SUS2008 utilities
* List

0.00

(0 votes)

|

Retrieved from "https://handwiki.org/wiki/index.php?title=Software:Talk&oldid=726840"
*[v]: View this template
*[t]: Discuss this template
*[e]: Edit this template