Subject: Re: "xterm: no available ptys"
To: Brian A. Seklecki - Stargate Industries, LLC - NOC <lavalist@stargate.net>
From: Eduardo Horvath <eeh@turbolinux.com>
List: port-sparc
Date: 07/21/2000 08:22:01
On Fri, 21 Jul 2000, Brian A. Seklecki - Stargate Industries, LLC - NOC wrote:

> Alright, I don't know whats up with this.
> 
> I recompiled with "OPTIONS UNCONSOLE" as well as:
> 
> pseudo-device   pty             256      # pseudo-ttys (for network, etc.)
> 
> Yet I still recieve the same error message after about 20 xterms.
> 
> I've ran /dev/MAKEDEV, same restul
> 
> I tried running "./MAKEDEV 1 ; ./MAKEDEV 2 " ...up to 15, same result

Make sure the pty device nodes are being created.

`MAKEDEV 1' won't work.  Try ./MAKEDEV pty1.

If you really do have all those pty device nodes created and you still 
get those errors then try running the program ktrace(1) to see what it's
trying to do.

> 
> Suggestions anyone?
> 
> 
> On Thu, 20 Jul 2000, Grey Wolf wrote:
> 
> > On Thu, 20 Jul 2000, Brian A. Seklecki - Stargate Industries, LLC - NOC wrote:
> > 
> > # Evening everyone:
> > # 
> > # Does it make sence that I have 15 xterms open and I'm out of PTYs
> > # already?  I also have XConsole, which probably snatches one as well.
> > # 
> > # Just doesn't make sence that the GENERIC kernel would only have, say, 20
> > # TTYs by default.  I'm downloading syssrc.tgz now and I'm going to roll one
> > # with more TTYs.
> > 
> > Did you MAKEDEV pty1 pty2 pty3 pty4 ...?
> > 
> > # 
> > # Insight anyone?
> > # 
> > # 
> > # Brian A. Seklecki                       Stargate Industries, LLC
> > # Network Operations Center               http://www.stargate.net/
> > # The Crane Building, Suite 300           (412) 316-STAR x7719 - voice
> > # 40 24th St.                             (412) 316-7899       - fax
> > # Pittsburgh, PA  15222                   BSeklecki@Stargate.Net
> > # 
> > # 
> > # 
> > 
> > 
> > 				--*greywolf;
> > 
> > 	/* Need OpenSource servers?  Try BSD - Solid as a Rock. */
> > 
> > 
> 

Eduardo Horvath