t
= Core.Std.Caml.Unix.terminal_io
=
{
|
: bool |
; |
(* |
Ignore the break condition.
|
*) |
|
: bool |
; |
(* |
Signal interrupt on break condition.
|
*) |
|
: bool |
; |
(* |
Ignore characters with parity errors.
|
*) |
|
: bool |
; |
(* |
Mark parity errors.
|
*) |
|
: bool |
; |
(* |
Enable parity check on input.
|
*) |
|
: bool |
; |
(* |
Strip 8th bit on input characters.
|
*) |
|
: bool |
; |
(* |
Map NL to CR on input.
|
*) |
|
: bool |
; |
(* |
Ignore CR on input.
|
*) |
|
: bool |
; |
(* |
Map CR to NL on input.
|
*) |
|
: bool |
; |
(* |
Recognize XON/XOFF characters on input.
|
*) |
|
: bool |
; |
(* |
Emit XON/XOFF chars to control input flow.
|
*) |
|
: bool |
; |
(* |
Enable output processing.
|
*) |
|
: int |
; |
(* |
Output baud rate (0 means close connection).
|
*) |
|
: int |
; |
(* |
Input baud rate.
|
*) |
|
: int |
; |
(* |
Number of bits per character (5-8).
|
*) |
|
: int |
; |
(* |
Number of stop bits (1-2).
|
*) |
|
: bool |
; |
(* |
Reception is enabled.
|
*) |
|
: bool |
; |
(* |
Enable parity generation and detection.
|
*) |
|
: bool |
; |
(* |
Specify odd parity instead of even.
|
*) |
|
: bool |
; |
(* |
Hang up on last close.
|
*) |
|
: bool |
; |
(* |
Ignore modem status lines.
|
*) |
|
: bool |
; |
(* |
Generate signal on INTR, QUIT, SUSP.
|
*) |
|
: bool |
; |
(* |
Enable canonical processing
(line buffering and editing)
|
*) |
|
: bool |
; |
(* |
Disable flush after INTR, QUIT, SUSP.
|
*) |
|
: bool |
; |
(* |
Echo input characters.
|
*) |
|
: bool |
; |
(* |
Echo ERASE (to erase previous character).
|
*) |
|
: bool |
; |
(* |
Echo KILL (to erase the current line).
|
*) |
|
: bool |
; |
(* |
Echo NL even if c_echo is not set.
|
*) |
|
: char |
; |
(* |
Interrupt character (usually ctrl-C).
|
*) |
|
: char |
; |
(* |
Quit character (usually ctrl-\ ).
|
*) |
|
: char |
; |
(* |
Erase character (usually DEL or ctrl-H).
|
*) |
|
: char |
; |
(* |
Kill line character (usually ctrl-U).
|
*) |
|
: char |
; |
(* |
End-of-file character (usually ctrl-D).
|
*) |
|
: char |
; |
(* |
Alternate end-of-line char. (usually none).
|
*) |
|
: int |
; |
(* |
Minimum number of characters to read
before the read request is satisfied.
|
*) |
|
: int |
; |
(* |
Maximum read wait (in 0.1s units).
|
*) |
|
: char |
; |
(* |
Start character (usually ctrl-Q).
|
*) |
|
: char |
; |
(* |
Stop character (usually ctrl-S).
|
*) |