=== modified file 'driver-csi.c' --- driver-csi.c 2017-04-10 14:18:08 +0000 +++ driver-csi.c 2017-03-30 13:05:04 +0000 @@ -158,7 +158,7 @@ } /* - * Handler for CSI M / CSI m mouse events in SGR and rxvt encodings + * Handler for CSI M / CSI m mouse events in SRG and rxvt encodings * Note: This does not handle X10 encoding */ === modified file 'driver-ti.c' --- driver-ti.c 2017-04-10 14:18:08 +0000 +++ driver-ti.c 2016-11-30 18:18:55 +0000 @@ -10,7 +10,7 @@ # include # include -/* curses.h has just polluted our namespace. We want this back */ +/* curses.h has just poluted our namespace. We want this back */ # undef buttons #endif === modified file 'man/termkey.7' --- man/termkey.7 2017-04-10 14:18:08 +0000 +++ man/termkey.7 2017-03-29 21:42:11 +0000 @@ -72,7 +72,7 @@ .PP A pair of functions are also provided to convert between key events and strings. \fBtermkey_strfkey\fP(3) converts a key event into a string, and \fBtermkey_strpkey\fP(3) parses a string turning it into a key event. .PP -Key events may be compared for equality or ordering by using \fBtermkey_keycmp\fP(3). +Key events may be compared for equallity or ordering by using \fBtermkey_keycmp\fP(3). .SS Control Flags Details of the behaviour of a \fBtermkey\fP instance are controlled by two bitmasks of flags. \fBtermkey_set_flags\fP(3) and \fBtermkey_get_flags\fP(3) set or return the flags used to control the general behaviour, and \fBtermkey_set_canonflags\fP(3) and \fBtermkey_get_canonflags\fP(3) set or return the flags that control the key value canonicalisation behaviour performed by \fBtermkey_canonicalise\fP(3). .PP === modified file 'man/termkey_advisereadable.3' --- man/termkey_advisereadable.3 2017-04-10 14:18:08 +0000 +++ man/termkey_advisereadable.3 2012-01-21 00:52:13 +0000 @@ -25,7 +25,7 @@ No nore bytes were read. .TP .B TERMKEY_RES_ERROR -An IO error occurred. \fIerrno\fP will be preserved. If the error is \fBEINTR\fP then this will only be returned if \fBTERMKEY_FLAG_EINTR\fP flag is not set; if it is then the IO operation will be retried instead. +An IO error occured. \fIerrno\fP will be preserved. If the error is \fBEINTR\fP then this will only be returned if \fBTERMKEY_FLAG_EINTR\fP flag is not set; if it is then the IO operation will be retried instead. .SH "SEE ALSO" .BR termkey_getkey (3), .BR termkey_waitkey (3), === modified file 'man/termkey_set_waittime.3' --- man/termkey_set_waittime.3 2017-04-10 14:18:08 +0000 +++ man/termkey_set_waittime.3 2012-01-21 00:52:13 +0000 @@ -11,11 +11,11 @@ .sp Link with \fI-ltermkey\fP. .SH DESCRIPTION -\fBtermkey_set_waittime\fP() sets the number of milliseconds that \fBtermkey_waitkey\fP(3) will wait for the remaining bytes of a multibyte sequence if it detects the start of a partially-complete one. +\fBtermkey_set_waittime\fP() sets the number of miliseconds that \fBtermkey_waitkey\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. .SH "RETURN VALUE" -\fBtermkey_set_waittime\fP() returns no value. \fBtermkey_get_waittime\fP() returns the current wait time in milliseconds. +\fBtermkey_set_waittime\fP() returns no value. \fBtermkey_get_waittime\fP() returns the current wait time in miliseconds. .SH "SEE ALSO" .BR termkey_getkey (3), .BR termkey_waitkey (3), === modified file 'man/termkey_strfkey.3' --- man/termkey_strfkey.3 2017-04-10 14:18:08 +0000 +++ man/termkey_strfkey.3 2013-08-26 17:51:29 +0000 @@ -47,7 +47,7 @@ .B TERMKEY_FORMAT_URWID Shortcut to set \fBALTISMETA\fP, \fBLONGMOD\fP, \fBLOWERMOD\fP, \fBSPACEMOD\fP and \fBLOWERSPACE\fP, to give an output close to the format the \fIurwid\fP python library uses. .PP -When formatting a \fBTERMKEY_TYPE_UNICODE\fP key structure, this function uses the \fIutf8\fP member. If this member contains an empty string (i.e. its first character is 0) then this member will be prefilled by the function from the \fIcode.number\fP member. This can be convenient when the key structure is being constructed programmatically by user code. +When formatting a \fBTERMKEY_TYPE_UNICODE\fP key structure, this function uses the \fIutf8\fP member. If this member contains an empty string (i.e. its first character is 0) then this member will be prefilled by the function from the \fIcode.number\fP member. This can be convenient when the key structure is being constructed programatically by user code. .SH "RETURN VALUE" \fBtermkey_strfkey\fP() returns the number of characters written to \fIbuffer\fP. .SH "SEE ALSO" === modified file 'man/termkey_strpkey.3' --- man/termkey_strpkey.3 2017-04-10 14:18:08 +0000 +++ man/termkey_strpkey.3 2013-08-26 01:33:49 +0000 @@ -25,7 +25,7 @@ Expect the name "\f(CWMeta\fP" or the letter "\f(CWM\fP" instead of "\f(CWAlt\fP" or "\f(CWA\fP". .TP .B TERMKEY_FORMAT_SPACEMOD -Expect spaces instead of hyphens to separate the modifier name(s) from the base key name. +Expect spaces instead of hyphens to separate the modifer name(s) from the base key name. .TP .B TERMKEY_FORMAT_LOWERMOD Expect lowercase for the modifier name. === modified file 'man/termkey_waitkey.3.sh' --- man/termkey_waitkey.3.sh 2017-04-10 14:18:08 +0000 +++ man/termkey_waitkey.3.sh 2012-04-24 23:59:13 +0000 @@ -27,7 +27,7 @@ No key events are ready and the terminal has been closed, so no more will arrive. .TP .B TERMKEY_RES_ERROR -An IO error occurred. \fIerrno\fP will be preserved. If the error is \fBEINTR\fP then this will only be returned if \fBTERMKEY_FLAG_EINTR\fP flag is not set; if it is then the IO operation will be retried instead. If this is called with terminal IO stopped, due to \fBtermkey_stop\fP(3) then \fIerrno\fP will be set to \fBEINVAL\fP. +An IO error occured. \fIerrno\fP will be preserved. If the error is \fBEINTR\fP then this will only be returned if \fBTERMKEY_FLAG_EINTR\fP flag is not set; if it is then the IO operation will be retried instead. If this is called with terminal IO stopped, due to \fBtermkey_stop\fP(3) then \fIerrno\fP will be set to \fBEINVAL\fP. .SH EXAMPLE The following example program prints details of every keypress until the user presses \fICtrl-C\fP. .PP === modified file 't/39dcs.c' --- t/39dcs.c 2017-04-10 14:18:08 +0000 +++ t/39dcs.c 2017-03-29 21:52:29 +0000 @@ -55,7 +55,7 @@ is_int(termkey_getkey(tk, &key), TERMKEY_RES_AGAIN, "getkey yields RES_AGAIN for false alarm"); - is_int(termkey_getkey_force(tk, &key), TERMKEY_RES_KEY, "getkey_force yields RES_KEY for false alarm"); + is_int(termkey_getkey_force(tk, &key), TERMKEY_RES_KEY, "getkey_forvce yields RES_KEY for false alarm"); is_int(key.type, TERMKEY_TYPE_UNICODE, "key.type for false alarm"); is_int(key.code.codepoint, 'P', "key.code.codepoint for false alarm"); === modified file 'termkey.c' --- termkey.c 2017-04-10 14:18:08 +0000 +++ termkey.c 2017-03-29 21:42:11 +0000 @@ -114,7 +114,7 @@ #define CHARAT(i) (tk->buffer[tk->buffstart + (i)]) #ifdef DEBUG -/* Some internal debugging functions */ +/* Some internal deubgging functions */ static void print_buffer(TermKey *tk) { @@ -768,12 +768,12 @@ if(!key->code.sym) { key->type = TERMKEY_TYPE_UNICODE; /* Generically modified Unicode ought not report the SHIFT state, or else - * we get into complications trying to report Shift-; vs : and so on... + * we get into complicationg trying to report Shift-; vs : and so on... * In order to be able to represent Ctrl-Shift-A as CTRL modified * unicode A, we need to call Ctrl-A simply 'a', lowercase */ if(codepoint+0x40 >= 'A' && codepoint+0x40 <= 'Z') - // it's a letter - use lowercase instead + // it's a letter - use lowecase instead key->code.codepoint = codepoint + 0x60; else key->code.codepoint = codepoint + 0x40; @@ -1307,7 +1307,7 @@ key->modifiers == TERMKEY_KEYMOD_CTRL) { long codepoint = key->code.codepoint; - // Handle some of the special cases first + // Handle some of the special casesfirst if(codepoint >= 'a' && codepoint <= 'z') { l = snprintf(buffer + pos, len - pos, wrapbracket ? "<^%c>" : "^%c", (char)codepoint - 0x20); if(l <= 0) return pos;