From owner-freebsd-questions Mon Aug 11 22:01:09 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id WAA29114 for questions-outgoing; Mon, 11 Aug 1997 22:01:09 -0700 (PDT) Received: from crh.cl.msu.edu (crh.cl.msu.edu [35.8.1.24]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id WAA29099 for ; Mon, 11 Aug 1997 22:00:31 -0700 (PDT) Received: (from henrich@localhost) by crh.cl.msu.edu (8.8.5/8.8.5) id BAA25567; Tue, 12 Aug 1997 01:00:24 -0400 (EDT) Message-ID: <19970812010023.32932@crh.cl.msu.edu> Date: Tue, 12 Aug 1997 01:00:23 -0400 From: Charles Henrich To: freebsd-questions@freebsd.org Subject: serial programming Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.80 X-Operating-System: FreeBSD 2.2.2-RELEASE X-PGP-Fingerprint: 1024/F7 FD C7 3A F5 6A 23 BF 76 C4 B8 C9 6E 41 A4 4F Sender: owner-freebsd-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Does anyone know of a good place to look for some sample code of sio() programming under freebsd, handling CTS/RTS etc.. ? I got a real nasty chunk of code that is doing CTS/RTS handling in a tight busy loop checing CTS/RTS with ioctl calls, and setting them appropriately. I figure there *has* to be a better way, but I've never done any real serial code... Any and all assistance greatly appreciated! -Crh Charles Henrich Michigan State University henrich@msu.edu http://pilot.msu.edu/~henrich