X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=doc%2Fhtml%2Fman%2Fcurs_inopts.3x.html;fp=doc%2Fhtml%2Fman%2Fcurs_inopts.3x.html;h=b8d94ddafbbbedccca2046ac8ef408d8858fa8fb;hp=d2d5b6b03f250e1dfd0cc6763301108f021c7ded;hb=027d0c57c4c4d6690e8d8727888d3282dbe9aa86;hpb=8d00601178f9d92b95a91c93f74547517d93168b diff --git a/doc/html/man/curs_inopts.3x.html b/doc/html/man/curs_inopts.3x.html index d2d5b6b0..b8d94dda 100644 --- a/doc/html/man/curs_inopts.3x.html +++ b/doc/html/man/curs_inopts.3x.html @@ -1,6 +1,6 @@ @@ -38,8 +38,7 @@
-curs_inopts(3x) curs_inopts(3x) @@ -79,6 +78,17 @@
+ The ncurses library provides several functions which let + an application change way input from the terminal is han- + dled. Some are global, applying to all windows. Others + apply only to a specific window. Window-specific settings + are not automatically applied to new or derived windows. + An application must apply these to each window, if the + same behavior is needed. + + ++
Normally, the tty driver buffers typed characters until a newline or carriage return is typed. The cbreak routine disables line buffering and erase/kill character-process- @@ -94,6 +104,9 @@ rides raw. [See curs_getch(3x) for a discussion of how these routines interact with echo and noecho.] + ++
The echo and noecho routines control whether characters typed by the user are echoed by getch as they are typed. Echoing by the tty driver is always disabled, but initial- @@ -104,6 +117,9 @@ [See curs_getch(3x) for a discussion of how these routines interact with cbreak and nocbreak.] + ++
The halfdelay routine is used for half-delay mode, which is similar to cbreak mode in that characters typed by the user are immediately available to the program. However, @@ -112,6 +128,9 @@ must be a number between 1 and 255. Use nocbreak to leave half-delay mode. + ++
If the intrflush option is enabled, (bf is TRUE), when an interrupt key is pressed on the keyboard (interrupt, break, quit) all output in the tty driver queue will be @@ -122,6 +141,9 @@ ited from the tty driver settings. The window argument is ignored. + ++
The keypad option enables the keypad of the user's termi- nal. If enabled (bf is TRUE), the user can press a func- tion key (such as an arrow key) and wgetch returns a sin- @@ -132,8 +154,11 @@ turned on (made to transmit) and off (made to work local- ly), turning on this option causes the terminal keypad to be turned on when wgetch is called. The default value for - keypad is false. + keypad is FALSE. + ++
Initially, whether the terminal returns 7 or 8 significant bits on input depends on the control mode of the tty driv- er [see termio(7)]. To force 8 bits to be returned, in- @@ -147,6 +172,9 @@ meta(win, TRUE) is called and rmm is sent when meta(win, FALSE) is called. + ++
The nodelay option causes getch to be a non-blocking call. If no input is ready, getch returns ERR. If disabled (bf is FALSE), getch waits until a key is pressed. @@ -158,6 +186,9 @@ tween sequences received from a function key and those typed by a user. + ++
The raw and noraw routines place the terminal into or out of raw mode. Raw mode is similar to cbreak mode, in that characters typed are immediately passed through to the us- @@ -167,6 +198,9 @@ signal. The behavior of the BREAK key depends on other bits in the tty driver that are not set by curses. + ++
When the noqiflush routine is used, normal flush of input and output queues associated with the INTR, QUIT and SUSP characters will not be done [see termio(7)]. When qiflush @@ -175,6 +209,9 @@ a signal handler if you want output to continue as though the interrupt had not occurred, after the handler exits. + ++
The timeout and wtimeout routines set blocking or non- blocking read for a given window. If delay is negative, blocking read is used (i.e., waits indefinitely for in- @@ -186,6 +223,9 @@ additional capability of being able to block for only de- lay milliseconds (where delay is positive). + ++
The curses library does "line-breakout optimization" by looking for typeahead periodically while updating the screen. If input is found, and it is coming from a tty, @@ -291,7 +331,21 @@