From owner-cvs-all@FreeBSD.ORG Thu Jan 26 17:02:13 2006 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0F03C16A420; Thu, 26 Jan 2006 17:02:13 +0000 (GMT) (envelope-from marcus@FreeBSD.org) Received: from av-tac-rtp.cisco.com (bantam.cisco.com [64.102.19.199]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3D22F43D45; Thu, 26 Jan 2006 17:02:12 +0000 (GMT) (envelope-from marcus@FreeBSD.org) X-TACSUNS: Virus Scanned Received: from rooster.cisco.com (localhost [127.0.0.1]) by av-tac-rtp.cisco.com (8.11.7p1+Sun/8.11.7) with ESMTP id k0QH2Bj19231; Thu, 26 Jan 2006 12:02:11 -0500 (EST) Received: from [171.69.215.93] (dhcp-171-69-215-93.cisco.com [171.69.215.93]) by rooster.cisco.com (8.11.7p1+Sun/8.11.7) with ESMTP id k0QH2Bm13625; Thu, 26 Jan 2006 12:02:11 -0500 (EST) Message-ID: <43D90096.3080403@FreeBSD.org> Date: Thu, 26 Jan 2006 12:02:14 -0500 From: Joe Marcus Clarke Organization: FreeBSD, Inc. User-Agent: Thunderbird 1.5 (Macintosh/20051201) MIME-Version: 1.0 To: Olivier Houchard References: <200601260130.k0Q1UY1j009666@repoman.freebsd.org> In-Reply-To: <200601260130.k0Q1UY1j009666@repoman.freebsd.org> X-Enigmail-Version: 0.93.2.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/conf files src/sys/kern tty_pts.c tty_pty.c src/sys/sys ttycom.h X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Jan 2006 17:02:13 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Olivier Houchard wrote: > cognet 2006-01-26 01:30:34 UTC > > FreeBSD src repository > > Modified files: > sys/conf files > sys/kern tty_pty.c > sys/sys ttycom.h > Added files: > sys/kern tty_pts.c > Log: > Bring in a sysv-style pts implementation, as found in the rwatson_pts perforce branch. It works the same as its SysV/linux counterpart : You obtain a fd to the master pseudo terminal by opening /dev/ptmx, which craetes a node for the master as /dev/pty[num] and a node for the slave as /dev/pts/[num]. > It should play nicely with the existing BSD ptys. > By default, the system will use the BSD ptys, one can set the sysctl > kern.pts.enable to 1 to make it use the new pts system. > The max number of pty that can be allocated on a system can be changed with the > sysctl kern.pts.max. It defaults to 1000, and can be increased, but it is not > recommanded, as any pty with a number > 999 won't be handled by whatever uses > utmp(5). Olivier, can you bump __FreeBSD_version for this. I know there are some ports that can make use of this API. I'm a bit behind in my email, so if you've already done this, sorry for the noise. Joe - -- Joe Marcus Clarke FreeBSD GNOME Team :: gnome@FreeBSD.org FreeNode / #freebsd-gnome http://www.FreeBSD.org/gnome -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFD2QCWb2iPiv4Uz4cRAkNrAJ9I4JI8mj6keeY7YH6TVh5Qer6UEQCfQnEE d6u5AGu1hgESoZHlLbGzfn4= =t7VD -----END PGP SIGNATURE-----