X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=man%2Fcurs_inopts.3x;h=d346017ba0ea09dba6a0e38648c06578bf23a186;hp=9670fe9e0ff55080f3274c98ea7eee0f2ab91cfe;hb=60cbc89987842cf6036aabced6618988b5117810;hpb=349761f30e7fc0b4bf2718f7fc3da34e09ea6735 diff --git a/man/curs_inopts.3x b/man/curs_inopts.3x index 9670fe9e..d346017b 100644 --- a/man/curs_inopts.3x +++ b/man/curs_inopts.3x @@ -27,7 +27,7 @@ .\" authorization. * .\"*************************************************************************** .\" -.\" $Id: curs_inopts.3x,v 1.31 2020/10/03 21:54:26 tom Exp $ +.\" $Id: curs_inopts.3x,v 1.33 2020/12/05 19:38:18 Benno.Schulenberg Exp $ .TH curs_inopts 3X "" .ie \n(.g .ds `` \(lq .el .ds `` `` @@ -68,15 +68,15 @@ .br \fBint noecho(void);\fR .sp -\fBint intrflush(WINDOW *win, bool bf);\fR +\fBint intrflush(WINDOW *\fP\fIwin\fP\fB, bool \fP\fIbf\fP\fB);\fR .br -\fBint keypad(WINDOW *win, bool bf);\fR +\fBint keypad(WINDOW *\fP\fIwin\fP\fB, bool \fP\fIbf\fP\fB);\fR .br -\fBint meta(WINDOW *win, bool bf);\fR +\fBint meta(WINDOW *\fP\fIwin\fP\fB, bool \fP\fIbf\fP\fB);\fR .br -\fBint nodelay(WINDOW *win, bool bf);\fR +\fBint nodelay(WINDOW *\fP\fIwin\fP\fB, bool \fP\fIbf\fP\fB);\fR .br -\fBint notimeout(WINDOW *win, bool bf);\fR +\fBint notimeout(WINDOW *\fP\fIwin\fP\fB, bool \fP\fIbf\fP\fB);\fR .sp \fBint nl(void);\fR .br @@ -90,13 +90,13 @@ .br \fBvoid noqiflush(void);\fR .sp -\fBint halfdelay(int tenths);\fR +\fBint halfdelay(int \fP\fItenths\fP\fB);\fR .br -\fBvoid timeout(int delay);\fR +\fBvoid timeout(int \fP\fIdelay\fP\fB);\fR .br -\fBvoid wtimeout(WINDOW *win, int delay);\fR +\fBvoid wtimeout(WINDOW *\fP\fIwin\fP\fB, int \fP\fIdelay\fP\fB);\fR .sp -\fBint typeahead(int fd);\fR +\fBint typeahead(int \fP\fIfd\fP\fB);\fR .br .SH DESCRIPTION The \fBncurses\fP library provides several functions which let an application @@ -205,14 +205,15 @@ If the terminfo capabilities \fBsmm\fR The \fBnl\fR and \fBnonl\fR routines control whether the underlying display device translates the return key into newline on input. .\" -.SS nodelay/notimeout +.SS nodelay .PP The \fBnodelay\fR option causes \fBgetch\fR to be a non-blocking call. If no input is ready, \fBgetch\fR returns \fBERR\fR. If disabled (\fIbf\fR is \fBFALSE\fR), \fBgetch\fR waits until a key is pressed. +.SS notimeout .PP -While interpreting an input escape sequence, \fBwgetch\fR(3X) sets a timer +When interpreting an escape sequence, \fBwgetch\fR(3X) sets a timer while waiting for the next character. If \fBnotimeout(\fR\fIwin\fR, \fBTRUE\fR) is called, then \fBwgetch\fR does not set a timer.