[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#603298: RFP: libtermkey -- Process keypress events in terminal programs



Package: wnpp
Severity: wishlist

* Package name    : libtermkey
  Version         : 0.5
  Upstream Author : Paul Evans <leonerd@leonerd.org.uk>
* URL             : http://www.leonerd.org.uk/code/libtermkey/
* License         : MIT
  Programming Lang: C
  Description     : Process keypress events in terminal programs

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.


-----

I'm planning to start submitting various patches to such software as
irssi and mutt, to allow them to use this library instead for improved
keyboard input, so having it already packaged in debian would be a good
prerequisite, and hopefully gain a little more traction in having such
patches accepted.



Reply to: