Fork of https://st.suckless.org/ with patches applied.
Go to file
Tor Andersson 39964614b7 st: Fix off-by-one error when calculating character width.
LEN(str) is one larger than strlen(str) because it also counts the zero
terminator. The original code would include the .notdef glyph (since it'll
try to encode character 0, which gets encoded to the .notdef glyph) when
measuring the average dimensions of printable ascii characters.

This causes problems with fonts like GNU Unifont where the .notdef glyph is
not the same width as the usual half-width characters.

Signed-off-by: Christoph Lohmann <20h@r-36.net>
2016-03-09 22:01:25 +01:00
FAQ FAQ: fix wording 2015-03-11 17:27:55 +00:00
LEGACY LEGACY: typo. 2012-09-18 19:08:03 +02:00
LICENSE Update LICENSE 2015-07-10 13:59:08 +02:00
Makefile arg.h wasn't used for dist. 2015-03-16 22:17:30 +01:00
README Simplify README 2014-08-18 12:12:26 +02: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 I like empty lines. 2016-03-08 13:55:22 +01:00
config.mk There's no need for libXext to compile st. 2015-09-28 20:08:58 +02:00
st.1 Add -n option for setting WM_CLASS instance name 2016-01-30 09:45:23 +01:00
st.c st: Fix off-by-one error when calculating character width. 2016-03-09 22:01:25 +01:00
st.info st.info: replace the acsc entry from xterm to urxvt 2015-08-12 09:02:12 +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 -s 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.