HP-UX Reference (11i v1 00/12) - 5 Miscellaneous Topics, 7 Device (Special) Files, 9 General Information, Index (vol 9)
__________________________________________________________________________________________________________________________________________________________________________________________________
__________________________________________________________________________________________________________________________________________________________________________________________________
STANDARD Printed by: Nora Chuang [nchuang] STANDARD
/build/1111/BRICK/man7/!!!intro.7
________________________________________________________________
___ ___
p
ptem(7) ptem(7)
upstream with the jwinsize structure. If the values are zero, ptem sends an M_IOCNAK
message upstream.
• When an M_IOCTL message of type TIOCGWINSZ is received on its write queue and if the
values in the winsize structure in ptem are not zero, ptem sends an M_IOCACK message
upstream with the winsize structure. If the values are zero, ptem sends an M_IOCNAK mes-
sage upstream.
• When an M_IOCTL message of type TIOCSWINSZ is received in its write queue, ptem saves
the information passed to it in the winsize structure and sends an M_PCSIG (with the signal
number set to SIGWINCH) upstream to the pty slave process if the window size is changed.
• When an M_IOCTL message of type TIOCGWINSZ is received on its read queue and if the
values in the winsize structure in ptem are not zero, ptem sends an M_IOCACK message
downstream with the winsize structure. If the values are zero, ptem sends an M_IOCNAK
message downstream.
• When an M_IOCTL message of type TIOCSWINSZ is received in its read queue, ptem saves
the information passed to it in the winsize structure and sends an M_PCSIG (with the signal
number is set to SIGWINCH) upstream to the pty slave process if the window size is changed.
• All other messages not mentioned above are passed to the next module or driver.
AUTHOR
ptem was developed by HP.
SEE ALSO
ioctl(2), streamio(7), ptm(7), pts(7), ldterm(7).
HP-UX Release 11i: December 2000 − 2 − Section 7−−91
___
___