*BSD News Article 3796


Return to BSD News archive

Path: sserve!manuel!munnari.oz.au!uunet!charon.amdahl.com!amdahl!JUTS!phoenix!gpw10
From: gpw10@phoenixcd.amdahl.com (Gary Ward)
Newsgroups: comp.unix.bsd
Subject: Re: Open xterm
Message-ID: <672s02IJ1eYc01@JUTS.ccc.amdahl.com>
Date: 18 Aug 92 04:46:24 GMT
References: <IeX81Ee00WB8R3NEp6@andrew.cmu.edu>
Sender: netnews@ccc.amdahl.com
Organization: Amdahl Corporation, Sunnyvale CA
Lines: 28

In article <IeX81Ee00WB8R3NEp6@andrew.cmu.edu>, tj2n+@andrew.cmu.edu
(Tao Jiang) writes:
> Hi, can somebody tell me how I can open more than two xterms?
> 
> I tried to open the third xterm today, but it complained as:
> xterm: no available ptys
> 
> Thanx in advance!

This is a limit compiled into the distribution kernel.  In the
GENERICISA file (/sys/i386/conf/GENERICISA, or whatever you call your
configuration file) change the line:

	psuedo-device	pty	4

to

	psuedo-device	pty

and then rebuild the kernel.  I have had more than a dozen xterms up at
once after this fix.
-- 
+------------------------+---------------------------+
| Gary Ward              |  Amdahl Corporation       |
| gpw10@cd.amdahl.com    |  1250 East Arques Avenue  |
| Phone : (408)746-8865  |  P.O. Box 3470 M/S 142    |
|                        |  Sunnyvale, CA 94088-3470 | 
+------------------------+---------------------------+