a fork of https://st.suckless.org with some patches and zig build
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.
39964614b7
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> |
9 years ago | |
---|---|---|
FAQ | 10 years ago | |
LEGACY | 12 years ago | |
LICENSE | 9 years ago | |
Makefile | 10 years ago | |
README | 10 years ago | |
TODO | 10 years ago | |
arg.h | 9 years ago | |
config.def.h | 9 years ago | |
config.mk | 9 years ago | |
st.1 | 9 years ago | |
st.c | 9 years ago | |
st.info | 9 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 -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.