My fork of the Suckless Simple Terminal (st).
Go to file
k0ga bda9c9ffa6 Make shift+wheel behaves as shift+Prev/Next
St uses a very good hack where mouse wheel genereates ^Y and ^E,
that are the same keys that less and vi uses for backward and
fordward scrolling. Scroll, as many terminal emulators, use
shift+Prev/Next for scrolling, but it is also using ^E and ^Y
for scroling, characters that are reserved in the POSIX shell
in emacs mode for end of line and yanking, making scroll unsable
in st.

This patch adds a new hack, making shift+wheel returning the
same sequences than shift+Prev/Next, meaning that scroll or
any other similar program will not be able to differentiate
between them.
2020-05-16 12:37:14 +02:00
FAQ Update FAQ with the last modifications 2020-04-11 15:23:23 +02:00
LEGACY LEGACY: typo. 2012-09-18 19:08:03 +02:00
LICENSE LICENSE: fix a few years 2018-03-14 20:08:00 +01:00
Makefile Makefile: fix dependencies on config.h 2019-01-04 12:33:01 +01:00
README tic -s -> tic -sx (Treat unknown capabilities as user-defined.) 2016-11-14 19:05:47 +01:00
TODO Remove old TODO entry. 2015-04-13 17:06:11 +02:00
arg.h don't modify argv, use a counter 2018-03-20 21:22:27 +01:00
config.def.h Make shift+wheel behaves as shift+Prev/Next 2020-05-16 12:37:14 +02:00
config.mk bump version to 0.8.3 2020-04-27 13:56:25 +02:00
st.1 Add support for scroll(1) 2020-04-11 15:23:20 +02:00
st.c Fix selection: selscroll 2020-05-12 15:38:17 +02:00
st.h Add support for scroll(1) 2020-04-11 15:23:20 +02:00
st.info Add st-mono terminfo entry 2020-04-11 15:23:23 +02:00
win.h better Input Method Editor (IME) support 2019-02-12 18:45:15 +01:00
x.c code-style: add fallthrough comment 2020-05-09 14:43:31 +02:00

README

st - simple terminal
--------------------
st is a simple 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 did not install st with make clean install, you must compile
the st terminfo entry with the following command:

    tic -sx st.info

See the man page for additional details.

Credits
-------
Based on Aurélien APTEL <aurelien dot aptel at gmail dot com> bt source code.