From owner-freebsd-arch@FreeBSD.ORG Mon Jun 21 14:22:17 2004 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E2D6116A4CE for ; Mon, 21 Jun 2004 14:22:17 +0000 (GMT) Received: from smtp01.syd.iprimus.net.au (smtp01.syd.iprimus.net.au [210.50.30.52]) by mx1.FreeBSD.org (Postfix) with ESMTP id B747E43D5E for ; Mon, 21 Jun 2004 14:22:17 +0000 (GMT) (envelope-from tim@robbins.dropbear.id.au) Received: from robbins.dropbear.id.au (210.50.44.176) by smtp01.syd.iprimus.net.au (7.0.028) id 40D65C3600032B50; Tue, 22 Jun 2004 00:22:04 +1000 Received: by robbins.dropbear.id.au (Postfix, from userid 1000) id D709841CB; Tue, 22 Jun 2004 00:25:17 +1000 (EST) Date: Tue, 22 Jun 2004 00:25:17 +1000 From: Tim Robbins To: Poul-Henning Kamp Message-ID: <20040621142517.GB74902@cat.robbins.dropbear.id.au> References: <16537.1087820650@critter.freebsd.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <16537.1087820650@critter.freebsd.dk> User-Agent: Mutt/1.4.1i cc: arch@freebsd.org cc: marcel@xcllnt.net Subject: Re: COMPAT_43 tty processing ? X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Jun 2004 14:22:18 -0000 On Mon, Jun 21, 2004 at 02:24:10PM +0200, Poul-Henning Kamp wrote: > > Do we need the COMPAT_43 tty processing in 5-STABLE ? I assume you mean that you want to remove the option entirely, not just take it out of GENERIC. Whether we need it or not depends what we're willing to break: most screen-oriented programs in early releases of FreeBSD used it, either by linking with libcurses, issuing the ioctls directly, or by calling the widely-used ttyname() function. I think removing the compatibility tty ioctls would make COMPAT_43 incomplete and largely worthless; either we support running FreeBSD 1.x/2.x binaries or we don't. On one hand, I would like to see the mostly-unused code removed to facilitate whatever tty work you're doing, but on the other hand, I see the ability to run old binaries as one of the things that sets us apart from Linux. Tim