From owner-freebsd-questions Wed Jun 2 8:38: 3 1999 Delivered-To: freebsd-questions@freebsd.org Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by hub.freebsd.org (Postfix) with ESMTP id 273A614F7E for ; Wed, 2 Jun 1999 08:38:01 -0700 (PDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.9.3/8.9.3) id KAA29610; Wed, 2 Jun 1999 10:37:54 -0500 (CDT) (envelope-from dan) Date: Wed, 2 Jun 1999 10:37:53 -0500 From: Dan Nelson To: Wayne Cuddy Cc: FreeBSD Questions Subject: Re: UNIX98 style pty Message-ID: <19990602103753.A28696@dan.emsphone.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.5i In-Reply-To: ; from "Wayne Cuddy" on Wed Jun 2 11:07:01 GMT 1999 X-OS: FreeBSD 4.0-CURRENT Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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