Index | Thread | Search

From:
Lloyd <ng2d68@proton.me>
Subject:
[NEW]: devel/libt3key: terminal key character sequence library
To:
"ports@openbsd.org" <ports@openbsd.org>
Date:
Fri, 15 Aug 2025 01:38:41 +0000

Download raw body.

Thread
Dear ports@,

Attached please find a new port for:

libt3key: A terminal key character sequence library

This library is part of the Tilde Terminal Toolkit and was ported as a
dependency for the Tilde Text Editor, the posting of which will follow.

License:
------------
GPL3

Homepage:
------------
https://os.ghalkes.nl/t3/libt3key.html

Description:
------------
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.

Regards
Lloyd