From owner-freebsd-current@FreeBSD.ORG Tue Feb 17 20:05:10 2009 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6D9E31065670 for ; Tue, 17 Feb 2009 20:05:10 +0000 (UTC) (envelope-from ed@hoeg.nl) Received: from palm.hoeg.nl (mx0.hoeg.nl [IPv6:2001:7b8:613:100::211]) by mx1.freebsd.org (Postfix) with ESMTP id 2AAA58FC13 for ; Tue, 17 Feb 2009 20:05:10 +0000 (UTC) (envelope-from ed@hoeg.nl) Received: by palm.hoeg.nl (Postfix, from userid 1000) id 8952D1CC77; Tue, 17 Feb 2009 21:05:09 +0100 (CET) Date: Tue, 17 Feb 2009 21:05:09 +0100 From: Ed Schouten To: Maksim Yevmenkin Message-ID: <20090217200509.GJ79178@hoeg.nl> References: <20090217110524.GC79178@hoeg.nl> <499A9C9D.3000403@protected-networks.net> <20090217115651.GE79178@hoeg.nl> <20090217175512.GG79178@hoeg.nl> <20090217182128.GH79178@hoeg.nl> <20090217192152.GI79178@hoeg.nl> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="mHEGYOlXWdrdotU2" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.19 (2009-01-05) Cc: Michael Butler , current@freebsd.org Subject: Re: HEADS UP: IFF_NEEDSGIANT consumers to be disabled, removed 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: Tue, 17 Feb 2009 20:05:10 -0000 --mHEGYOlXWdrdotU2 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * Maksim Yevmenkin wrote: > its not all about speed. its about flexibility. Yes, but abusing TTYs reduces flexibility. Once you're doing stuff in user space, try to keep it there. There is no reason why one should prefer to use pts(4) to exchange data between processes when pipes are sufficient for the particular scenario. Depending on pseudo-terminals makes your application less portable and even less likely to work in the future. Just see what happened here. FreeBSD now uses a more standard pseudo-terminal allocation interface and stuff breaks. TTY implementations have never proven to be portable at all. --=20 Ed Schouten WWW: http://80386.nl/ --mHEGYOlXWdrdotU2 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iEYEARECAAYFAkmbGHUACgkQ52SDGA2eCwXzCQCdF12N59Jpykm5QwQxvwxM0Nz6 LbYAn0A4W6glWbTYeHH7WxmGosKT+zWv =ZuUf -----END PGP SIGNATURE----- --mHEGYOlXWdrdotU2--