please help the pathetic ones ...

Jan Vicherek (honza@ied.com)
Sun, 24 Jan 1999 10:41:33 -0500



  hi,

On Sun, 24 Jan 1999, Gert Doering wrote:

> On Sun, Jan 24, 1999 at 01:34:58AM -0500, Jan Vicherek wrote:
> >                         chBuf = getc(fsend);
> >                         putc(chBuf, frec);
> >                         putc(chBuf, lsend);
> >                         putc(chBuf, lall);
> 
> This is the main problem - you have to make sure that the device doesn't
> block, and uses the proper baud rate, etc. - see a POSIX book about the
> "termios" interface.

  Aha. I wouldn't know much about termios :-( .. I guess that it's a bad
disposition when one wants to write a comm. programm ! :-)

> (For now, just use Marc's tool :),

   what's that ? What's Marc's tool ?

> but if you want to write one yourself, you need to do "raw" IO to the
> port first).
> 
> Here is what I wrote, for about the same purpose, some years ago - is also
> fairly pathetic, needs GOBS of CPU, but was enough to find some nasties in
> a commercial Windows fax program :)

  [ code snip ]

   Thanks Gert ! We'll give it a try and let you know ...

    see yea,

         Jan

 -- Gospel of Jesus is the saving power of God for all who believe --
                ## To some, nothing is impossible. ##
                   http://Vicherek.Waterloo.on.ca/