[comp.sys.encore] 200 pty's on Multimax

kurt@pprg.unm.edu (Kurt Zeilenga [LANL]) (02/24/89)

I was asked how would I connect 200 or so terminals to a
Multimax running the BSD'ish Unix.  Just finished reading
pty(4) and they only meantion three sets (tty[p-r]*) or
48 psuedos.  I looked at the 4.3 sources on our VAX and
it appears to me that you can config any multiple of 16
(true?).  So, question:  How many psuedos can I actually
configure (and how)?  Other comments would be appreciated.

Please send e-mail if not appropriate for whole discussion
group.

Thanks, Kurt

clyde@ut-emx.UUCP (Head UNIX Hacquer) (02/24/89)

You can set the limit of ptys in UMAX 4.2 by changing /Umax.param using
/etc/sysparam.  You can go up to 1024 ptys.  Then you make devices in /dev.

Now, if you need Annex >slave< ttys, then you can only create 100 of them
using mkrnod (there is a limit built in).  There is a way to take get around
that limit if you really need to (if we add any more Annex boxes we will
have to).

-- 
Shouter-To-Dead-Parrots @ Univ. of Texas Computation Center; Austin, Texas  
	clyde@emx.utexas.edu; ...!cs.utexas.edu!ut-emx!clyde

"You really have to take a broad perspective when giving pat answers
 to other people's problems."  - Eyebeam

m4@UX.ACSS.UMN.EDU (03/01/89)

I have set up the pseudo-terminals to 256 on my machine.

It is necessary to change "telnetd", "rlogind", "script".
("screen", "gnuemacs", "wm", ...).   I changed the first three only,
and they randomly choose a starting port, and then sequentially continue
until they find an open one.  It takes a very long time to search thru
that many pseudo-ports.

I talked with Mike at Usenix, and he suggested an datagram program that
manages the ports.  I shall be assigning a programmer to this task next
week.  Hopefully this will make this fall's "mips" release out of Berkeley.

(After 352, you must re-think the algorithm for naming the pseudo ports.).)