FacetTerm  
 
FacetCorp
 

Adding PTS Lines for SunOS Platform


The first thing that needs to be done is to tune the kernel for 256 ptys by changing the pseudo-device line in the config file. On a sun4c, follow the instructions in the file /sys/sun4c/conf/README. On a sun4, the file is /sys/sun4/conf/README. On a sun4m, the file is /sys/sun4m/conf/README.

Change in the config file, e.g. /sys/sun4c/conf/GENERIC, pseudo-device line from:

pseudo-device pty # pseudo-tty's, also needed for SunView

to:

pseudo-device pty256 # pseudo-tty's, also needed for SunView

As part of the configuration, you may also want to increase:

maxusers 8

to a bigger number using the guidelines in the config file.

After generating and booting the new kernel:

to create the pty files in the /dev/ directory.

Note that this will add entries to the /etc/ttytab file. These entries default to secure. Depending on local requirements, you may wish to change them to unsecure. See the SunOS manual page, ttytab(5), for more information on /etc/ttytab.