Re: Does anyone still care about BSD ptys?

From: Joerg Pommnitz
Date: Mon Feb 09 2004 - 11:59:17 EST


HPA asked:
> Does anyone still care about old-style BSD ptys, i.e. /dev/pty*?

I do! I have an application that demultiplexes multiple serial streams
from a single one (to be exact this implements the multiplexing scheme
specified in 3GPP TS27.010
(http://www.3gpp.org/ftp/Specs/latest/Rel-5/27_series/27010-500.zip).

The multiplexer uses old-style ptys to export the multiple streams
to the applications (e.g. there are:
crw-rw-rw- 1 root root 3, 236 May 21 2002 ttypMuxA0
crw-rw-rw- 1 root root 3, 237 May 21 2002 ttypMuxA1
crw-rw-rw- 1 root root 3, 238 May 21 2002 ttypMuxA2
crw-rw-rw- 1 root root 3, 239 May 21 2002 ttypMuxA3
crw-rw-rw- 1 root root 2, 236 May 21 2002 ptypMuxA0
crw-rw-rw- 1 root root 2, 237 May 21 2002 ptypMuxA1
crw-rw-rw- 1 root root 2, 238 May 21 2002 ptypMuxA2
crw-rw-rw- 1 root root 2, 239 May 21 2002 ptypMuxA3).

It would be difficult to implement the same thing using SYSV ptys.

Regards
Joerg


=====
--
Regards
Joerg





Mit schönen Grüßen von Yahoo! Mail - http://mail.yahoo.de
-
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/