X-Git-Url: https://ncurses.scripts.mit.edu/?a=blobdiff_plain;f=doc%2Fhtml%2Fman%2Fcurs_getch.3x.html;h=80d68f2ac78bc7ce447b2d203d645988f6a4b63f;hb=34d602f272c394e9a980438e636e1ce4d355f83b;hp=64953795ad9b5c4d6583f0842791b4c86269c90a;hpb=c9c32236e27689a61c794b714c6b86c460866e35;p=ncurses.git diff --git a/doc/html/man/curs_getch.3x.html b/doc/html/man/curs_getch.3x.html index 64953795..80d68f2a 100644 --- a/doc/html/man/curs_getch.3x.html +++ b/doc/html/man/curs_getch.3x.html @@ -2,7 +2,7 @@ @@ -76,14 +76,24 @@ waits until a character is typed or the specified timeout has been reached. - 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- - 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- - er KEY_ define, the user is alerted with a beep call. - Otherwise the character is simply output to the screen. + If echo is enabled, and the window is not a pad, then the + character will also be echoed into the designated window + according to the following rules: + + o If the character is the current erase character, 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. + + o If the character value is any other KEY_ define, the + user is alerted with a beep call. + + o If the character is a carriage-return, and if nl is + enabled, it is translated to a line-feed after echo- + ing. + + o Otherwise the character is simply output to the + screen. If the window is not a pad, and it has been moved or modi- fied since the last call to wrefresh, wrefresh will be @@ -93,7 +103,7 @@ ken for that function key is returned instead of the raw characters. Possible function keys are defined in <curs- es.h> as macros with values outside the range of 8-bit - characters whose names begin with KEY_. Thus, a variable + characters whose names begin with KEY_. Thus, a variable intended to hold the return value of a function key must be of short size or larger. @@ -116,8 +126,8 @@ that not all of these are necessarily supported on any particular terminal. - Name Key name + ------------------------------------------------- KEY_BREAK Break key KEY_DOWN The four arrow keys ... KEY_UP @@ -168,6 +178,7 @@ KEY_MESSAGE Message key KEY_MOUSE Mouse event read KEY_MOVE Move key + KEY_NEXT Next object key KEY_OPEN Open key KEY_OPTIONS Options key @@ -178,7 +189,6 @@ KEY_REPLACE Replace key KEY_RESIZE Screen resized KEY_RESTART Restart key - KEY_RESUME Resume key KEY_SAVE Save key KEY_SBEG Shifted beginning key