X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=doc%2Fhtml%2Fman%2Fcurs_inopts.3x.html;h=eacf70345a33eaec6089ff8bb17eb094cb402aca;hp=f0b188735e23c8331952bd6a503e5061d1acf29e;hb=c3b21f65a2687f3894a0d3217006c23f162c893a;hpb=b11cef1e315b58820ea0cde239ebf2f741ef8948 diff --git a/doc/html/man/curs_inopts.3x.html b/doc/html/man/curs_inopts.3x.html index f0b18873..eacf7034 100644 --- a/doc/html/man/curs_inopts.3x.html +++ b/doc/html/man/curs_inopts.3x.html @@ -1,6 +1,6 @@ @@ -45,16 +45,14 @@ - -

NAME

+

NAME

        cbreak, nocbreak, echo, noecho, halfdelay, intrflush,
        keypad, meta, nodelay, notimeout, raw, noraw, noqiflush,
        qiflush, timeout, wtimeout, typeahead - curses input
        options
 
 
-
-

SYNOPSIS

+

SYNOPSIS

        #include <curses.h>
 
        int cbreak(void);
@@ -76,8 +74,7 @@
        int typeahead(int fd);
 
 
-
-

DESCRIPTION

+

DESCRIPTION

        The ncurses library provides several functions  which  let
        an  application  change the way input from the terminal is
        handled.  Some are global, applying to all windows.   Oth-
@@ -87,8 +84,7 @@
        the same behavior is needed.
 
 
-
-

cbreak

+

cbreak

        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-
@@ -105,8 +101,7 @@
        these routines interact with echo and noecho.]
 
 
-
-

echo/noecho

+

echo/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-
@@ -118,8 +113,7 @@
        interact with cbreak and nocbreak.]
 
 
-
-

halfdelay

+

halfdelay

        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,
@@ -129,8 +123,7 @@
        half-delay mode.
 
 
-
-

intrflush

+

intrflush

        If  the  intrflush  option is enabled (bf is TRUE), and an
        interrupt key  is  pressed  on  the  keyboard  (interrupt,
        break,  quit),  all output in the tty driver queue will be
@@ -142,8 +135,7 @@
        nored.
 
 
-
-

keypad

+

keypad

        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-
@@ -157,8 +149,7 @@
        keypad is FALSE.
 
 
-
-

meta

+

meta

        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-
@@ -173,8 +164,7 @@
        FALSE) is called.
 
 
-
-

nodelay

+

nodelay

        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.
@@ -187,8 +177,7 @@
        typed by a user.
 
 
-
-

raw/noraw

+

raw/noraw

        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-
@@ -199,19 +188,17 @@
        bits in the tty driver that are not set by curses.
 
 
-
-

noqiflush

+

noqiflush

        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
        is  called,  the queues will be flushed when these control
-       characters are read.  You may want to call noqiflush()  in
-       a  signal handler if you want output to continue as though
+       characters are read.  You may want to call noqiflush in  a
+       signal  handler  if  you want output to continue as though
        the interrupt had not occurred, after the handler exits.
 
 
-
-

timeout/wtimeout

+

timeout/wtimeout

        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-
@@ -224,8 +211,7 @@
        lay milliseconds (where delay is positive).
 
 
-
-

typeahead

+

typeahead

        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,
@@ -239,8 +225,7 @@
        typeahead checking is done.
 
 
-
-

RETURN VALUE

+

RETURN VALUE

        All  routines that return an integer return ERR upon fail-
        ure and OK (SVr4 specifies only "an  integer  value  other
        than  ERR")  upon  successful completion, unless otherwise
@@ -256,8 +241,7 @@
                    the range 1..255.
 
 
-
-

PORTABILITY

+

PORTABILITY

        These functions are described in the XSI Curses  standard,
        Issue 4.
 
@@ -284,7 +268,7 @@
        curses  key-names).  On the other hand, an application can
        use define_key to establish a specific keycode for a given
        string.   This  makes  it  possible  for an application to
-       check for an extended capability's presence with tigetstr,
+       check for an extended capability's presence with tigetstr,
        and reassign the keycode to match its own needs.
 
        Low-level applications can use tigetstr to obtain the def-
@@ -304,8 +288,7 @@
        used.
 
 
-
-

NOTES

+

NOTES

        Note  that echo, noecho, halfdelay, intrflush, meta, node-
        lay, notimeout, noqiflush, qiflush, timeout, and  wtimeout
        may be macros.
@@ -318,8 +301,7 @@
        recommended.
 
 
-
-

SEE ALSO

+

SEE ALSO

        curses(3x),       curs_getch(3x),        curs_initscr(3x),
        curs_util(3x), define_key(3x), termio(7)