Fork of https://st.suckless.org/ with patches applied.
3b16695f4e
Usually the arrow keys generate the ANSI sequence which terminal will understand like a movement, so it is not necessary any dealing for them, the program can not know if the sequence is generate for a echo key or directly from the program. If you need really know if the key was pressed then you need activate the keypad mode where the keys will generate a special code for each keypad key. The terminfo capabilities kcub1, kcud1, kcuf1 and kcuu1 are used for this keypad code, not for the sequence generate in the ansi mode. --- st.info | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) |
||
---|---|---|
.hgtags | ||
FAQ | ||
LEGACY | ||
LICENSE | ||
Makefile | ||
README | ||
TODO | ||
config.def.h | ||
config.mk | ||
st.1 | ||
st.c | ||
st.info |
README
st - simple terminal -------------------- st is a simple virtual terminal emulator for X which sucks less. Requirements ------------ In order to build st you need the Xlib header files. Installation ------------ Edit config.mk to match your local setup (st is installed into the /usr/local namespace by default). Afterwards enter the following command to build and install st (if necessary as root): make clean install Running st ---------- If you don't install st, define TNAME to "xterm" in config.h or make sure to at least compile st terminfo entry with the following command: tic -s st.info It should print the path of the compiled terminfo entry. You can safely remove it if you don't plan to use st anymore. See the man page for additional details. Credits ------- Based on Aurélien APTEL <aurelien dot aptel at gmail dot com> bt source code.