From owner-freebsd-current@FreeBSD.ORG Thu Jan 26 08:40:49 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 DE5FC16A420; Thu, 26 Jan 2006 08:40:49 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from www.ebusiness-leidinger.de (jojo.ms-net.de [84.16.236.246]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0D4A743D76; Thu, 26 Jan 2006 08:40:42 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from Andro-Beta.Leidinger.net (p54A5CF56.dip.t-dialin.net [84.165.207.86]) (authenticated bits=0) by www.ebusiness-leidinger.de (8.13.1/8.13.1) with ESMTP id k0Q8WMlZ029967; Thu, 26 Jan 2006 09:32:22 +0100 (CET) (envelope-from Alexander@Leidinger.net) Received: from localhost (localhost [127.0.0.1]) by Andro-Beta.Leidinger.net (8.13.3/8.13.3) with ESMTP id k0Q8edpp092120; Thu, 26 Jan 2006 09:40:39 +0100 (CET) (envelope-from Alexander@Leidinger.net) Received: from pslux.cec.eu.int (pslux.cec.eu.int [158.169.9.14]) by webmail.leidinger.net (Horde MIME library) with HTTP; Thu, 26 Jan 2006 09:40:38 +0100 Message-ID: <20060126094038.ee2c8pk8go0k80kw@netchild.homeip.net> X-Priority: 3 (Normal) Date: Thu, 26 Jan 2006 09:40:38 +0100 From: Alexander Leidinger To: Robert Watson References: <20060126022854.GA16323@ci0.org> <20060126020818.K97024@fledge.watson.org> In-Reply-To: <20060126020818.K97024@fledge.watson.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) H3 (4.0.3) / FreeBSD-4.11 X-Virus-Scanned: by amavisd-new Cc: current@freebsd.org Subject: Re: HEADS UP: pts code committed 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: Thu, 26 Jan 2006 08:40:50 -0000 Robert Watson wrote: > > On Thu, 26 Jan 2006, Olivier Houchard wrote: > >> Robert Watson and myself have been working on a pts implementation, >> ala SysV/linux, for quite some time, and it finally went into the >> source tree. It does not replace the BSD-style pty however, and one >> can switch from one implementation to another by changing the >> kern.pts.enable sysctl. It defaults to the BSD-style ptys. It is not >> supposed to break anything, old program which only know about the >> BSD ptys should still work fine. however if it does, or if any other >> pts-related bug hurts you, please report it to me. > > Just as an FYI for why this is useful. With this implementation, we get: - Allows more linux programs to work. AFAIR I was told the Mathematica developers specially added code to not bail out if no pts device was available (but I mey remember a detail wrongly...). > - Can run side-by-side with the old pty driver so that applications expecting > hunt-and-peck lookup of a new pty, old pty names, and old pty security > properties can still get it. This means old binaries, even statically > linked, can continue to run. "Can" as in "you have to enable it", or as in "does already by default"? > - Sysctl to indicate to recent libc what type of pty to use -- presumably the > default will change after lots of exposure, testing, and review. So the sysctl is only for libc and we're encouraged to test the use of the "pts by default" mode? Bye, Alexander. -- http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137 There's only one way to have a happy marriage and as soon as I learn what it is I'll get married again. -- Clint Eastwood