Paul LeoNerd Evans
|
d3e56776b7
|
Consistency updates to Makefile to make it more like libvterm's
|
11 years ago |
Paul LeoNerd Evans
|
775806d32b
|
Added documentation for termkey_{start,stop}, termkey_is_started
|
11 years ago |
Paul LeoNerd Evans
|
24fd4f668d
|
Use man/also for manpage aliasing rather than duplicating the list (incorrectly) in the Makefile
|
11 years ago |
Paul LeoNerd Evans
|
8237f3a1bc
|
Have getkey/waitkey return RES_ERROR/EINVAL if stopped
|
11 years ago |
Paul LeoNerd Evans
|
cb00476f09
|
Added a termkey_is_started() accessor; unit test it a bit
|
11 years ago |
Paul LeoNerd Evans
|
43a83e6e96
|
Move the terminal start/stop code into their own functions, exported (undocumented for now)
|
11 years ago |
Paul LeoNerd Evans
|
f7e4986849
|
Also link to termkey_{get,set}_buffer_size(3) from termkey(7)
|
11 years ago |
Paul LeoNerd Evans
|
8e45515710
|
Bump VERSION to 0.13
|
11 years ago |
Paul LeoNerd Evans
|
80fd6a2346
|
Optionally build against libncursesw if unibilium isn't present, before falling back on plain libncurses
|
11 years ago |
Paul LeoNerd Evans
|
5d44c08ecf
|
Added manpage for termkey_{get,set}_buffer_size
|
11 years ago |
Paul LeoNerd Evans
|
e252c497ae
|
Added (undocumented) termkey_set_buffer_size()
|
11 years ago |
Paul LeoNerd Evans
|
5779ec3cd1
|
Added (undocumented) termkey_get_buffer_size()
|
11 years ago |
Paul LeoNerd Evans
|
ee12c698da
|
Document the errors set by termkey_new(), use errno rather than fprintf() to stderr
|
12 years ago |
Paul LeoNerd Evans
|
9b20346dc3
|
Symlink manpage for termkey_new_abstract
|
12 years ago |
Paul LeoNerd Evans
|
50327ce6dc
|
Use termkey_new_abstract() in unit tests
|
12 years ago |
Paul LeoNerd Evans
|
ea2d3073ac
|
Created termkey_new_abstract()
|
12 years ago |
Paul LeoNerd Evans
|
63f37cecd6
|
Move initialisation logic out of termkey_new into a static function
|
12 years ago |
Paul LeoNerd Evans
|
8b46e65aa3
|
Use termkey_set_flags() in constructor rather than copypasted logic
|
12 years ago |
Paul LeoNerd Evans
|
f9fe338e3e
|
Split termkey_new() into alloc and initialise phases
|
12 years ago |
Paul LeoNerd Evans
|
4cf544f26c
|
Also mark termkey.c's modnames as static
|
12 years ago |
Paul LeoNerd Evans
|
2a82ab2f1b
|
Mark new driver-csi internal variables as static so they don't result in linkable symbols
|
12 years ago |
Paul LeoNerd Evans
|
429ecf0f1a
|
Fix 'make dist' target for new man/ subdir
|
12 years ago |
Paul LeoNerd Evans
|
6b256e961e
|
Bump VERSION to 0.12
|
12 years ago |
Paul LeoNerd Evans
|
56b2612908
|
Also mkdir MAN7DIR at install time
|
12 years ago |
Paul LeoNerd Evans
|
948e48d56a
|
Various other minor fixes to manpages
|
12 years ago |
Paul LeoNerd Evans
|
cfb0480c1a
|
Ensure that 'make htmldocs' rebuilds built manpages
|
12 years ago |
Paul LeoNerd Evans
|
fa36d8a97b
|
Fix Makefile for manpage generation of new man/termkey.7
|
12 years ago |
Paul LeoNerd Evans
|
107587744c
|
Removed note about termkey_keycmp() not canonicalising key structures, since it does in fact do exactly that
|
12 years ago |
Paul LeoNerd Evans
|
61e304c6b4
|
Fix some typoes in termkey_set_canonflags.3
|
12 years ago |
Paul LeoNerd Evans
|
dc5ce23316
|
Link to termkey(7) from other manpages, delete some of the duplicated sections
|
12 years ago |
Paul LeoNerd Evans
|
c3de4f7801
|
Initial stab at termkey(7) manpage
|
12 years ago |
Paul LeoNerd Evans
|
7ec2107f47
|
Note in termkey_new(3) that the caller has to init. the terminal in abstract or pipe cases
|
12 years ago |
Paul LeoNerd Evans
|
2ed8bae4f6
|
Don't try to write() the start/stop string if the fd is a pipe, because this will never work
|
12 years ago |
Paul LeoNerd Evans
|
62b8773108
|
Fix another printf() %c char
|
12 years ago |
Paul LeoNerd Evans
|
229792aad7
|
Handle realloc() failures when registering key names
|
12 years ago |
Paul LeoNerd Evans
|
08b7eaa5b7
|
Since CSI key info is the same for every CSI driver, just store one static copy of it rather than one for every termkey instance - simplifies construct-time allocation
|
12 years ago |
Paul LeoNerd Evans
|
4f5d529760
|
fprintf() %c wants char, not unsigned char
|
12 years ago |
Paul LeoNerd Evans
|
541a4328db
|
sscanf() %zn ought to take a ssize_t *
|
12 years ago |
Paul LeoNerd Evans
|
052738b8f4
|
Allow {start,stop}_driver to fail, abort constructor, have driver-ti try to write the entire start/stop string or error out on -1
|
12 years ago |
Paul LeoNerd Evans
|
8d2fa34a52
|
(void)-cast calls to write() in driver-ti start/stop since we don't -really- care if they fail, there's not much we can do about it
|
12 years ago |
Paul LeoNerd Evans
|
6bc3f8a378
|
\e string escape is not portable; use \033
|
12 years ago |
Paul LeoNerd Evans
|
3981920938
|
Delete trailing comma in enum{} to keep C++ happy
|
12 years ago |
Paul LeoNerd Evans
|
242da047a0
|
Use only C89 commenting style in .h file, in case of C89 compilers or similar that want to link
|
12 years ago |
Paul LeoNerd Evans
|
0486ca8212
|
More minor docs updates
|
12 years ago |
Paul LeoNerd Evans
|
14d6bb736c
|
Use the 'also' list for aliased pages
|
12 years ago |
Paul LeoNerd Evans
|
a4f9cc6d7f
|
Minor wording fixes to termkey_push_bytes.3 manpage
|
12 years ago |
Paul LeoNerd Evans
|
ec82fbf29b
|
Fix 'htmldocs' Makefile target
|
12 years ago |
Paul LeoNerd Evans
|
6d6afe788c
|
Allow passing fd = -1 to constructor to make an instance not associated with an fd; must use push_bytes to provide it input
|
12 years ago |
Paul LeoNerd Evans
|
82ad14175c
|
Added termkey_push_bytes(), a new API for providing input bytes
|
12 years ago |
Paul LeoNerd Evans
|
082b49f0f8
|
Move the growing collection of manpages into their own man/ subdirectory
|
12 years ago |