My own clone of suckless st with custom patches and settings kept in the "custom" branch.
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
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.
4 years ago
FAQ Update FAQ with the last modifications 4 years ago
LEGACY LEGACY: typo. 12 years ago
LICENSE LICENSE: fix a few years 6 years ago
Makefile Makefile: fix dependencies on config.h 5 years ago
README tic -s -> tic -sx (Treat unknown capabilities as user-defined.) 8 years ago
TODO Remove old TODO entry. 9 years ago
arg.h don't modify argv, use a counter 6 years ago
config.def.h Make shift+wheel behaves as shift+Prev/Next 4 years ago
config.mk bump version to 0.8.3 4 years ago
st.1 Add support for scroll(1) 4 years ago
st.c Fix selection: selscroll 4 years ago
st.h Add support for scroll(1) 4 years ago
st.info Add st-mono terminfo entry 4 years ago
win.h better Input Method Editor (IME) support 5 years ago
x.c code-style: add fallthrough comment 4 years ago

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.