=== modified file 'Makefile' --- Makefile 2008-11-06 20:29:50 +0000 +++ Makefile 2008-11-06 19:50:53 +0000 @@ -59,4 +59,4 @@ done ln -sf termkey_new.3.gz $(DESTDIR)$(MAN3DIR)/termkey_destroy.3.gz ln -sf termkey_getkey.3.gz $(DESTDIR)$(MAN3DIR)/termkey_getkey_force.3.gz - ln -sf termkey_set_waittime.3.gz $(DESTDIR)$(MAN3DIR)/termkey_get_waittime.3.gz + ln -sf termkey_setwaittime.3.gz $(DESTDIR)$(MAN3DIR)/termkey_getwaittime.3.gz === modified file 'demo-async.c' --- demo-async.c 2008-11-06 20:29:50 +0000 +++ demo-async.c 2008-11-06 19:33:07 +0000 @@ -49,7 +49,7 @@ } if(ret == TERMKEY_RES_AGAIN) - nextwait = termkey_get_waittime(tk); + nextwait = termkey_getwaittime(tk); else nextwait = -1; } === modified file 'termkey.c' --- termkey.c 2008-11-06 20:29:50 +0000 +++ termkey.c 2008-11-03 21:10:14 +0000 @@ -229,12 +229,12 @@ termkey_free(tk); } -void termkey_set_waittime(termkey_t *tk, int msec) +void termkey_setwaittime(termkey_t *tk, int msec) { tk->waittime = msec; } -int termkey_get_waittime(termkey_t *tk) +int termkey_getwaittime(termkey_t *tk) { return tk->waittime; } === modified file 'termkey.h' --- termkey.h 2008-11-06 20:29:50 +0000 +++ termkey.h 2008-11-03 21:23:59 +0000 @@ -129,8 +129,8 @@ void termkey_free(termkey_t *tk); void termkey_destroy(termkey_t *tk); -void termkey_set_waittime(termkey_t *tk, int msec); -int termkey_get_waittime(termkey_t *tk); +void termkey_setwaittime(termkey_t *tk, int msec); +int termkey_getwaittime(termkey_t *tk); termkey_result termkey_getkey(termkey_t *tk, termkey_key *key); termkey_result termkey_getkey_force(termkey_t *tk, termkey_key *key); === modified file 'termkey_advisereadable.3' --- termkey_advisereadable.3 2008-11-06 20:29:50 +0000 +++ termkey_advisereadable.3 2008-11-06 00:56:01 +0000 @@ -27,4 +27,4 @@ .BR termkey_new (3), .BR termkey_getkey (3), .BR termkey_waitkey (3), -.BR termkey_set_waittime (3) +.BR termkey_setwaittime (3) === modified file 'termkey_getkey.3.sh' --- termkey_getkey.3.sh 2008-11-06 20:29:50 +0000 +++ termkey_getkey.3.sh 2008-11-06 19:40:28 +0000 @@ -79,7 +79,7 @@ .BR termkey_new (3), .BR termkey_advisereadable (3), .BR termkey_waitkey (3), -.BR termkey_set_waittime (3), +.BR termkey_setwaittime (3), .BR termkey_get_keyname (3), .BR termkey_snprint_key (3) EOF === renamed file 'termkey_set_waittime.3' => 'termkey_setwaittime.3' --- termkey_set_waittime.3 2008-11-06 20:29:50 +0000 +++ termkey_setwaittime.3 2008-11-06 00:02:41 +0000 @@ -1,22 +1,22 @@ -.TH TERMKEY_SET_WAITTIME 3 +.TH TERMKEY_SETWAITTIME 3 .SH NAME -termkey_set_waittime, termkey_get_waittime \- control the wait time for multibyte sequences +termkey_setwaittime, termkey_getwaittime \- control the wait time for multibyte sequences .SH SYNOPSIS .nf .B #include .sp -.BI "void termkey_set_waittime(termkey_t *" tk ", int " msec ); +.BI "void termkey_setwaittime(termkey_t *" tk ", int " msec ); .br -.BI "int termkey_get_waittime(termkey_t *" tk ); +.BI "int termkey_getwaittime(termkey_t *" tk ); .fi .sp Link with \fI-ltermkey\fP. .SH DESCRIPTION -\fBtermkey_set_waittime\fP sets the number of miliseconds that \fBtermkey_wait\fP(3) will wait for the remaining bytes of a multibyte sequence if it detects the start of a partially-complete one. +\fBtermkey_setwaittime\fP sets the number of miliseconds that \fBtermkey_wait\fP(3) will wait for the remaining bytes of a multibyte sequence if it detects the start of a partially-complete one. .PP -\fBtermkey_get_waittime\fP returns the value set by the last call to \fBtermkey_set_waittime\fP(), or the default value if a different has not been set. +\fBtermkey_getwaittime\fP returns the value set by the last call to \fBtermkey_setwaittime\fP(), or the default value if a different has not been set. .SH "RETURN VALUE" -\fBtermkey_set_waittime\fP() returns no value. \fBtermkey_get_waittime\fP() returns the current wait time in miliseconds. +\fBtermkey_setwaittime\fP() returns no value. \fBtermkey_getwaittime\fP() returns the current wait time in miliseconds. .SH "SEE ALSO" .BR termkey_new (3), .BR termkey_getkey (3), === modified file 'termkey_waitkey.3.sh' --- termkey_waitkey.3.sh 2008-11-06 20:29:50 +0000 +++ termkey_waitkey.3.sh 2008-11-06 19:40:28 +0000 @@ -16,7 +16,7 @@ .PP For details of the \fBtermkey_key\fP structure, see \fBtermkey_getkey\fP(3). .PP -Some keypresses generate multiple bytes from the terminal. Because there may be network or other delays between the terminal and an application using termkey, \fBtermkey_waitkey\fP() will attempt to wait for the remaining bytes to arrive if it detects the start of a multibyte sequence. If no more bytes arrive within a certain time, then the bytes will be reported as they stand, even if this results in interpreting a partially-complete Escape sequence as a literal Escape key followed by some normal letters or other symbols. The amount of time to wait can be set by \fBtermkey_set_waittime\fP(3). +Some keypresses generate multiple bytes from the terminal. Because there may be network or other delays between the terminal and an application using termkey, \fBtermkey_waitkey\fP() will attempt to wait for the remaining bytes to arrive if it detects the start of a multibyte sequence. If no more bytes arrive within a certain time, then the bytes will be reported as they stand, even if this results in interpreting a partially-complete Escape sequence as a literal Escape key followed by some normal letters or other symbols. The amount of time to wait can be set by \fBtermkey_setwaittime\fP(3). .SH "RETURN VALUE" \fBtermkey_waitkey\fP() returns one of the following constants: .TP @@ -36,7 +36,7 @@ .SH "SEE ALSO" .BR termkey_new (3), .BR termkey_getkey (3), -.BR termkey_set_waittime (3), +.BR termkey_setwaittime (3), .BR termkey_get_keyname (3), .BR termkey_snprint_key (3) EOF