Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ ptem(7) — UnixWare 2.01

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

crash(1M)

ioctl(2)

ldterm(7)

pckt(7)

pseudo(1)

pty(7)

streamio(7)

stty(1)

termio(7)






       ptem(7)                                                      ptem(7)


       NAME
             ptem - STREAMS pseudo-terminal emulation module

       DESCRIPTION
             ptem is a STREAMS module that when used in conjunction with a
             line discipline and pseudo terminal driver emulates a
             terminal.  See pseudo(1).

             The ptem module must be pushed [see I_PUSH, streamio(7)] onto
             the slave side of a pseudo terminal STREAM, before the ldterm
             module is pushed.

             On the write-side, the TCSETA, TCSETAF, TCSETAW, TCGETA,
             TCSETS, TCSETSW, TCSETSF, TCGETS, TCSBRK, JWINSIZE,
             TIOCGWINSZ, and TIOCSWINSZ termio ioctl(2) messages are
             processed and acknowledged.  A hang up (such as stty 0) is
             converted to a zero length M_DATA message and passed
             downstream.  termio cflags and window row and column
             information are stored locally one per stream.  M_DELAY
             messages are discarded.  All other messages are passed
             downstream unmodified.

             On the read-side all messages are passed upstream unmodified
             with the following exceptions.  All M_READ and M_DELAY
             messages are freed in both directions.  An ioctl TCSBRK is
             converted to an M_BREAK message and passed upstream and an
             acknowledgement is returned downstream.  An ioctl TIOCSIGNAL
             is converted into an M_PCSIG message, and passed upstream and
             an acknowledgement is returned downstream.  Finally an ioctl
             TIOCREMOTE is converted into an M_CTL message, acknowledged,
             and passed upstream.

       REFERENCES
             crash(1M), ioctl(2), ldterm(7), pckt(7), pseudo(1), pty(7),
             streamio(7), stty(1), termio(7)













                           Copyright 1994 Novell, Inc.               Page 1








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