From owner-freebsd-questions Fri Mar 20 16:50:11 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA12931 for freebsd-questions-outgoing; Fri, 20 Mar 1998 16:50:11 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from pong.ping.at (pong.ping.at [193.81.13.2]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA12861 for ; Fri, 20 Mar 1998 16:49:51 -0800 (PST) (envelope-from ahuber@ping.at) Received: from a011.static.Vienna.AT.EU.net (a011.static.Vienna.AT.EU.net [193.154.186.11]) by pong.ping.at (8.8.8/8.8.8) with SMTP id BAA06833 for ; Sat, 21 Mar 1998 01:49:49 +0100 (CET) Message-Id: <199803210049.BAA06833@pong.ping.at> From: "Andreas Huber" To: "freebsd-questions@FreeBSD.ORG" Date: Sat, 21 Mar 98 01:49:16 Reply-To: "Andreas Huber" X-Mailer: PMMail 1.95a For OS/2 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Subject: Serial port access (Reformatted) Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, I'm planning on implementing/porting a proprietary communication protocol (binary, packet oriented) to FreeBSD (and Linux) and was wondering what the options are for accessing the serial port. Do I use tty(4) and termios(4) or are there alternatives that better suit the task? How does PPP do it? TIA, Andreas P.S.: I'm sorry if fact that my mailer breaks lines 132 chars annoyed some of you. But there's no reason to accuse me of using Microsoft products ;-). To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message