From owner-freebsd-hackers Fri Nov 17 00:26:35 1995 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id AAA15609 for hackers-outgoing; Fri, 17 Nov 1995 00:26:35 -0800 Received: from pancake.remcomp.fr (pancake.remcomp.fr [194.51.30.1]) by freefall.freebsd.org (8.6.12/8.6.6) with SMTP id AAA15552 for ; Fri, 17 Nov 1995 00:25:11 -0800 Received: from zapata.omnix.fr.org by zapata.omnix.fr.org (8.6.9/8.6.9) with SMTP id KAA03358; Fri, 17 Nov 1995 10:19:09 +0100 Date: Fri, 17 Nov 1995 10:19:09 +0100 (MET) From: Didier Derny To: Terry Lambert cc: joerg_wunsch@uriah.heep.sax.de, hackers@FreeBSD.ORG Subject: Re: pty In-Reply-To: <199511161859.LAA03449@phaeton.artisoft.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-hackers@FreeBSD.ORG Precedence: bulk On Thu, 16 Nov 1995, Terry Lambert wrote: > > > > Is there any possibility to have more than 256 ptys ? > > > > Is there any trick to find the next available pty without having to > > > > try them all ? > > > > > > Implement a cloning pty driver. > > > > In fact I have to control 32 pty with the same process. It might be > > more interesting for me to write a driver to multiplex 32 slaves on only > > one master. > > Er. This makes no sense. > > Unless your program is not going to distinguish between slaves? > > I'd think the process would care which is which because of implied state. > > > Terry Lambert > terry@lambert.org > --- > Any opinions in this posting are my own and not those of my present > or previous employers. > I must be able to receive up to 256 simultaneous connexions on the same machine.