Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Sep 1998 09:11:54 +1200
From:      Jonathan Chen <jonc@pinnacle.co.nz>
To:        waskita adijarto <waskita@itb.ac.id>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: HowTo acces the serial port
Message-ID:  <Pine.SGI.4.02.9809020909440.7257-100000@tui.pinnacle.co.nz>
In-Reply-To: <Pine.BSF.3.96.980901154237.3076A-100000@elka-gtw.ee.itb.ac.id>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 1 Sep 1998, waskita adijarto wrote:

> how can I access the serial port under FreeBSD ( set baud rate, parity,
> send & read data, etc) ? is there any URL I can read ? 

>From a programming interface, check out the termios functions:
tcsetattr(3), cfsetspeed(3) etc.

If you want to do it from the shell, check out stty(1).

Jonathan Chen
------------------------------------------------------------------------
"We laugh in the face of danger, we drop icecubes down the vest of fear"
                                                 - Edmond Blackadder III


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.SGI.4.02.9809020909440.7257-100000>