Date: Thu, 6 May 1999 17:06:44 +1200 (NZST) From: Jonathan Chen <jonc@pinnacle.co.nz> To: Grifter <grifter@shaw.wave.ca> Cc: freebsd-questions@freebsd.org Subject: Re: comport usage Message-ID: <Pine.SC5.4.10.9905061703480.29343-100000@kiwi.pinnacle.co.nz> In-Reply-To: <3.0.1.32.19990505214923.00697cf8@mail.cal.shaw.wave.ca>
next in thread | previous in thread | raw e-mail | index | archive | help
[Please Cc: freebsd-questions]
On Wed, 5 May 1999, Grifter wrote:
> i have looked over the topics you sent me and most seem to be leaning
> toward C+ program. If i go out and buy this book will it have any Perl
> examples or will they all be C+ examples?
These are mainly C examples; I am unsure whether perl supports
serial-line settings. Maybe someone else on the list can tell you.
> At 03:10 PM 5/6/99 +1200, you wrote:
> >On Wed, 5 May 1999, Grifter wrote:
> >
> >[..]
> >> i have read that i can open the comport like a file but how do i set
> >> parity,baudrate, stopbits, startbits etc.... Are there any examples that i
> >> could look at or any help files i can use? or hell just someone out there
> >> willing to help?
> >
> >Check out tcsetattr(3) and termios(4).
> >
> >Get your hands on "Advanced Programming in the UNIX Environment" by
> >Stevens for examples.
> >
Jonathan Chen
----------------------------------------------------------------------
"Nyuck, nyuck, nyuck!" - Curly
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.SC5.4.10.9905061703480.29343-100000>
