ghalkes:~# command line tools

Tilde Terminal Toolkit

libt3key

The libt3key library provides functions for retrieving the character sequences used by terminals to represent keys pressed by the user. Although the terminfo database provides part of this information, it lacks information for the sequences returned by modern terminals/terminal emulators for many combinations of modifiers with other keys. For example, many terminal emulators provide separate character sequences for Control combined with the cursor keys, which is not stored in the terminfo database.

Many programs contain their own databases with this information. This library tries to be a database usable by many programs, such that all programs can benefit from the information collected.

News

libt3key version 0.2.6 released

This is a re-release of version 0.2.5, to make the build scripts work now that GNU make has made c99 the default compiler.

12-Feb-2015

libt3key version 0.2.5 released

This release fixes the detection for screen, and adds aliases for common terminals with extended color support.

07-Mar-2013

libt3key version 0.2.4 released

This release adds a definition for screen, and compiles with Large File Support (LFS) if available. Furthermore, it fixes an incorrect generation of several entry names in t3learnkeys and correctly parses the blocked keys passed to t3learnkeys.

15-Jan-2013

Download

The source for libt3key is available here. Older releases are available here. libt3key requires GNU libtool to be compiled. Furthermore, it requires (n)curses or ncurses's libtinfo for access to the terminfo database. The t3learnkeys program may be compiled with X11 support, in which case the XCB or Xlib libraries and headers are also required.

Binary packages for libt3key are available from the Tilde repositories.

Contact

You can reach me at: libt3key @ REMOVE ghalkes.nl.

Copyright Notice

Copyright © 2011-2013 G.P. Halkes
libt3key is distributed under the GNU General Public License version 3.