Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Feb 2009 21:05:09 +0100
From:      Ed Schouten <ed@80386.nl>
To:        Maksim Yevmenkin <maksim.yevmenkin@gmail.com>
Cc:        Michael Butler <imb@protected-networks.net>, current@freebsd.org
Subject:   Re: HEADS UP: IFF_NEEDSGIANT consumers to be disabled, removed
Message-ID:  <20090217200509.GJ79178@hoeg.nl>
In-Reply-To: <bb4a86c70902171151g7cc1c23xd5ee3950c2158b80@mail.gmail.com>
References:  <20090217110524.GC79178@hoeg.nl> <499A9C9D.3000403@protected-networks.net> <20090217115651.GE79178@hoeg.nl> <bb4a86c70902170950u7ec9523fl4e39360b71b66d59@mail.gmail.com> <20090217175512.GG79178@hoeg.nl> <bb4a86c70902171003v1a85b077p923e4e0e3fa1436d@mail.gmail.com> <20090217182128.GH79178@hoeg.nl> <bb4a86c70902171107t1ff97a95h1bf67938dc675e8c@mail.gmail.com> <20090217192152.GI79178@hoeg.nl> <bb4a86c70902171151g7cc1c23xd5ee3950c2158b80@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--mHEGYOlXWdrdotU2
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

* Maksim Yevmenkin <maksim.yevmenkin@gmail.com> 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 <ed@80386.nl>
 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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090217200509.GJ79178>