SUMMARY: Help adding more ttys

From: Mark Boyns (boyns%hercules@sdsu.edu)
Date: Mon Nov 02 1992 - 20:01:41 CST


Everyone gave basically the same solution:

        Change the kernel pseudo-device pty to pseudo-device ptyXXX.

Thanks to all of you who repsonded so quickly:

stern@sunne.East.Sun.COM (Hal Stern - NE Area Systems Engineer)
Jacqueline_True.DlosNSC@xerox.com
Christopher Nims <nims@Andersen.COM>
Clive Newall <clive@asis.unimelb.EDU.AU>
matt@wbst845e.xerox.com (Matt Goheen)
ivan@durras.anu.edu.au (Ivan Angus - ne Dean)
ats@prosun.first.gmd.de (Andreas Schulz)
Denis Beauchemin <denis.beauchemin@dmi.usherb.ca>
Brent Alan Wiese <brent@crick.ssctr.bcm.tmc.edu>
ups!upstage!glenn@fourx.Aus.Sun.COM (Glenn Satchell)
zygot!apple!taux01.nsc.com!celita@trout.nosc.mil
guy@auspex.com (Guy Harris)
wallen@cogsci.UCSD.EDU (Mark R. Wallen)
ups!kevin@fourx.Aus.Sun.COM (Kevin Sheehan {Consulting Poster Child})
mattson@cs.UCSD.EDU (Jim Mattson)
grosen@isc.cs.ndsu.nodak.edu (Johannes Grosen)
Frank Peters <fwp@CC.MsState.Edu>
Nick Murray <nick@computing-science.aberdeen.ac.uk>
Ray Brownrigg <Ray.Brownrigg@isor.vuw.ac.nz>
seeger@thedon.cis.ufl.edu (F. L. Charles Seeger III)
jdavis@noao.edu (Jim Davis)
Daniel Quilan <danq@lemond.Colorado.EDU>
mark@isis.Berkeley.EDU <mark kraitchman>

The following solution best summarizes how to fix the problem:

Date: Sun, 1 Nov 92 22:47:48 +0100
From: ats@prosun.first.gmd.de (Andreas Schulz)
To: boyns%hercules@sdsu.edu
Subject: Re: Help adding more ttys
Newsgroups: info.sun-managers
Organization: GMD-FIRST, Berlin
Cc:
Content-Length: 706
X-Lines: 15
Status: RO

you must also build at some time a new kernel, to configure more ptys.
You must change the line "pseudo-device pty" to something like
"pseudo-device pty255". Be warned, don't use 256, this wraps to 0 :-).
The default, as i found in the files, should be something like 48.
The line in the config file generates a "pty.h" in the kernel built
dir, that has a default "NPTY 1" in it, and the only reference for this
"NPTY" is under "/sys/os" in the file "tty_ptyconf.c" that looks for
the special case if NPTY == 1 and changes this to 48.

-- 
	  ATS ( ats@first.gmd.de or ats@cs.tu-berlin.de )

Andreas Schulz GMD-FIRST O-1199 Berlin-Adlershof Rudower Chaussee 5 Gebaeude 13.7 Tel: 030-6704-2658

Thanks again,

Mark boyns@sciences.sdsu.edu



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:06:52 CDT