Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ pty(7) — DG/UX 5.4R3.00

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

grantpt(3C)

slavename(3C)

unlockpt(3C)

ldterm(7)

pckt(7)

ptem(7)

streamio(7)

termio(7)

ttcompat(7)



pty(7)                         DG/UX 5.4R3.00                         pty(7)


NAME
       pty, pts, ptc - pseudo-terminal master/slave pseudo-device pair

DESCRIPTION
       The ptm and pts together make up a pty (pseudoterminal) pair.  These
       two drivers do no processing of streams messages, they simply provide
       a mechanism for transferring a streams message from the write side of
       one stream to the read side of another stream.

       All line discipline processing is handled by streams modules pushed
       above the drivers. Typically the ptem, ldterm, and ttcompat modules
       will be pushed above the pts (slave side) driver.  This side of the
       pair provides a tty interface to the processes.  Depending on the use
       of the pty the pckt module can be pushed above the ptm (master side)
       driver to provide additional control of the pty pair.

       The ptm is a clonable device. It can be opened either by using the
       /dev/ptmx clonable device or by opening individual devices.

       A pts device can be opened if the corresponding ptm has been opened
       and unlocked.

       The ptm driver sends an M_HANGUP message message up the corresponding
       pts stream on the last close. The pts driver sends a zero length
       message (simulating EOF) up the corresponding ptm stream on last
       close.

FILES
       /dev/ttyp* /dev/ptyp*

SEE ALSO
       grantpt(3C), slavename(3C), unlockpt(3C), ldterm(7), pckt(7),
       ptem(7), streamio(7), termio(7), ttcompat(7).
























Licensed material--property of copyright holder(s)                         1


Typewritten Software • bear@typewritten.org • Edmonds, WA 98026