X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=man%2Fcurs_getch.3x;h=8f29f75f475341890117d52075ae5abfe5a596f4;hp=ce62ed17d8cb5237f986813f2ddf5a40bce548db;hb=3a935d9991cdf43ebfa952073c9b555f73a3e011;hpb=55ccd2b959766810cf7db8d1c4462f338ce0afc8 diff --git a/man/curs_getch.3x b/man/curs_getch.3x index ce62ed17..8f29f75f 100644 --- a/man/curs_getch.3x +++ b/man/curs_getch.3x @@ -1,6 +1,6 @@ '\" t .\"*************************************************************************** -.\" Copyright (c) 1998-2003,2005 Free Software Foundation, Inc. * +.\" Copyright (c) 1998-2006,2010 Free Software Foundation, Inc. * .\" * .\" Permission is hereby granted, free of charge, to any person obtaining a * .\" copy of this software and associated documentation files (the * @@ -27,7 +27,7 @@ .\" authorization. * .\"*************************************************************************** .\" -.\" $Id: curs_getch.3x,v 1.29 2005/06/25 22:03:09 tom Exp $ +.\" $Id: curs_getch.3x,v 1.33 2010/12/04 18:36:44 tom Exp $ .TH curs_getch 3X "" .na .hy 0 @@ -71,7 +71,7 @@ specified timeout has been reached. Unless \fBnoecho\fR has been set, then the character will also be echoed into the designated window according to the following rules: -If the character is the current erase character, left arrow, or backspace, +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 \fBdelch\fR had been called. If the character value is any other \fBKEY_\fR define, the user is alerted @@ -245,6 +245,10 @@ returns an error if the window pointer is null, or if its timeout expires without having any data. .RE +.PP +Functions with a "mv" prefix first perform a cursor movement using +\fBwmove\fP, and return an error if the position is outside the window, +or if the window pointer is null. .SH NOTES Use of the escape key by a programmer for a single character function is discouraged, as it will cause a delay of up to one second while the @@ -316,9 +320,7 @@ any code using it be conditionalized on the \fBNCURSES_VERSION\fR feature macro. \fBcurs_move\fR(3X), \fBcurs_refresh\fR(3X), \fBresizeterm\fR(3X). -.\"# -.\"# The following sets edit modes for GNU EMACS -.\"# Local Variables: -.\"# mode:nroff -.\"# fill-column:79 -.\"# End: +.PP +Comparable functions in the wide-character (ncursesw) library are +described in +\fBcurs_get_wch\fR(3X).