Go to file
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>
2018-02-25 21:56:26 -06:00
FAQ Fix FAQ typo 2017-12-21 19:17:40 +01:00
LEGACY LEGACY: typo. 2012-09-18 19:08:03 +02:00
LICENSE Update the LICENSE. 2016-08-11 16:30:29 +02:00
Makefile Revert "Revert "fixed STLDFLAG order in broken st Makefile"" 2017-09-15 11:16:37 +02: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 arg.h: fixed argv checks order 2016-02-21 17:21:41 +01:00
config.def.h Move CRLF input processing into ttywrite 2018-02-25 21:53:24 -06:00
config.mk Let the user specify C and LD FLAGS 2017-07-12 00:28:11 +02:00
st.1 Fix manpage typo 2017-10-10 18:08:42 +02:00
st.c Remove x.c dependency on term 2018-02-25 21:56:26 -06:00
st.h Remove x.c dependency on term 2018-02-25 21:56:26 -06:00
st.info Add dim/smxx/rmxx to terminfo, remove duplicate kich1 2017-07-12 13:29:30 +02:00
win.h Pull term references out of xdrawcursor 2018-02-25 21:56:26 -06:00
x.c Remove x.c dependency on term 2018-02-25 21:56:26 -06: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.