From owner-freebsd-questions Tue May 23 8:59:49 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mailgw01.execpc.com (mailgw01.execpc.com [169.207.2.78]) by hub.freebsd.org (Postfix) with ESMTP id BFA7C37B7DC for ; Tue, 23 May 2000 08:59:45 -0700 (PDT) (envelope-from hamilton@pobox.com) Received: from woodstock.monkey.net (d28.as10.nwbl0.wi.voyager.net [169.207.131.28]) by mailgw01.execpc.com (8.9.1) id KAA11674; Tue, 23 May 2000 10:59:01 -0500 Received: from pobox.com (localhost [127.0.0.1]) by woodstock.monkey.net (Postfix) with ESMTP id EB80016F; Tue, 23 May 2000 11:03:42 -0500 (CDT) X-Mailer: exmh version 2.1.1 10/16/1999 To: Nick Slager Cc: Matija Matijevac , freebsd-questions@FreeBSD.ORG Subject: Re: More PTYs on FreeBSD 4.0 In-reply-to: Your message of "Tue, 23 May 2000 16:16:07 +1000." <20000523161607.B95389@albury.net.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 23 May 2000 11:03:42 -0500 From: Jon Hamilton Message-Id: <20000523160342.EB80016F@woodstock.monkey.net> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <20000523161607.B95389@albury.net.au>, Nick Slager wrote: } > I'm new in BSD, and I'm using FreeBSD 4.0 } > I have a lot of users on my computer, so, if they all } > run screen, i don't have enough pty's, and i get a message } > "Not enough PTYs". } > How to correct the problem? } > } } You'll need to recompile your kernel, paying attention to: } } pseudo-device pty 16 Your message was correct, except that part. In 4.0, the number of ptys is dynamic, so you actually just have pseudo-device pty in your config file. All you need to do to "add more" is to make sure the entries exist in /dev, then use them. -- Jon Hamilton hamilton@pobox.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message