ghalkes:~# command line tools

Tilde Terminal Toolkit


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.


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.


libt3key version 0.2.5 released

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


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.



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.


You can reach me at: libt3key @ REMOVE

Copyright Notice

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