Re: What do you think ?: How should pseundo terminals behave ...

From: Magnus Ringman <bmr_at_google.com>
Date: Tue, 26 Sep 2006 19:17:55 +0200
On 9/26/06, Justin Hibbits <jrh29_at_alumni.cwru.edu> wrote:
> On Sep 26, 2006, at 05:33 , Martin Blapp wrote:
> > So how should ptys behave ?

> > 3.) Detect that there is no master around anymore and
> >     return ENXIO:
> >
> >     # echo "BLUBBER" > /dev/ttypX
> >     # /dev/ttypX: Device not configured
> >
> >     (easy to do, i've got a fix. IMHO this is the best thing to
> >     do. This allows fast error recovery in case the master
> >     has been gone away)

> > Martin
>
> I vote #3, it makes the most sense.

+1.

Magnus
Received on Tue Sep 26 2006 - 15:18:59 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:00 UTC