From owner-freebsd-questions Fri Feb 7 17:35:32 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id RAA16440 for questions-outgoing; Fri, 7 Feb 1997 17:35:32 -0800 (PST) Received: from nexgen.ampr.org (max12-80.HiWAAY.net [208.147.148.80]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id RAA16431 for ; Fri, 7 Feb 1997 17:35:25 -0800 (PST) Received: from nexgen.ampr.org (localhost [127.0.0.1]) by nexgen.ampr.org (8.8.4/8.8.4) with ESMTP id TAA14833; Fri, 7 Feb 1997 19:12:04 -0600 (CST) Message-Id: <199702080112.TAA14833@nexgen.ampr.org> X-Mailer: exmh version 1.6.9 8/22/96 To: Darryl Bowler cc: questions@FreeBSD.org From: dkelly@hiwaay.net Subject: Re: Xterms and ptys In-reply-to: Message from Darryl Bowler of "Fri, 07 Feb 1997 16:43:09 GMT." <199702071643.QAA09740@blinx.lizard.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 07 Feb 1997 19:12:04 -0600 Sender: owner-questions@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk > I have a problem where by my xterms will only use ptyp(1-f) - ptyq(1-f), ie > a maximum of 32 xterms. > > However I want more, I managed to alter MAKEDEV to generate ptys for ptyr(1-f), > ptys(1-f), but xterms will not use these? > > Does anyone know why? You have to compile more ptys into your kernel. I only have 16: nexgen: {181} cd /usr/src/sys/i386/conf nexgen: {182} grep pty NEXGEN pseudo-device pty 16 nexgen: {183} I started with a copy of GENERIC, edited it to my satisfaction, and named it NEXGEN, after my machine. Then execute: config NEXGEN # (or whatever) cd ../../compile/NEXGEN # ditto make make install shutdown -r now If the new kernel blows up, at the BootEasy prompt boot "kernel.old" or "kernel.GENERIC" and you should be running again. But before you reboot to the new kernel make sure you know what kernels you have in advance as its easier than asking BootEasy when your nerves are frayed and your system is bonko. -- David Kelly N4HHE, dkelly@hiwaay.net ===================================================================== The human mind ordinarily operates at only ten percent of its capacity -- the rest is overhead for the operating system.