X-Git-Url: http://ncurses.scripts.mit.edu/?a=blobdiff_plain;f=doc%2Fhtml%2Fman%2Fcurs_getch.3x.html;h=5a1afc5c3ccf745564869b5e96554fd5b0949d52;hb=4c9f63c460cb7134f142aa65f6866c175ed77605;hp=9197cd607a2855a332672c8c287b5f97aeaaccd4;hpb=cb4427a16794d98049b4d790b810d62217501f9f;p=ncurses.git diff --git a/doc/html/man/curs_getch.3x.html b/doc/html/man/curs_getch.3x.html index 9197cd60..5a1afc5c 100644 --- a/doc/html/man/curs_getch.3x.html +++ b/doc/html/man/curs_getch.3x.html @@ -1,7 +1,8 @@ - @@ -36,7 +37,7 @@ curs_getch 3x - +

curs_getch 3x

@@ -55,10 +56,14 @@ #include <curses.h> int getch(void); - int wgetch(WINDOW *win); + int wgetch(WINDOW *win); + int mvgetch(int y, int x); int mvwgetch(WINDOW *win, int y, int x); + int ungetch(int ch); + + /* extension */ int has_key(int ch); @@ -145,7 +150,7 @@ the long terminfo capability names for the keys, and were defined long ago, in the 1980s. - Name Key name + Name Key name ------------------------------------------------- KEY_BREAK Break key KEY_DOWN The four arrow keys ... @@ -175,11 +180,11 @@ KEY_ENTER Enter or send KEY_SRESET Soft (partial) reset KEY_RESET Reset or hard reset + KEY_PRINT Print or copy KEY_LL Home down or bottom (lower left) KEY_A1 Upper left of keypad KEY_A3 Upper right of keypad - KEY_B2 Center of keypad KEY_C1 Lower left of keypad KEY_C3 Lower right of keypad @@ -196,7 +201,7 @@ KEY_HELP Help key KEY_MARK Mark key KEY_MESSAGE Message key - KEY_MOUSE Mouse event read + KEY_MOUSE Mouse event occurred KEY_MOVE Move key KEY_NEXT Next object key KEY_OPEN Open key @@ -224,7 +229,7 @@ KEY_SFIND Shifted find key KEY_SHELP Shifted help key KEY_SHOME Shifted home key - KEY_SIC Shifted input key + KEY_SIC Shifted insert key KEY_SLEFT Shifted left arrow key KEY_SMESSAGE Shifted message key KEY_SMOVE Shifted move key @@ -234,7 +239,7 @@ KEY_SPRINT Shifted print key KEY_SREDO Shifted redo key KEY_SREPLACE Shifted replace key - KEY_SRIGHT Shifted right arrow + KEY_SRIGHT Shifted right arrow key KEY_SRSUME Shifted resume key KEY_SSAVE Shifted save key KEY_SSUSPEND Shifted suspend key @@ -259,8 +264,8 @@ o KEY_MOUSE is returned for mouse-events (see curs_mouse(3x)). This code relies upon whether or not keypad(3x) has been enabled, be- - cause (e.g., with xterm mouse prototocol) ncurses must read escape - sequences, just like a function key. + cause (e.g., with xterm(1) mouse prototocol) ncurses must read es- + cape sequences, just like a function key.

Testing key-codes

@@ -370,8 +375,8 @@
 
 
 

SEE ALSO

-       curses(3x),    curs_inopts(3x),    curs_outopts(3x),    curs_mouse(3x),
-       curs_move(3x), curs_refresh(3x), curs_variables(3x), resizeterm(3x).
+       curses(3x), curs_inopts(3x), curs_mouse(3x),  curs_move(3x),  curs_out-
+       opts(3x), curs_refresh(3x), curs_variables(3x), resizeterm(3x).
 
        Comparable  functions  in the wide-character (ncursesw) library are de-
        scribed in curs_get_wch(3x).