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.
 
 
 
Devin J. Pohly a3beb626d2 Remove x.c dependency on term
The xinit function only needs to the rows/cols, so pass those in rather
than accessing term directly.  With a bit of arithmetic, we are able to
avoid the need for term.row and term.col in x2col, y2row, and
xdrawglyphfontspecs as well, completing the removal.

Term is now fully internal to st.c.

Signed-off-by: Devin J. Pohly <djpohly@gmail.com>
7 years ago
FAQ Fix FAQ typo 7 years ago
LEGACY LEGACY: typo. 12 years ago
LICENSE Update the LICENSE. 8 years ago
Makefile Revert "Revert "fixed STLDFLAG order in broken st Makefile"" 7 years ago
README tic -s -> tic -sx (Treat unknown capabilities as user-defined.) 8 years ago
TODO Remove old TODO entry. 10 years ago
arg.h arg.h: fixed argv checks order 9 years ago
config.def.h Move CRLF input processing into ttywrite 7 years ago
config.mk Let the user specify C and LD FLAGS 8 years ago
st.1 Fix manpage typo 7 years ago
st.c Remove x.c dependency on term 7 years ago
st.h Remove x.c dependency on term 7 years ago
st.info Add dim/smxx/rmxx to terminfo, remove duplicate kich1 8 years ago
win.h Pull term references out of xdrawcursor 7 years ago
x.c Remove x.c dependency on term 7 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.