Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'the 'write' command' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
the 'write' command
Authored by: parakleta on Nov 27, '03 11:14:39PM

A much better way to achieve the same thing is to use the write command. You simply type

> write username

and then after that, anything you type until a Ctrl-D or Ctrl-C will appear in the terminal of the recipient. You can also do

> write username < document

if you want to push a document over.

Another related feature is talk. You need to uncomment the talk daemon in the inetd.conf file

> sudo vi /etc/inetd.conf

you need to remove the '#' in front of the line starting with #ntalk, and then save the changes and run

> sudo kill -HUP `cat /var/run/xinetd.pid`

The only problem I've found is that for some reason the copy of talk included with Panther puts ^M instead of newlines. So I installed ytalk from the fink repositories and use that instead.



[ Reply to This | # ]