SUMMARY: Help adding more ttys

From: Mark Boyns (
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)
Christopher Nims <nims@Andersen.COM>
Clive Newall <clive@asis.unimelb.EDU.AU> (Matt Goheen) (Ivan Angus - ne Dean) (Andreas Schulz)
Denis Beauchemin <>
Brent Alan Wiese <>
ups!upstage!glenn@fourx.Aus.Sun.COM (Glenn Satchell)
zygot!apple!! (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) (Johannes Grosen)
Frank Peters <fwp@CC.MsState.Edu>
Nick Murray <>
Ray Brownrigg <> (F. L. Charles Seeger III) (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: (Andreas Schulz)
Subject: Re: Help adding more ttys
Newsgroups: info.sun-managers
Organization: GMD-FIRST, Berlin
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 ( or )

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

Thanks again,


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