Skip to contentSkip to conversation

Does anyone still care about BSD ptys?

DISCUSSION Joerg Pommnitz 2 participants 2 messages Feb 9, 2004 – Feb 10, 2004

lore
Share & tools
lore
#0 lore raw

HPA asked:

Quoted 1 line

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

=====

Signature · 8 lines
Regards
       Joerg



	
		
Mit schönen Grüßen von Yahoo! Mail - http://mail.yahoo.de
#1 lore raw
Followup to:  <[email protected]>
By author:    =?iso-8859-1?q?Joerg=20Pommnitz?= <[email protected]>
In newsgroup: linux.dev.kernel
Quoted 3 lines

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

I find that hard to believe, although you might have to create links dynamically.

-hpa

Signature · 4 lines
PGP public key available - finger [email protected]
Key fingerprint: 2047/2A960705 BA 03 D3 2C 14 A8 A8 BD  1E DF FE 69 EE 35 BD 74
"The earth is but one country, and mankind its citizens."  --  Bahá'u'lláh
Just Say No to Morden * The Shadows were defeated -- Babylon 5 is renewed!!