mirror of
https://git.suckless.org/st
synced 2026-07-12 02:41:35 +02:00
04ce0d643ed17793803e8516f4c9a5b13b93c400
die() calls vfprintf(3) and exit(3), which are not
async-signal-safe. If SIGCHLD is handled while exiting, this
can make st hang or crash.
Commit d6ea0a1 replaced exit(3) by _exit(2) in sigchld()
but the error paths still call die(). Fix that by using
_exit(2) there as well.
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.
Languages
C
96%
Roff
2.6%
Makefile
1.4%