Simple Terminal with a few patches
Go to file
Roberto E. Vargas Caballero 69ee3ba3a7 Fix keypad mode and cursor mode
Keypad mode is used for detecting when keys in the auxiliary keypad are
pressed, while cursor mode is used for detecting when a cursor is pressed,
but they are different modes.

St was mixing both modes and DECPAM and DECPNM modified the cursor mode, and
this was incorrect.
---
 st.c    |    5 +++--
 st.info |    4 ++--
 2 files changed, 5 insertions(+), 4 deletions(-)
2012-11-13 20:04:34 +01:00
.hgtags Added tag 0.3 for changeset 9d54ce4daf34 2012-11-02 20:08:51 +01:00
FAQ Adding a FAQ to reference utmp(1). 2012-10-31 20:36:32 +01:00
LEGACY LEGACY: typo. 2012-09-18 19:08:03 +02:00
LICENSE Changing the license to MIT/X. 2012-11-05 04:02:20 +01:00
Makefile Adding setb and setf and a comment about terminfo installation. 2012-08-29 21:13:47 +02:00
README update README. 2011-04-03 21:40:33 +02:00
TODO Cleaning up the TODO file. 2012-10-31 20:35:07 +01:00
config.def.h Fixing an out-of-bound bug in the selection code. Thanks Szabolczs Nagy! 2012-11-03 03:24:22 +01:00
config.mk 0.3 release. 2012-11-02 20:08:27 +01:00
st.1 This changes -f to be the parameter for the font. Now -f is -o. 2012-09-30 20:23:10 +02:00
st.c Fix keypad mode and cursor mode 2012-11-13 20:04:34 +01:00
st.info Fix keypad mode and cursor mode 2012-11-13 20:04:34 +01:00

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.