From owner-freebsd-current@FreeBSD.ORG Wed Jan 30 17:17:18 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9E5ED16A417 for ; Wed, 30 Jan 2008 17:17:18 +0000 (UTC) (envelope-from ed@hoeg.nl) Received: from palm.hoeg.nl (mx0.hoeg.nl [IPv6:2001:610:652::211]) by mx1.freebsd.org (Postfix) with ESMTP id 6488113C447; Wed, 30 Jan 2008 17:17:18 +0000 (UTC) (envelope-from ed@hoeg.nl) Received: by palm.hoeg.nl (Postfix, from userid 1000) id 55EF11CDEA; Wed, 30 Jan 2008 18:17:17 +0100 (CET) Date: Wed, 30 Jan 2008 18:17:17 +0100 From: Ed Schouten To: Dag-Erling =?iso-8859-1?Q?Sm=F8rgrav?= Message-ID: <20080130171717.GY67081@hoeg.nl> References: <20080128225308.GT67081@hoeg.nl> <200801291042.m0TAgU9C070678@fire.js.berklix.net> <86y7a7wcn8.fsf@ds4.des.no> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="WxvyIW12Aj7m0eTB" Content-Disposition: inline In-Reply-To: <86y7a7wcn8.fsf@ds4.des.no> User-Agent: Mutt/1.5.17 (2007-11-01) Cc: "Julian H. Stacey" , portsmaster@freebsd.org, FreeBSD Current Subject: Re: Turning COMPAT_43TTY into a binary-only compatibility X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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, 30 Jan 2008 17:17:18 -0000 --WxvyIW12Aj7m0eTB Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * Dag-Erling Sm=F8rgrav wrote: > None of that stuff should be using sgtty. Linux, for instance, only has > termios, not sgtty, so anything that runs on Linux must necessarily > already support termios, and it's just a matter of fixing it so it > doesn't insist on using sgtty instead. That only partially true. Linux supports termios and termio, but it's not hard to port termio apps to termios. I ported a lot of them last year. In the most simple cases, it was just a matter of replacing ioctl() with tc[gs]etattr() and you're finished. --=20 Ed Schouten WWW: http://g-rave.nl/ --WxvyIW12Aj7m0eTB Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (FreeBSD) iEYEARECAAYFAkegsR0ACgkQ52SDGA2eCwWGGACeIYETZXqPPrJdIjnGGB4bit0Y vDgAn1M5JvRrDKBf+V6ZSPSC+ouBMEQW =1Z6P -----END PGP SIGNATURE----- --WxvyIW12Aj7m0eTB--