DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

NAME

tty - Display the tty structure of a process

SYNOPSIS

tty address tty+ address

DESCRIPTION

This macro requires the address of a process. The tty macro prints the tty structure as defined in /usr/include/sys/tty.h.

Typical output looks like this:

  S> tty *curproc
  [D1565A00]  state 8000: TTXOFF
  proc 080A3774  pgrp 00000.  delct 000.  line 00
  iflag 6000: IFLUSH
  oflag 0032: OLCUC ONOCR ONLRET
  cflag 7FFC: B4800 CS8 CSTOPB CREAD PARENB PARODD HUPCL CLOCAL RCV1EN XMT1EN LOBLK
  lflag 0804: XCASE ECHOKE
  INTR 00  ERASE 00  EOF 00   EOL2 00
  QUIT 00   KILL 00  EOL 00  SWTCH 00
       rawq      canq      outq                tbuf      rbuf
  cc 00000B06  63496349  0000003E     ptr    D15C9A00  00000000
  cf 00502010  D14F2780  00000000     count      9E00      0000
  cl 633D0000  D161DB00  00000000     size       D15C      0000

DEFINED IN

tty.k

SEE ALSO

buf, pty

APPENDIX A: Alphabetic Index of Macros