Lines Matching +full:modem +full:- +full:control +full:- +full:line +full:- +full:ports
33 .Nd general terminal line discipline
37 This describes a general terminal line discipline that is
38 supported on tty asynchronous communication ports.
45 line.
61 .Ss Job Control in a Nutshell
67 .\" .Gw "job control" ;
68 .Em "job control" ;
70 ability from the keyboard (or from program control) to simultaneously
79 the job control related signals and system calls to within processes
88 A job control shell
135 signals and job control signals resulting from reads or writes to the
173 terminal treated as if modem disconnect had been sensed.
174 .Ss Terminal Access Control
190 returns -1 with
224 returns -1 with
238 full-duplex mode, so that data may arrive even while output is occurring.
271 This is useful for terminals that can operate in full-duplex mode.
291 .Bl -enum -offset indent
301 If there is no data available, the read returns -1, with
311 A line is delimited by a newline
313 character, an end-of-file
315 character, or an end-of-line
326 not return until an entire line has been typed, or a signal has been
329 at most one line is returned.
331 read a whole line at once; any number of bytes, even one, may be
336 number of bytes in a line.
357 This un-delimited
358 data makes up the current line.
362 character in the current line, if there is any.
366 deletes all data in the current line, if there is any.
371 characters have no effect if there is no data in the current line.
414 serves as an inter-byte timer and is activated after
416 Since it is an inter-byte timer, it is reset
423 follows: as soon as one byte is received, the inter-byte timer is
427 bytes are received before the inter-byte timer expires
466 A program that uses this case to read record-based terminal
475 no longer represents an inter-byte
517 .Bl -tag -width indent
555 current line; see
558 the start of a line, as delimited by an
574 Deletes the entire line, as
597 occurred at the beginning of a line), a byte
600 representing an end-of-file indication.
611 It is the line delimiter
617 Is an additional line delimiter, like
636 (output control) or
639 control) flag is set.
653 (output control) or
656 control) flag is set.
689 .St -p1003.1
691 .Bl -tag -width indent
702 Erases the last word in the current line according to one of two algorithms.
706 erased, and then the maximal sequence of non-whitespace
714 non-whitespace character is skipped in determining
722 Causes the current input edit line to be retyped.
766 is set to a non-zero value, the running thread's kernel stack is
777 Special Control Characters.
780 character functions associated with changeable special control characters
784 .Sx "Special Control Characters" .
788 .Ss Modem Disconnect
789 If a modem disconnect is detected by the terminal interface for a
806 file and test for end-of-file can terminate appropriately after a
811 .\" when the implementation supports job control also exists, it is
820 to the terminal device returns -1, with
831 is set in the control modes, and the communications port supports a
834 Routines that need to control certain terminal
855 terminal input control, and are composed of
858 .Bl -tag -width IMAXBEL -offset indent -compact
878 /* enable output flow control */
880 /* enable input flow control */
886 /* assume input is UTF-8 encoded */
890 condition is defined as a sequence of zero-valued bits that continues for
892 The entire sequence of zero-valued
937 three-character sequence
943 is a two-character
974 .Sx "Control Modes" ) .
1011 is set, start/stop output control is enabled.
1029 read, but merely perform flow control functions.
1041 is set, start/stop input control is enabled.
1068 The initial input control value after
1074 field describe the basic terminal output control,
1077 .Bl -tag -width ONOEOT -offset indent -compact
1081 /* map NL to CR-NL (ala
1146 is set, the NL character is assumed to do the carriage-return function;
1148 .Ss Control Modes
1152 terminal hardware control, and are composed of the
1157 .Bl -tag -width CRTSXIFLOW -offset indent -compact
1179 /* ignore modem status lines */
1183 flow control of output */
1189 /* RTS flow control of input */
1191 /* flow control output via Carrier */
1238 is set, the modem control lines for the port are lowered
1241 The modem connection is broken.
1245 is set, a connection does not depend on the state of the modem
1249 is clear, the modem status lines are
1255 the modem connection to complete.
1273 is set then output flow control is controlled by the state
1280 As a result, this flag is only useful on initial-state devices.
1282 If the object for which the control modes are set is not an asynchronous
1291 field describe the control of
1295 .Bl -tag -width NOKERNINFO -offset indent -compact
1297 /* visual erase for line kill */
1311 /* echo control chars as ^(Char) */
1360 to erase the last character in the current line from the display, if
1372 the current line to be discarded and the system echoes the
1385 the current line to be discarded and the system causes
1387 to erase the line from the display.
1401 is set, the system echoes control characters
1402 in a visible fashion using a caret followed by the control character.
1454 control characters
1459 (job control only).
1461 character matches one of these control characters, the function
1474 is set, implementation-defined functions are recognized
1489 implementation-defined functions are not recognized, and the
1532 .Ss Special Control Characters
1533 The special control characters values are defined by the array
1541 .Bl -column "Index Name" "Special Character" -offset indent -compact
1558 .It Dv VMIN Ta --- Ta \&1
1559 .It Dv VTIME Ta --- Ta \&0
1564 value of one of the changeable special control characters (see
1583 The initial values of the flags and control characters