Configuring Streams on 386/ix
Doug McCallum
dougm at ico.isc.com
Sat Sep 1 00:01:59 AEST 1990
In article <1990Aug30.004527.5158 at virtech.uucp> cpcahil at virtech.UUCP (Conor P. Cahill) writes:
>In article <1990Aug29.135121.219 at coyote.uucp> ejm at coyote.UUCP (E.J. McKernan) writes:
>>How do I increase the number of /dev/pts entries to more than 16?
>>I'm trying to run X11R4 here. All is well except that I need to open
>>more xterms.
>
>I haven't done this, but a look around says you need to do the following:
>
>(I will use the number 24 for the examples. You can use whatever you want)
>
> 1. modify /etc/conf/sdevice.d/pty. Change the 16 in column 3 to a
> 24 like the following:
There are two different things being talked about here. The original
question was on /dev/pts - STREAMS pty. That may or may not have been the
intent. For the STREAMS ptys, it should only require increasing the number
of ptem and ptm devices in the sdevice.d/ptem and sdevice.d/ptm files.
There are 16 to start. While I haven't tried it, increasing the number
of units for those two devices should be sufficient.
You also need to update the node.d/pts file. The names are a little
different than the other pty kinds of names.
pts pts016 c 16
pts pts017 c 17
...
the number is the three digit decimal number of the minor device with
leading zeros.
The STREAMS ptys work somewhat differently. ptm is the master side
device, pts is the slave side and ptem is the pushable module that makes
it look like a tty low level driver.
The description provided for pty (non-STREAMS) should work as described
by Connor.
Doug McCallum
Interactive Systems Corp.
dougm at ico.isc.com
More information about the Comp.unix.sysv386
mailing list