Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Dec 1995 14:59:26 -0500 (EST)
From:      Rashid  Karimov <rashid@rk.ios.com>
To:        shovey@buffnet.net (steve hovey)
Cc:        huck@slartibartfast.nosc.mil, freebsd-questions@freebsd.org
Subject:   Re: pty limit of 64
Message-ID:  <199512291959.OAA10977@rk.ios.com>
In-Reply-To: <Pine.SCO.3.91.951229130434.28236D-100000@buffnet3.buffnet.net> from "steve hovey" at Dec 29, 95 01:05:43 pm

next in thread | previous in thread | raw e-mail | index | archive | help
		Hi there folx,


> 
> On Fri, 29 Dec 1995, Craig Huckabee wrote:
> 
> > 
> > 
> > 	Is there a way to increase the number of ptys beyond 64?
> 
> Id like to know this too - if you try for more than 64 and recmopile the 
> kernal you get a warning - is there something someplace which uses only 
> so many bits thus capping it at 64?

	Not sure for the earlier versions , but  at least starting 
	with 205 one can safely ignore this warning - system
	does perfectly work with more that 64 ptys - personally
	I have 256 of 'em on most systems - works fine..
	The other Q is that probably some application will not go so
	far searching for the next available pty master - the old
	screen was an example - but it pretty easy to fix in any
	given case( they usually define kinda static char array
	with first letters for the ptys).

	The other solution could be clone device - but this will kill
	even more applications - all those with #ifdef BSD work exclusively
	via old mechanism and it's not the SVR4 based one :(

	Rashid




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