Re: Does anyone still care about BSD ptys?

From: Nick Craig-Wood
Date: Mon Feb 09 2004 - 08:42:01 EST


On Mon, Feb 09, 2004 at 12:47:39PM +0000, Jamie Lokier wrote:
> 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

Interesting but doesn't help my shell script!

--
Nick Craig-Wood
ncw1@xxxxxxxxxxxxxxxx
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/