[comp.sources.d] Pcomm problems with SunOs4 and Ultrix

bob@reed.UUCP (Bob Ankeney) (11/10/89)

     I'm trying to get pcomm running on two different systems: A Sun4 running
SunOs4, and a MicroVax II running Ultrix.

     On the Sun, I went with the BSD standards and defined USLEEP in dial.c
(I'm using patch level 5).  When I run it, I get connected, but then
nothing happens.  If I run it under gdb, it works fine!  (So much for
tracing the problem nicely).  Any ideas?

     Under Ultrix, I'm trying to get it to work with a shared modem.
There are a number of ioctl's used to deal with shared modems which I
duly added in port.c prior to the line_set() call.  But a write on the
port failed.  (I also commented out the close(open(...)) command because
this caused problems too).  Anyway, I used the ioctl's I had to add to
tip to make it work (I use a hacked version to handle xmodem protocol).
Has anyone managed to get pcomm to work with shared modems?

Thanks,

Bob Ankeney

---------------------------------------------------------------------------
Bob Ankeney                    | "Wise men talk because they have         |
...!tektronix!reed!bob         |  something to say; fools, because        |
...!tektronix!bob@reed.BITNET  |  they have to say something."            |
...!percy!bob@agravain.UUCP    |                                          |
                               | "He who talks by the yard and acts by    |
                               |  the inch should be kicked by the foot." |
---------------------------------------------------------------------------