Print this page
12315 errors in section 7i of the manual

Split Close
Expand all
Collapse all
          --- old/usr/src/man/man7i/termio.7i.man.txt
          +++ new/usr/src/man/man7i/termio.7i.man.txt
↓ open down ↓ 108 lines elided ↑ open up ↑
 109  109       defined as a sequence of non-blank characters, with tabs counted as
 110  110       blanks.  None of ERASE or ERASE2 or WERASE will erase beyond the
 111  111       beginning of the line.  The KILL character (by default, the character
 112  112       NAK) kills (deletes) the entire input line, and optionally outputs a
 113  113       newline character.  All these characters operate on a key stroke basis,
 114  114       independent of any backspacing or tabbing that may have been done.  The
 115  115       REPRINT character (the character Control-r) prints a newline followed by
 116  116       all characters that have not been read.  Reprinting also occurs
 117  117       automatically if characters that would normally be erased from the screen
 118  118       are fouled by program output.  The characters are reprinted as if they
 119      -     were being echoed; consequencely, if ECHO is not set, they are not
      119 +     were being echoed; consequently, if ECHO is not set, they are not
 120  120       printed.
 121  121  
 122  122       The ERASE, ERASE2, and KILL characters may be entered literally by
 123  123       preceding them with the escape character.  In this case, the escape
 124  124       character is not read.  The erase, erase2, and kill characters may be
 125  125       changed.
 126  126  
 127  127     Non-canonical Mode Input Processing
 128  128       In non-canonical mode input processing, input characters are not
 129  129       assembled into lines, and erase and kill processing does not occur.  The
↓ open down ↓ 71 lines elided ↑ open up ↑
 201  201             0 and TIME > 0, both MIN and TIME play a role in that MIN is
 202  202             satisfied with the receipt of a single character.
 203  203  
 204  204         o   Also note that in case A (MIN > 0, TIME > 0), TIME represents an
 205  205             intercharacter timer, whereas in case C (MIN = 0, TIME > 0), TIME
 206  206             represents a read timer.
 207  207  
 208  208       These two points highlight the dual purpose of the MIN/TIME feature.
 209  209       Cases A and B, where MIN > 0, exist to handle burst mode activity (for
 210  210       example, file transfer programs), where a program would like to process
 211      -     at least MIN characters at a time.  In case A, the inteercharacter timer
      211 +     at least MIN characters at a time.  In case A, the intercharacter timer
 212  212       is activated by a user as a safety measure; in case B, the timer is
 213  213       turned off.
 214  214  
 215  215       Cases C and D exist to handle single character, timed transfers.  These
 216  216       cases are readily adaptable to screen-based applications that need to
 217  217       know if a character is present in the input queue before refreshing the
 218  218       screen.  In case C, the read is timed, whereas in case D, it is not.
 219  219  
 220  220       Another important note is that MIN is always just a minimum.  It does not
 221  221       denote a record length.  For example, if a program does a read of 20
 222  222       bytes, MIN is 10, and 25 characters are present, then 20 characters will
 223  223       be returned to the user.
 224  224  
 225  225     Writing Characters
 226  226       When one or more characters are written, they are transmitted to the
 227  227       terminal as soon as previously written characters have finished typing.
 228      -     nputt characters are echoed as they are typed if echoing has been
      228 +     Input characters are echoed as they are typed if echoing has been
 229  229       enabled.  If a process produces characters more rapidly than they can be
 230  230       typed, it will be suspended when its output queue exceeds some limit.
 231  231       When the queue is drained down to some threshold, the program is resumed.
 232  232  
 233  233     Special Characters
 234  234       Certain characters have special functions on input.  These functions and
 235  235       their default character values are summarized as follows:
 236  236  
 237  237       INTR     (Control-c or ASCII ETX) generates a SIGINT signal.  SIGINT is
 238  238                sent to all foreground processes associated with the controlling
↓ open down ↓ 103 lines elided ↑ open up ↑
 342  342       Unless other arrangements have been made, these signals cause the
 343  343       processes to stop.
 344  344  
 345  345       Processes in background process groups that attempt to access the
 346  346       controlling terminal after modem disconnect while the terminal is still
 347  347       allocated to the session will receive appropriate SIGTTOU and SIGTTIN
 348  348       signals.  Unless other arrangements have been made, this signal causes
 349  349       the processes to stop.
 350  350  
 351  351       The controlling terminal will remain in this state until it is
 352      -     reinitialized ithh a successful open by the controlling process, or
      352 +     reinitialized with a successful open by the controlling process, or
 353  353       deallocated by the controlling process.
 354  354  
 355  355     Terminal Parameters
 356  356       The parameters that control the behavior of devices and modules providing
 357  357       the termios interface are specified by the termios structure defined by
 358  358       <termios.h>.  Several ioctl(2) system calls that fetch or change these
 359  359       parameters use this structure that contains the following members:
 360  360  
 361  361         tcflag_t        c_iflag;        /* input modes */
 362  362         tcflag_t        c_oflag;        /* output modes */
↓ open down ↓ 460 lines elided ↑ open up ↑
 823  823     Minimum and Timeout
 824  824       The MIN and TIME values were described previously, in the subsection,
 825  825       Non-canonical Mode Input Processing.  The initial value of MIN is 1, and
 826  826       the initial value of TIME is 0.
 827  827  
 828  828     Terminal Size
 829  829       The number of lines and columns on the terminal's display is specified in
 830  830       the winsize structure defined by <sys/termios.h> and includes the
 831  831       following members:
 832  832  
 833      -       unsigned        short ws_row;  /* rows, in characters */
      833 +       unsigned short  ws_row;        /* rows, in characters */
 834  834         unsigned short  ws_col;        /* columns, in characters */
 835  835         unsigned short  ws_xpixel;     /* horizontal size, in pixels */
 836  836         unsigned short  ws_ypixel;     /* vertical size, in pixels */
 837  837  
 838  838     Termio Structure
 839  839       The SunOS/SVR4 termio structure is used by some ioctl()s; it is defined
 840  840       by <sys/termio.h> and includes the following members:
 841  841  
 842  842         unsigned        short   c_iflag;    /* input modes */
 843  843         unsigned        short   c_oflag;    /* output modes */
↓ open down ↓ 221 lines elided ↑ open up ↑
1065 1065                     clock will automatically calibrate to it.
1066 1066  
1067 1067  FILES
1068 1068       Files in or under /dev
1069 1069  
1070 1070  SEE ALSO
1071 1071       stty(1), fork(2), getpgid(2), getsid(2), ioctl(2), setsid(2),
1072 1072       sigaction(2), signal(3C), tcsetpgrp(3C), termios(3C), signal.h(3HEAD),
1073 1073       streamio(7I)
1074 1074  
1075      -illumos                         March 17, 2019                         illumos
     1075 +illumos                        February 17, 2020                       illumos
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX