From owner-freebsd-hackers Sat Dec 25 16: 2:25 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from peach.ocn.ne.jp (peach.ocn.ne.jp [210.145.254.87]) by hub.freebsd.org (Postfix) with ESMTP id 81C9614CDE for ; Sat, 25 Dec 1999 16:02:23 -0800 (PST) (envelope-from dcs@newsguy.com) Received: from newsguy.com (dcs@p20-dn02kiryunisiki.gunma.ocn.ne.jp [210.163.200.117]) by peach.ocn.ne.jp (8.9.1a/OCN) with ESMTP id JAA11004; Sun, 26 Dec 1999 09:02:05 +0900 (JST) Message-ID: <38655A47.42E616B3@newsguy.com> Date: Sun, 26 Dec 1999 08:59:03 +0900 From: "Daniel C. Sobral" X-Mailer: Mozilla 4.7 [en] (Win98; I) X-Accept-Language: en,pt-BR,ja MIME-Version: 1.0 To: Leif Neland Cc: Justin Hawkins , freebsd-hackers@FreeBSD.ORG Subject: Re: Serial boot prompt messages and a modem References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Leif Neland wrote: > > > Just configure it correctly. Don't tell it to talk to a serial device > > that will be sending it gibberish. > > A hack would be to have the loader emit ATE0 to protect itself from > echoing modems. AFAIK, it would not protect against all modems. I think Winmodems, for instance, won't recognize that command. > Another, but perhaps annoying would be flushing the input buffer before > each read. It's not enough. At the baud rates a modem work at, even when echoing, the flush is likely to happen before the modem finishes echoing everything. -- Daniel C. Sobral (8-DCS) dcs@newsguy.com dcs@freebsd.org "Nice try, Lao Che." To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message