Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!uunet!in2.uu.net!128.83.139.5!cs.utexas.edu!news.cs.utah.edu!cc.usu.edu!cc.usu.edu!nntp
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: I need MORE than 120 ptys........please help
Message-ID: <3311FF10.5128@sticky.usu.edu>
From: Hal Lynch <hal@sticky.usu.edu>
Date: Mon, 24 Feb 1997 14:50:26 -0600
Reply-To: hal@sticky.usu.edu
References: <3309E9A0.938@sticky.usu.edu> <330D4865.3F54BC7E@FreeBSD.org>
<5ekts7$nn0@gold.interlog.com>
Organization: Utah State University
Nntp-Posting-Host: buffy.usu.edu
X-Mailer: Mozilla 3.01Gold (Macintosh; I; 68K)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Lines: 36
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:36052
Thanks to all. It looks like I have the answer. One kind
soul suggested that I only looking for 128 ptys. Bingo.
I ported a hacked telnetd from DEC Unix which was ported from
Ultrix.
The code in getpty() looked for ptys in the range:
pty[a-z][0-9a-f]
------
instead of:
pty[pqrsPQRS][0-9a-v].
------
BTW expect-5.12 has the same problem. Of course I am using that
as well.
The reason for the hacked telnetd is that I am doing auto-login
with a captive application. No username and passwd required.
BTWII the comments about Campaq's semi-compatibility are spot on.
This machine has been a pain from the beginning. Examples:
Can't make the video "card" do xwindows
The built-in ethernet controller wouldn't work so I had to
disable it and put in another.
FreeBSD couldn't find out how much memory the box has, I had to
tell it in the config file.
I have a really cheap clone I use for develpement which has none
of these problems.
Again Thanks to all who responded.
hal