From owner-freebsd-questions Sat Dec 9 15:12:36 2000 From owner-freebsd-questions@FreeBSD.ORG Sat Dec 9 15:12:34 2000 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from fedde.littleton.co.us (cfedde.dsl.frii.net [216.17.139.141]) by hub.freebsd.org (Postfix) with ESMTP id 727C837B400 for ; Sat, 9 Dec 2000 15:12:34 -0800 (PST) Received: from fedde (localhost [127.0.0.1]) by fedde.littleton.co.us (8.11.0/8.11.0.Beta3) with ESMTP id eB9NCGJ78456; Sat, 9 Dec 2000 16:12:16 -0700 (MST) Message-Id: <200012092312.eB9NCGJ78456@fedde.littleton.co.us> To: Don Wilde Cc: freebsd-questions@FreeBSD.ORG Subject: Re: serial data In-Reply-To: <3A32AD6D.6A4DFD79@Silver-Lynx.com> From: Chris Fedde Date: Sat, 09 Dec 2000 16:12:16 -0700 Sender: cfedde@fedde.littleton.co.us Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sat, 09 Dec 2000 15:08:45 -0700 Don Wilde wrote: +------------------ | Hi, folks - | | I'm trying to talk through a serial port, and freebsd's fighting me | every step of the way. (seems that way!) | | I've got a microcontroller spitting out 2400 baud characters to ttyd1, | and not all that fast at that. My problem is that the getty process | doesn't seem amenable to control. I tried changing gettytab and ttys, | and I don't seem to have control of things. I can't get echo to stay | off, I can't get it to stay in clocal mode. My C program reading it is | just a simple getc/putc copy function like what's on page 3 of every C | book in sight. | | Even poking with stty doesn't seem to affect it, at least not all the | time. Sometimes sending | | stty -f /dev/ttyd1 clocal && ./inputprog