I am considering writing a program that will watch the tty that it is run from
for a talk request and if one is found will send a response to the person.
My problem at this point is I don't know how to read from the tty for the talk
request? Is there an easy way to do this?
I have tried just opening the tty as a file and reading from it but that only
gets stuff typed at the keyboard. Things like the talk request seem to go
directly to the screen.
I would rewrite the talk daemon but then I would have to convince the sysadmin
of the system I use to use my talk daemon. So I would rather end up with a
program that could be run on any unix system.
Also, is there already a program out there that will do this?
Thanks in advance for any help.
--
Scott Sorrell