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

Split Close
Expand all
Collapse all
          --- old/usr/src/man/man7i/termio.7i
          +++ new/usr/src/man/man7i/termio.7i
↓ open down ↓ 7 lines elided ↑ open up ↑
   8    8  .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
   9    9  .\" or http://www.opensolaris.org/os/licensing.
  10   10  .\" See the License for the specific language governing permissions
  11   11  .\" and limitations under the License.
  12   12  .\"
  13   13  .\" When distributing Covered Code, include this CDDL HEADER in each
  14   14  .\" file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  15   15  .\" If applicable, add the following below this CDDL HEADER, with the
  16   16  .\" fields enclosed by brackets "[]" replaced with your own identifying
  17   17  .\" information: Portions Copyright [yyyy] [name of copyright owner]
  18      -.Dd March 17, 2019
       18 +.Dd February 17, 2020
  19   19  .Dt TERMIO 7I
  20   20  .Os
  21   21  .Sh NAME
  22   22  .Nm termio
  23   23  .Nd general terminal interface
  24   24  .Sh SYNOPSIS
  25   25  .In termio.h
  26   26  .Fn ioctl "int fildes" "int request" "struct termio *arg"
  27   27  .Fn ioctl "int fildes" "int request" "int arg"
  28   28  .Pp
↓ open down ↓ 197 lines elided ↑ open up ↑
 226  226  independent of any backspacing or tabbing that may have been done.
 227  227  The
 228  228  .Sy REPRINT
 229  229  character (the character
 230  230  .Sy Control-r )
 231  231  prints a newline followed by all characters that have not been read.
 232  232  Reprinting also occurs automatically if
 233  233  characters that would normally be erased from the screen are fouled by program
 234  234  output.
 235  235  The characters are reprinted as if they were being echoed;
 236      -consequencely, if
      236 +consequently, if
 237  237  .Dv ECHO
 238  238  is not set, they are not printed.
 239  239  .Pp
 240  240  The
 241  241  .Sy ERASE ,
 242  242  .Sy ERASE2 ,
 243  243  and
 244  244  .Sy KILL
 245  245  characters may be entered literally by preceding them with the escape character.
 246  246  In this case, the escape character is not read.
↓ open down ↓ 153 lines elided ↑ open up ↑
 400  400  These two points highlight the dual purpose of the
 401  401  .Sy MIN/TIME
 402  402  feature.
 403  403  Cases A and B, where
 404  404  .Sy MIN
 405  405  > 0, exist to handle burst mode activity (for
 406  406  example, file transfer programs), where a program would like to process at
 407  407  least
 408  408  .Sy MIN
 409  409  characters at a time.
 410      -In case A, the inteercharacter timer is
      410 +In case A, the intercharacter timer is
 411  411  activated by a user as a safety measure; in case B, the timer is turned off.
 412  412  .Pp
 413  413  Cases C and D exist to handle single character, timed transfers.
 414  414  These cases
 415  415  are readily adaptable to screen-based applications that need to know if a
 416  416  character is present in the input queue before refreshing the screen.
 417  417  In case
 418  418  C, the read is timed, whereas in case D, it is not.
 419  419  .Pp
 420  420  Another important note is that
↓ open down ↓ 1 lines elided ↑ open up ↑
 422  422  is always just a minimum.
 423  423  It does not
 424  424  denote a record length.
 425  425  For example, if a program does a read of 20 bytes,
 426  426  .Sy MIN
 427  427  is 10, and 25 characters are present, then 20 characters will be
 428  428  returned to the user.
 429  429  .Ss "Writing Characters"
 430  430  When one or more characters are written, they are transmitted to the terminal
 431  431  as soon as previously written characters have finished typing.
 432      -nputt characters
      432 +Input characters
 433  433  are echoed as they are typed if echoing has been enabled.
 434  434  If a process produces
 435  435  characters more rapidly than they can be typed, it will be suspended when its
 436  436  output queue exceeds some limit.
 437  437  When the queue is drained down to some
 438  438  threshold, the program is resumed.
 439  439  .Ss "Special Characters"
 440  440  Certain characters have special functions on input.
 441  441  These functions and their default character values are summarized as follows:
 442  442  .Bl -tag -width REPRINT
↓ open down ↓ 240 lines elided ↑ open up ↑
 683  683  terminal after modem disconnect while the terminal is still allocated to the
 684  684  session will receive appropriate
 685  685  .Dv SIGTTOU
 686  686  and
 687  687  .Dv SIGTTIN
 688  688  signals.
 689  689  Unless other arrangements have been made, this signal causes the processes to
 690  690  stop.
 691  691  .Pp
 692  692  The controlling terminal will remain in this state until it is reinitialized
 693      -ithh a successful open by the controlling process, or deallocated by the
      693 +with a successful open by the controlling process, or deallocated by the
 694  694  controlling process.
 695  695  .Ss "Terminal Parameters"
 696  696  The parameters that control the behavior of devices and modules providing the
 697  697  .Vt termios
 698  698  interface are specified by the
 699  699  .Vt termios
 700  700  structure defined by
 701  701  .In termios.h .
 702  702  Several
 703  703  .Xr ioctl 2
↓ open down ↓ 1026 lines elided ↑ open up ↑
1730 1730  is 1, and the initial value of
1731 1731  .Sy TIME
1732 1732  is 0.
1733 1733  .Ss "Terminal Size"
1734 1734  The number of lines and columns on the terminal's display is specified in the
1735 1735  .Vt winsize
1736 1736  structure defined by
1737 1737  .In sys/termios.h
1738 1738  and includes the following members:
1739 1739  .Bd -literal -offset 2n
1740      -unsigned        short ws_row;  /* rows, in characters */
     1740 +unsigned short  ws_row;        /* rows, in characters */
1741 1741  unsigned short  ws_col;        /* columns, in characters */
1742 1742  unsigned short  ws_xpixel;     /* horizontal size, in pixels */
1743 1743  unsigned short  ws_ypixel;     /* vertical size, in pixels */
1744 1744  .Ed
1745 1745  .Ss "Termio Structure"
1746 1746  The SunOS/SVR4
1747 1747  .Vt termio
1748 1748  structure is used by some
1749 1749  .Fn ioctl Ns s ;
1750 1750  it is defined by
↓ open down ↓ 429 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX