Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Jun 1999 11:39:08 -0400 (EDT)
From:      Wayne Cuddy <wayne@crb-web.com>
To:        Dan Nelson <dnelson@emsphone.com>
Cc:        FreeBSD Questions <freebsd-questions@FreeBSD.ORG>
Subject:   Re: UNIX98 style pty
Message-ID:  <Pine.LNX.3.95.990602113614.10100D-100000@crb.crb-web.com>
In-Reply-To: <19990602103753.A28696@dan.emsphone.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Ok, maybe it is not a UNIX98 thing.  What I am looking for is more than 256
ptys.  I would prefer the behavior that dynamically allocates ptys in
/dev/pty/ at run-time.  The latest linux kernel has this behavior.

Thanks,
Wayne

On Wed, 2 Jun 1999, Dan Nelson wrote:

> Date: Wed, 2 Jun 1999 10:37:53 -0500
> From: Dan Nelson <dnelson@emsphone.com>
> To: Wayne Cuddy <wayne@crb-web.com>
> Cc: FreeBSD Questions <freebsd-questions@FreeBSD.ORG>
> Subject: Re: UNIX98 style pty
> 
> In the last episode (Jun 02), Wayne Cuddy said:
> > Does freebsd support UNIX 98 style pty usage?  /dev/pty/#
> 
> I don't think that's UNIX98.  I just checked the UNIX98 specification
> document, and it doesn't mandate any device names at all.  UNIX98 lists
> commands and function calls; it doesn't say how they are to be
> implemented.  Unfortunately, there doesn't seem to be any function that
> returns the "next open pty" name for you.
> 
> Luckily for you, FreeBSD does have such a function:   openpty(). 
> "man openpty" for more info.
> 
> 	-Dan Nelson
> 	dnelson@emsphone.com
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
> 




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.3.95.990602113614.10100D-100000>