Dear Sun Managers,
This is a summary on how to add pseudo terminals on a SPARC, running
SunOS 4.x. Most of the responses, I got, mentioned two actions that need
to be taken:
1) A kernel needs to be configured. The following line in the
configuration file defines the number of pseudo terminals
supported by the kernel.
pseudo-device pty # pseudo-tty's, also needed for SunView
should be changed to:
pseudo-device pty<n> # pseudo-tty's, also needed for SunView
n indicates the number of ptys, by default n is 48. It would
probably be best to choose this number to be a multiple of 16
as 16 ptys are created at a time, if the MAKEDEV script is used
as described below. A maximum of 256 ptys are supported.
2) Devices need to be created. By using the /dev/MAKEDEV program
groups of ptys can be created. 3 groups of ptys probably exist by
default: pty[pqr]{0,..,f}. Therefore each group contains 16
devices. The first group is called pty0, the second pty1,... and
so one.
New groups can be created using MAKEDEV pty<g>, where g is the number
of group. For instance: MAKEDEV pty3 will create the following devices:
ptys0,..,ptys15. The relation between the letter s (and other letters)
to the group number is defined in the MAKEDEV script.
I hope this will be of some help.
Thanks to those who replied:
Christopher Nims <nims@andersen.com>
Ric Anderson <ric@cs.arizona.edu>
Brent Alan Wiese <brent@crick.ssctr.bcm.tmc.edu>
Daniel Quinlan <danq@lemond.Colorado.EDU>
Jim Davis <jdavis@noao.edu>
Gustavo Vegas <gustavo@ece.concordia.CA>
Michael Tripoli <Michael.Tripoli@Corp.Sun.COM>
trdlnk!mike@relay.EU.net (Michael Sullivan)
canuck@masc38.rice.edu (Mike Pearlman)
ken@sunPete Hartman <pwh@bradley.bradley.edu>
ken@sunrise.cse.fau.edu (Kenneth Maier)
Pete Hartman <pwh@bradley.bradley.edu>
halvard@trd.sdata.no (Halvard Halvorsen)
davee@lightning.mitre.org (David N. Edwards)
and to
stern@sunne.East.Sun.COM (Hal Stern)
for sending me a paper on "Building and Debugging SunOS Kernels".
-- Gunnar Orvarsson Internet: gunnaro@hafro.is Hafrannsoknastofnunin, Skulagotu 4 Telephone: +354 1 697909 (Marine Research Institute) Fax: +354 1 697991 P.O. Box 1390, Reykjavik, Iceland Home phone: +354 1 813253
This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:06:53 CDT