Modem gives error

(gert@greenie.muc.de)
Wed, 24 Sep 1997 11:42:23 +0200


Hi,

Ben Stuyts wrote:
> On Wed, 24 Sep 1997, gert@greenie.muc.de (Gert Doering) wrote:
> 
> > Class 1 is not that hard, but it requires some very strict timing, which
> > you can't guarantee on (normal) unix systems. If you miss that timing,
> > faxing will get very unreliable.
> 
> Hi Gert,
> 
> There's something on FreeBSD that might help in such cases: rtprio
> 
> RTPRIO(1)   FreeBSD General Commands Manual   RTPRIO(1)
[..]

This is *one* way (using an external command, which is a Bad Thing to do
from something like "sendfax"). Linux has a C API to set real-time
priority, which is better, but still no guarantees about *real* 
real-time performance (which you might get with RT-Linux, but that's
still quite experimental).

SCO has nothing similar.

SGI has something like "high priority serial processes", with yet another
API...

> It is also used when burning cdrom's for example. How common is such a 
> command among various Unix implementations nowadays? I know NeXTSTEP has 
> something similar.
> 
> Anyway, just an idea. I don't care for class-1 either, but it might be 
> interesting to fool around with.

It will get very very ugly, and very very very much non-portable.

(Well... if someone is really wanting this, and is able to *cleanly*
implement it and port it to at least 6 platforms, I might integrate it
into the base line source... is that an offer?)

gert
-- 
USENET is *not* the non-clickable part of WWW!
           //www.muc.de/~gert/
Gert Doering - Munich, Germany      gert@greenie.muc.de
fax: +49-89-3545980     gert.doering@physik.tu-muenchen.de

.