From owner-freebsd-current@FreeBSD.ORG Wed Nov 3 11:18:15 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1A80216A4CE for ; Wed, 3 Nov 2004 11:18:15 +0000 (GMT) Received: from nagual.pp.ru (pobrecita.freebsd.ru [194.87.13.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id 68D9143D1F for ; Wed, 3 Nov 2004 11:18:14 +0000 (GMT) (envelope-from ache@pobrecita.freebsd.ru) Received: from pobrecita.freebsd.ru (ache@localhost [127.0.0.1]) by nagual.pp.ru (8.13.1/8.13.1) with ESMTP id iA3BIDCM013165; Wed, 3 Nov 2004 14:18:13 +0300 (MSK) (envelope-from ache@pobrecita.freebsd.ru) Received: (from ache@localhost) by pobrecita.freebsd.ru (8.13.1/8.13.1/Submit) id iA3BIDXO013164; Wed, 3 Nov 2004 14:18:13 +0300 (MSK) (envelope-from ache) Date: Wed, 3 Nov 2004 14:18:13 +0300 From: Andrey Chernov To: Poul-Henning Kamp Message-ID: <20041103111813.GB13047@nagual.pp.ru> Mail-Followup-To: Andrey Chernov , Poul-Henning Kamp , current@freebsd.org References: <20041103111157.GA12950@nagual.pp.ru> <16110.1099480534@critter.freebsd.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <16110.1099480534@critter.freebsd.dk> User-Agent: Mutt/1.5.6i X-AntiVirus: checked by AntiVir Milter (version: 1.1; AVE: 6.28.0.12; VDF: 6.28.0.50; host: pobrecita.freebsd.ru) cc: current@freebsd.org Subject: Re: Recent TTYDEF_LFLAG default change X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Nov 2004 11:18:15 -0000 On Wed, Nov 03, 2004 at 12:15:34PM +0100, Poul-Henning Kamp wrote: > Because if you open a serial port and it defaults to echo, you may end up in > an "echo-war" with the other end before you ever get a chance to call > ioctl and disable echoing. Well, use TTYDEF_LFLAG_NOECHO I suggest for that case and leave user-visible default untouched to not break userland programs. -- http://ache.pp.ru/