From owner-freebsd-questions Fri Dec 29 12:03:11 1995 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id MAA10167 for questions-outgoing; Fri, 29 Dec 1995 12:03:11 -0800 (PST) Received: from rk.ios.com (rk.ios.com [198.4.75.55]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id MAA10162 for ; Fri, 29 Dec 1995 12:03:09 -0800 (PST) Received: (from rashid@localhost) by rk.ios.com (8.6.11/8.6.9) id OAA10977; Fri, 29 Dec 1995 14:59:26 -0500 From: Rashid Karimov Message-Id: <199512291959.OAA10977@rk.ios.com> Subject: Re: pty limit of 64 To: shovey@buffnet.net (steve hovey) Date: Fri, 29 Dec 1995 14:59:26 -0500 (EST) Cc: huck@slartibartfast.nosc.mil, freebsd-questions@freebsd.org In-Reply-To: from "steve hovey" at Dec 29, 95 01:05:43 pm X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-questions@freebsd.org Precedence: bulk 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