X-Git-Url: http://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=doc%2Fhtml%2Fman%2Fcurs_getch.3x.html;h=297f2b1613f9a1eed83605c2fabd24b1d5816368;hp=e7df66324213464aa381b02e386ef5d8d9481356;hb=761e4f0825b330e970558e82a4bd638383914429;hpb=027ae42953e3186daed8f3882da73de48291b606 diff --git a/doc/html/man/curs_getch.3x.html b/doc/html/man/curs_getch.3x.html index e7df6632..297f2b16 100644 --- a/doc/html/man/curs_getch.3x.html +++ b/doc/html/man/curs_getch.3x.html @@ -1,8 +1,8 @@ - + @@ -78,7 +78,7 @@ Unless noecho has been set, then the character will also be echoed into the designated window according to the fol- - lowing rules: If the character is the current erase char- + lowing rules: if the character is the current erase char- acter, left arrow, or backspace, the cursor is moved one space to the left and that screen position is erased as if delch had been called. If the character value is any oth- @@ -110,7 +110,6 @@ be returned by the next call to wgetch. There is just one input queue for all windows. - Function Keys The following function keys, defined in <curses.h>, might be returned by getch if keypad has been enabled. Note @@ -179,8 +178,8 @@ KEY_REPLACE Replace key KEY_RESIZE Screen resized KEY_RESTART Restart key - KEY_RESUME Resume key + KEY_RESUME Resume key KEY_SAVE Save key KEY_SBEG Shifted beginning key KEY_SCANCEL Shifted cancel key @@ -233,21 +232,22 @@ sion of KEY_MOUSE. -

RETURN VALUE

        All routines return the integer ERR upon  failure  and  an
        integer value other than ERR (OK in the case of ungetch())
        upon successful completion.
 
-              ungetch
-                   returns an error if there is no more  room  in
-                   the FIFO.
+          ungetch
+               returns ERR if there is no more room in the FIFO.
+
+          wgetch
+               returns ERR if the window pointer is null,  or  if
+               its timeout expires without having any data.
 
-              wgetch
-                   returns  an  error  if  the  window pointer is
-                   null, or if its timeout expires without having
-                   any data.
+       Functions  with a "mv" prefix first perform a cursor move-
+       ment using wmove, and return an error if the  position  is
+       outside the window, or if the window pointer is null.
 
 
 
@@ -266,6 +266,22 @@ says that KEY_ENTER is control/M, getch will return KEY_ENTER when you press control/M. + Generally, KEY_ENTER denotes the character(s) sent by the + Enter key on the numeric keypad: + + o the terminal description lists the most useful keys, + + o the Enter key on the regular keyboard is already han- + dled by the standard ASCII characters for carriage-re- + turn and line-feed, + + o depending on whether nl or nonl was called, pressing + "Enter" on the regular keyboard may return either a + carriage-return or line-feed, and finally + + o "Enter or send" is the standard description for this + key. + When using getch, wgetch, mvgetch, or mvwgetch, nocbreak mode (nocbreak) and echo mode (echo) should not be used at the same time. Depending on the state of the tty driver @@ -319,10 +335,11 @@

SEE ALSO

-       curses(3x),        curs_inopts(3x),        curs_mouse(3x),
-       curs_move(3x), curs_refresh(3x), resizeterm(3x).
+       curses(3x),       curs_inopts(3x),       curs_outopts(3x),
+       curs_mouse(3x),   curs_move(3x),   curs_refresh(3x),   re-
+       sizeterm(3x).
 
-       Comparable  functions in the wide-character (ncursesw) li-
+       Comparable functions in the wide-character (ncursesw)  li-
        brary are described in curs_get_wch(3x).