From owner-freebsd-current@FreeBSD.ORG Tue Sep 26 17:18:59 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 31F0A16A4C8 for ; Tue, 26 Sep 2006 17:18:59 +0000 (UTC) (envelope-from bmr@google.com) Received: from smtp-out.google.com (smtp-out.google.com [216.239.45.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id CCA7F43D7D for ; Tue, 26 Sep 2006 17:18:07 +0000 (GMT) (envelope-from bmr@google.com) Received: from zps75.corp.google.com (zps75.corp.google.com [172.25.146.75]) by smtp-out.google.com with ESMTP id k8QHHxTb009676 for ; Tue, 26 Sep 2006 10:17:59 -0700 DomainKey-Signature: a=rsa-sha1; s=beta; d=google.com; c=nofws; q=dns; h=received:message-id:date:from:to:subject:in-reply-to: mime-version:content-type:content-transfer-encoding: content-disposition:references; b=iyGWbuYfOLk4WI+JVW9IfaBgV1tJnXTGdSoi8o5bnPd6hdN5R0HaUF3o0lvd5H2ww TFc9F9PZKzJ04TuZ7US0A== Received: from smtp-out2.google.com (fpr16.prod.google.com [10.253.18.16]) by zps75.corp.google.com with ESMTP id k8QE07kR027917 for ; Tue, 26 Sep 2006 10:17:55 -0700 Received: by smtp-out2.google.com with SMTP id 16so251234fpr for ; Tue, 26 Sep 2006 10:17:55 -0700 (PDT) Received: by 10.253.16.13 with SMTP id 13mr866165fpp; Tue, 26 Sep 2006 10:17:55 -0700 (PDT) Received: by 10.253.14.15 with HTTP; Tue, 26 Sep 2006 10:17:55 -0700 (PDT) Message-ID: <4f674ca50609261017j780788b0o5672914c2b511b84@mail.google.com> Date: Tue, 26 Sep 2006 19:17:55 +0200 From: "Magnus Ringman" To: current@freebsd.org In-Reply-To: <0C4B0125-11AA-4BDB-A4E3-163A6194AB68@alumni.cwru.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20060926111452.J91466@godot.imp.ch> <0C4B0125-11AA-4BDB-A4E3-163A6194AB68@alumni.cwru.edu> Cc: Subject: Re: What do you think ?: How should pseundo terminals behave ... 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, 26 Sep 2006 17:18:59 -0000 On 9/26/06, Justin Hibbits 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