Re: [hackers] st][PATCH - proper escape sequence for CTRL+HOME

From: Roberto E. Vargas Caballero <>
Date: Tue, 1 Mar 2022 11:18:41 +0100


On Mon, Feb 28, 2022 at 09:27:22PM -0600, Dave Blanchard wrote:
> I have absolutely no idea what the 'appkey' and 'appcursor' fields do, as there are almost no comments anywhere to be found in the source code, and I haven't yet reverse engineered the code enough to figure out what the hell it's actually doing with those values. The provided values seem to work fine, though they may need to be changed if they're wrong.

'appkey' and 'appcursor' are modes in the vt100, you only have to search in the
vt100 documentation [1] for application mode and/or numeric mode. You can also
search for the terminfo sequences rmkx and smkx in terminfo(5).

> On that note, regrettably it will be necessary for me to fork this project, if for no other reason than to properly comment it, so that its functionality can be understood and easily modified. It's a shame that such a nice little program is marred by its total lack of commentation, along with poorly chosen function and variable names. The use of tabs in the source code isn't particularly desirable either, IMO.

Please, fork it and leave us quiet, we don't need people like you
that are proud of not knowing things. Appkey and Appcursor are related
to the vt100 way of working, and the objective of the source code
of st is not to teach you about how terminals work. You should learn that
by yourself. As, you demostrated your zero capability to search for
documentation I give you a link [2] that explains the topic. Please,
the next time before going into a community with that total lack of
etiquette try to search information about the topic, because you were
requesting info for something that was not part of the structure of the
code itself.


Received on Tue Mar 01 2022 - 11:18:41 CET

This archive was generated by hypermail 2.3.0 : Tue Mar 01 2022 - 12:24:40 CET