Re: Does anyone still care about BSD ptys?

From: Jamie Lokier
Date: Mon Feb 09 2004 - 07:48:47 EST


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
-
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/