terry@fortytwo.UUCP (Terry Carlin) (04/04/88)
I am involved in a port of some communications software from unix v5.2 to SCO xenix-286. When I run the program connected at 1200 baud the software drops characters which arrive in bursts. The program forks then exec's a very small program which reads tty1A and sends the data through a named pipe to the main program. We have played around with setting VMIN and VTIME to various values. We have tried using read(), fread() and fgetc() with small amounts of luck but still drop some characters. We have UUCP running on same machine at 1200 baud with no problems. Any one out there have any suggestions, help etc. -- Terry Carlin UUCP: ihnp4!think!fortytwo!terry ARPA: TCarlin@BCO-MULTICS.ARPA My desk is a wilderness of Free Associations
davidsen@steinmetz.steinmetz.ge.com (William E. Davidsen Jr) (04/06/88)
Let's assume that you have some problem with the way you are calling the driver rather than a driver problem. Since cu, kermit, and zmodem all accept data at up to 9600 baud on a 286, is seems that there is a way to do it. Perhaps you should look at the code for kermit and zmodem, both public domain, and see if anything you're doing is similar enough to provide information. For what it's worth it sounds as though you're doing it right, but since other programs work obviously there's something not quite right. -- bill davidsen (wedu@ge-crd.arpa) {uunet | philabs | seismo}!steinmetz!crdos1!davidsen "Stupidity, like virtue, is its own reward" -me