Talk & select

Alexander Kaplan eed_waek at jhunix
Sat May 13 12:22:23 AEST 1989


I am trying to compile the BSD talk program (include old/talk
and ntalk) in our mips machine running Umip V.  The operating
system is a mix of Unix V 3.1 with BSD 4.3 socket.  After
some hacking, I found out that I need to modified some ioctl
and signal calls.  I changed all these and setup the inetd.
When I ran both talk and ntalk, I got the same errors.
Let me describe the error from old/talk which is seemed to have
less trouble.
1) When I initiate talk in a hardwired tty line, I get a message
   error waiting daemon with errno 22 -- invalid argument.
2) When I initiate talk in a ttyq line (i.e. ethernet connection),
   I get the same message: error waiting daemon with errno 2 --
   no such file or directory.
3) When I initiate talk in a ttyq line but redirect output to a
   file, I get the same message except with another errno 25 --
   not a typewriter.

When I looked into the program, I found this error was generated
after a call to select.

I am confused!!  Help!  How can different errno result from the
same call under slightly different condition??  Where is the
possible error?  Is it related to the signal and ioctl call?

Any help or pointer will be very much appreciated!

Chiu T. Law
e-mail address:
lawc at super.ece.jhu.edu
lawc at ef.ecn.purdue.edu
lawc at alpha.ece.jhu.edu
ph: (301)-338-7976



More information about the Comp.unix.questions mailing list