Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Sep 2006 19:17:55 +0200
From:      "Magnus Ringman" <bmr@google.com>
To:        current@freebsd.org
Subject:   Re: What do you think ?: How should pseundo terminals behave ...
Message-ID:  <4f674ca50609261017j780788b0o5672914c2b511b84@mail.google.com>
In-Reply-To: <0C4B0125-11AA-4BDB-A4E3-163A6194AB68@alumni.cwru.edu>
References:  <20060926111452.J91466@godot.imp.ch> <0C4B0125-11AA-4BDB-A4E3-163A6194AB68@alumni.cwru.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On 9/26/06, Justin Hibbits <jrh29@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



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