aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* Note in termkey_new(3) that the caller has to init. the terminal in abstract ↵Paul LeoNerd Evans2012-01-201-0/+2
| | | | or pipe cases
* Don't try to write() the start/stop string if the fd is a pipe, because this ↵Paul LeoNerd Evans2012-01-201-0/+18
| | | | will never work
* Fix another printf() %c charPaul LeoNerd Evans2012-01-201-1/+1
|
* Handle realloc() failures when registering key namesPaul LeoNerd Evans2012-01-201-2/+5
|
* Since CSI key info is the same for every CSI driver, just store one static ↵Paul LeoNerd Evans2012-01-201-194/+151
| | | | copy of it rather than one for every termkey instance - simplifies construct-time allocation
* fprintf() %c wants char, not unsigned charPaul LeoNerd Evans2012-01-201-4/+4
|
* sscanf() %zn ought to take a ssize_t *Paul LeoNerd Evans2012-01-201-2/+3
|
* Allow {start,stop}_driver to fail, abort constructor, have driver-ti try to ↵Paul LeoNerd Evans2012-01-203-11/+39
| | | | write the entire start/stop string or error out on -1
* (void)-cast calls to write() in driver-ti start/stop since we don't -really- ↵Paul LeoNerd Evans2012-01-201-2/+2
| | | | care if they fail, there's not much we can do about it
* \e string escape is not portable; use \033Paul LeoNerd Evans2012-01-183-5/+5
|
* Delete trailing comma in enum{} to keep C++ happyPaul LeoNerd Evans2012-01-181-1/+1
|
* Use only C89 commenting style in .h file, in case of C89 compilers or ↵Paul LeoNerd Evans2012-01-181-27/+27
| | | | similar that want to link
* More minor docs updatesPaul LeoNerd Evans2012-01-182-2/+2
|
* Use the 'also' list for aliased pagesPaul LeoNerd Evans2012-01-182-1/+4
|
* Minor wording fixes to termkey_push_bytes.3 manpagePaul LeoNerd Evans2012-01-181-3/+3
|
* Fix 'htmldocs' Makefile targetPaul LeoNerd Evans2012-01-181-1/+3
|
* Allow passing fd = -1 to constructor to make an instance not associated with ↵Paul LeoNerd Evans2012-01-1815-16/+28
| | | | an fd; must use push_bytes to provide it input
* Added termkey_push_bytes(), a new API for providing input bytesPaul LeoNerd Evans2012-01-1811-80/+158
|
* Move the growing collection of manpages into their own man/ subdirectoryPaul LeoNerd Evans2012-01-1818-3/+3
|
* Ensure that termkey_advisereadable() just fails with errno=ENOMEM rather ↵Paul LeoNerd Evans2012-01-182-1/+7
| | | | than trying to read() zero bytes
* Avoid push_bytes() entirely by read()ing directly into tk->bufferPaul LeoNerd Evans2012-01-181-19/+7
|
* Provide new API function to determine how much buffer space remains in the ↵Paul LeoNerd Evans2012-01-185-2/+56
| | | | instance
* Remove termkey_pushinput() from external API; declare static, rename itPaul LeoNerd Evans2012-01-182-4/+2
|
* Bump VERSION to 0.11Paul LeoNerd Evans2011-11-301-3/+3
|
* Minor manpage link fixupsPaul LeoNerd Evans2011-09-292-2/+2
|
* Optionally support unibilium for reading terminfo instead of cursesPaul LeoNerd Evans2011-09-242-6/+48
|
* Abstract out ld flags in MakefilePaul LeoNerd Evans2011-09-231-1/+2
|
* Neaten logic by loading terminfo strings in a separate function from the ↵Paul LeoNerd Evans2011-09-231-18/+26
| | | | constructor
* Bumped VERSION to 0.10Paul LeoNerd Evans2011-09-061-3/+3
|
* Canonicalise (a local copy of) the key structures given to termkey_keycmp() ↵Paul LeoNerd Evans2011-09-063-15/+34
| | | | before comparing them
* A few more DEBUG fprintf(stderr)s at construction timePaul LeoNerd Evans2011-09-051-1/+12
|
* Handle TERMKEY_RES_ERROR in (debugging mode) res2str()Paul LeoNerd Evans2011-09-051-0/+5
|
* Use $(VERSION) to set DISTDIR in Makefile, so make VERSION=... dist ↵Paul LeoNerd Evans2011-09-051-1/+1
| | | | overrides its name
* Allow a flag to convert ASCII DEL into BackspacePaul LeoNerd Evans2011-08-284-1/+27
|
* Move canonicalisation flags into their own bitfield with their own accessor ↵Paul LeoNerd Evans2011-08-287-7/+61
| | | | and named constants
* Remember to symlink termkey_get_flags(3) manpage at install timePaul LeoNerd Evans2011-08-281-0/+1
|
* Provide an explicit termkey_canonicalise() function; canonicalise Space/SP ↵Paul LeoNerd Evans2011-08-277-6/+106
| | | | in both directions
* Deleted legacy type name typedefs and declaration of termkey_snprint_key()Paul LeoNerd Evans2011-08-272-13/+4
|
* Added a unit test to assert the correct behaviour of FLAG_SPACESYMBOL from ↵Paul LeoNerd Evans2011-08-271-0/+41
| | | | waitkey
* <poll.h> on Solaris needs _XOPEN_SOURCE 600 to ensure it gets sigset_t - ↵Paul LeoNerd Evans2011-08-251-0/+3
| | | | Petr Pavlu
* optarg and friends want _XOPEN_SOURCE 600, and <unistd.h> - Petr PavluPaul LeoNerd Evans2011-08-251-1/+4
|
* strdup() needs 'define _XOPEN_SOURCE 600 - Petr PavluPaul LeoNerd Evans2011-08-251-2/+1
|
* Ensure c_cc[VMIN] and c_cc[VTIME] are properly defined, because Solaris ↵Paul LeoNerd Evans2011-08-251-0/+2
| | | | seems not to set them - Petr Pavlu
* Link against -lcurses not -lncurses, because these two might be different on ↵Paul LeoNerd Evans2011-08-251-1/+1
| | | | some OSes (e.g. Solaris) - Petr Pavlu
* Bumped VERSION to 0.9Paul LeoNerd Evans2011-08-251-4/+4
|
* Provide a flag to return RES_ERROR even on signal (EINTR); without it, retry ↵Paul LeoNerd Evans2011-08-255-5/+19
| | | | the operation
* Provide a new result value, TERMKEY_RES_ERROR to indicate an IO error - ↵Paul LeoNerd Evans2011-08-185-11/+41
| | | | preserve errno
* Include a LICENSE filePaul LeoNerd Evans2011-07-012-1/+24
|
* Put LIBDIR and INCDIR directly in termkey.pc; don't indirect via PREFIX as ↵Paul LeoNerd Evans2011-07-012-4/+3
| | | | it might be incorrect
* Mouse position coordinates are unsignedPaul LeoNerd Evans2011-06-161-3/+3
|