From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S265136AbUBIMrl (ORCPT ); Mon, 9 Feb 2004 07:47:41 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S265144AbUBIMrl (ORCPT ); Mon, 9 Feb 2004 07:47:41 -0500 Received: from mail.shareable.org ([81.29.64.88]:11648 "EHLO mail.shareable.org") by vger.kernel.org with ESMTP id S265136AbUBIMrk (ORCPT ); Mon, 9 Feb 2004 07:47:40 -0500 Date: Mon, 9 Feb 2004 12:47:39 +0000 From: Jamie Lokier To: Nick Craig-Wood Cc: linux-kernel@vger.kernel.org Subject: Re: Does anyone still care about BSD ptys? Message-ID: <20040209124739.GC1738@mail.shareable.org> References: <20040209092915.GA11305@axis.demon.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040209092915.GA11305@axis.demon.co.uk> User-Agent: Mutt/1.4.1i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Nick Craig-Wood wrote: > On Mon, Feb 09, 2004 at 07:17:27AM +0000, H. Peter Anvin wrote: > > Does anyone still care about old-style BSD ptys, i.e. /dev/pty*? > > I use them quite a lot for testing serial port stuff in shell scripts, > eg connect one process which expects a serial port to /dev/ttys0 and > another to /dev/ptys0. I expect there is a sane way of doing this new > style pty's - I just don't know it! Look up "Pseudo-Terminals" in the libc info pages. http://www.delorie.com/gnu/docs/glibc/libc_376.html -- Jamie