Subject: Re: Prolem with ptys
To: Albert Carter <SilverMoonTiger@wizzard.tiac.net>
From: Bill Studenmund <wrstuden@loki.stanford.edu>
List: port-mac68k
Date: 04/21/1997 17:18:12
>
> Here's a similar problem along these lines but a little different. I can
> open dt and X but when I do I can't open any more then 3 dt terminals I've
> tried all the suggestions here dt -n 6 opens only 3 usuable terminals and
> cmd-0 does absolutely nothing as for X if I open 3 xterms, 1 console, and 1
> xclock using my .xinitrc it terminates X after loading the last xterm and
> gives socket kill error messages on the 2nd and 3rd terminal. If I only
> open 2 xterms, 1 console, and 1 xclock its fine though. Also whenever I
> try to telnet into machine when either X or dt is running I get an error
> "telnetd: all network ports are in use". How do I fix this?
You have the EXECT same problem. You need more pty's.
cd to /dev .
type "grep pty MAKEDEV | grep mknod" and look at the output. If it is
something like:
rm -f pty%s%x; mknod pty%s%x c 5 %d; ", \
^
you're ok. If there's a 6 instead of a 5 (like:
rm -f pty%s%x; mknod pty%s%x c 6 %d; ", \
)
you need to download a new copy of /dev/MAKEDEV.
Once you have a good MAKEDEV, cd /dev; ./MAKEDEV pty0
and the problem will go away.
Take care,
Bill
P.S. the MAKEDEV problem probably came from port-i386 having pty's
using char dev 5 & 6 while we use 4 & 5.