4.3BSD/usr/contrib/icon/man/cat3/ttyctl.3




TTYCTL(3.icon)        Icon Program Library         TTYCTL(3.icon)



NNNNAAAAMMMMEEEE
     ttyctl - primitive control of terminal attributes

SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
     ssssttttttttyyyy((((xxxx1111,,,,xxxx2222,,,, ...,,,, xxxxnnnn))))
     rrrreeeessssttttttttyyyy(((())))
     kkkkeeeeyyyyiiiinnnn(((())))

DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
     ssssttttttttyyyy sets or clears the terminal attributes given as argu-
     ments.  Positive attributes are set and negative attributes
     are cleared.  rrrreeeessssttttttttyyyy attempts to restore terminal attributes
     to their original condition.  A reasonable guess is made if
     the original attributes cannot be determined.  kkkkeeeeyyyyiiiinnnn
     succeeds if there is any input waiting to be read from stan-
     dard input but fails otherwise.

     Attributes for ssssttttttttyyyy may be any legitimate bit pattern.  How-
     ever, if the procedure ttttttttyyyyiiiinnnniiiitttt in _t_t_y_i_n_i_t(_2) has been exe-
     cuted, the following global identifiers are available as
     arguments:

          TANDEM
          CBREAK
          LCASE
          ECHO
          CRMOD
          RAW
          ODDP
          EVENP


RRRREEEEQQQQUUUUIIIIRRRREEEEMMMMEEEENNNNTTTTSSSS
     The function kkkkeeeeyyyyiiiinnnn assumes Berkeley extensions.

SSSSEEEEEEEE AAAALLLLSSSSOOOO
     ttyinit(2)

AAAAUUUUTTTTHHHHOOOORRRR
     Stephen B. Wampler















Version 5.9    The University of Arizona - 8/16/84              1