X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=doc%2Fhtml%2Fman%2Fcurs_getch.3x.html;h=d19c4b87454eea094ac47dad7dec1e085756245e;hp=c72a2944ed30fc1fd322dceec2f0f0b4060d9d34;hb=f344f8539c1543f8cd65a5bb142dbaf23b9421d2;hpb=603f0cb25b7acc8f04f4b18d2a2fe6f90039829a diff --git a/doc/html/man/curs_getch.3x.html b/doc/html/man/curs_getch.3x.html index c72a2944..d19c4b87 100644 --- a/doc/html/man/curs_getch.3x.html +++ b/doc/html/man/curs_getch.3x.html @@ -27,7 +27,7 @@ * sale, use or other dealings in this Software without prior written * * authorization. * **************************************************************************** - * @Id: curs_getch.3x,v 1.47 2016/06/11 22:56:33 tom Exp @ + * @Id: curs_getch.3x,v 1.49 2016/10/15 16:44:01 tom Exp @ --> @@ -266,13 +266,13 @@ real key: o KEY_RESIZE is returned when the SIGWINCH signal has - been detected (see curs_initscr(3x) and resizeterm(3x)). + been detected (see initscr(3x) and resizeterm(3x)). This code is returned whether or not keypad has been enabled. o KEY_MOUSE is returned for mouse-events (see curs_mouse(3x)). This code relies upon whether or not - keypad(3x) has been enabled, because (e.g., with xterm + keypad(3x) has been enabled, because (e.g., with xterm mouse prototocol) ncurses must read escape sequences, just like a function key. @@ -295,7 +295,7 @@
All routines return the integer ERR upon failure and an - integer value other than ERR (OK in the case of ungetch()) + integer value other than ERR (OK in the case of ungetch) upon successful completion. ungetch @@ -303,7 +303,9 @@ wgetch returns ERR if the window pointer is null, or if - its timeout expires without having any data. + its timeout expires without having any data, or if + the execution was interrupted by a signal (errno + will be set to EINTR). Functions with a "mv" prefix first perform a cursor move- ment using wmove, and return an error if the position is @@ -390,9 +392,7 @@ Programmers concerned about portability should be prepared for either of two cases: (a) signal receipt does not in- terrupt getch; (b) signal receipt interrupts getch and - causes it to return ERR with errno set to EINTR. Under - the ncurses implementation, handled signals never inter- - rupt getch. + causes it to return ERR with errno set to EINTR. The has_key function is unique to ncurses. We recommend that any code using it be conditionalized on the NCURS-