libtermkey
Port variant standard
Summary Keyboard entry processor library
Package version 0.22
Homepage http://www.leonerd.org.uk/code/libtermkey/
Keywords devel
Maintainer nobody
License MIT
Other variants There are no other variants.
Ravenports Buildsheet | History
Ravensource Port Directory | History
Last modified 26 NOV 2019, 05:40:10 UTC
Port created 01 JUL 2017, 02:38:06 UTC
Subpackage Descriptions
single This library allows easy processing of keyboard entry from terminal-based programs. It handles all the necessary logic to recognise special keys, UTF-8 combining, and so on, with a simple interface. It provides the following features: - Follows terminfo for every sequence listed there, only falling back on other methods to deal with unrecognised input. - Recognises special keys (such as arrow and function keys), including "modified" keys like Ctrl-Left. - Recognises XTerm-style mouse position/button reporting. - MIT licenced to allow almost all projects to use it; both Open Source and Commercial. - Implemented in a small handfull of .c files which allows direct embedding in a larger application, if a shared library is not desired. - Small API - just three functions are needed in simple common cases. - Both synchronous (blocking) and asynchronous (non-blocking) APIs are supported. - Fully conformant with my suggested terminal key representation scheme ## DEPRECATED ## Note: Use of this library for new programs is discouraged. It is being maintained for legacy purposes only. For writing new programs, please use libtickit instead.
Configuration Switches (platform-specific settings discarded)
This port has no build options.
Package Dependencies by Type
Build (only) gmake:primary:standard
libtool:single:standard
pkgconf:primary:standard
ncurses:dev:standard
Build and Runtime unibilium:single:standard
ncurses:primary:standard
ncurses:terminfo:standard
Download groups
main http://www.leonerd.org.uk/code/libtermkey/
Distribution File Information
6945bd3c4aaa83da83d80a045c5563da4edd7d0374c62c0d35aec09eb3014600 46147 libtermkey-0.22.tar.gz
Ports that require libtermkey:standard
libtickit:standard Terminal Interface Construction Kit
neovim:standard Next generation Vim