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.
 
 
 
Eon S. Jeon 33ad83d492 Improved font caching
I made a patch that improves the performance of font caching mechanism.
This is based on a funny behaviour of FontConfig: it was handling
FcCharSet in a somewhat unexpected way.

So, we are currently adding "a character" to a new FcCharSet, and then
add it to a FcPattern. However, if we toss the FcPattern to FontConfig,
it loads the entire language(charset) that contains the character we
gave. That is, we don't always have to load a new font for each unknown
character. Instead, we can reused cached fonts, and this significantly
reduces the number of calls to extremely slow FontConfig matching
functions.

One more thing. I found that, in libXft, there's a function called
XftCharExists. XftCharIndex internally calls this function, and
does more stuffs if the character does exist. Since the returned index
is never used in st, we should call XftCharExists instead of
XftCharIndex. Please note that I already made this change in the patch.
11 years ago
FAQ \033 should be used in printf in the FAQ. 12 years ago
LEGACY LEGACY: typo. 12 years ago
LICENSE Changing the license to MIT/X. 12 years ago
Makefile Applying the changes to the docs; by Peter Hartman. 12 years ago
README Applying the changes to the docs; by Peter Hartman. 12 years ago
TODO Remove long text being cropped/wrapped to standard 80x24 on launch. 12 years ago
arg.h Adopting arg.h with more flexible cmd handling. 12 years ago
config.def.h fix: whitespace 12 years ago
config.mk 0.4.1 release. 12 years ago
st.1 Fix the geometry handling. 12 years ago
st.c Improved font caching 11 years ago
st.info Enable blinking in st. 12 years ago

README

st - simple terminal
--------------------
st is a simple virtual 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.