comp.lang.ada
 help / color / mirror / Atom feed
From: "David C. Hoos" <david.c.hoos.sr@ada95.com>
Subject: Re: Is There Non Blocking IO Routines For ADA under unix?
Date: Wed, 30 Oct 2002 12:30:50 -0600
Date: 2002-10-30T12:30:50-06:00	[thread overview]
Message-ID: <mailman.1036002662.18675.comp.lang.ada@ada.eu.org> (raw)
In-Reply-To: 3dc0133f_4@corp.newsgroups.com


----- Original Message -----
From: "Rick Beaver" <ghforms@gibsonholders.com>
Newsgroups: comp.lang.ada
To: <comp.lang.ada@ada.eu.org>
Sent: Wednesday, October 30, 2002 11:34 AM
Subject: Is There Non Blocking IO Routines For ADA under unix?


> Hi, I am attempting to write a terminal emulator to debug serial ports.
> I would like to use ADA/GNAT under FreeBSD. I could use C but what is the
> fun in that? Any suggestion for non blocking code?

I have, for several years, now, used the terminal characteristic types and
subprograms in the florist library.

This allows full control of the terminal characteristics binding (if memory
serves
me correctly) to the tcsetattr and tcgetattr functions of the C runtime.

This approach has provided flawless performance at up to 256,000 bps.

The POSIX packages (libflorist) only supports setting Baud Rates of up to
38,400, but the devices I was using (a PCMCIA modem implementing
tactical protocols) supported setting the baud rate with a command issued
at the start-up baud rate of 9600.




  reply	other threads:[~2002-10-30 18:30 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-30 17:34 Is There Non Blocking IO Routines For ADA under unix? Rick Beaver
2002-10-30 18:30 ` David C. Hoos [this message]
2002-10-31 15:04   ` Rick Beaver
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox