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.
 
 
 
 
noname 02d2df5790 Do not eat ESC character if control string is not properly terminated.
Currently tputc handles the case of too long control string waiting for
the end of control string.

Another case is when there is ESC character is encountered but is not
followed by '\\'.  In this case st stops processing control string,
but ESC character is ignored.

After this patch st processes ESC characters in control strings properly.

Test case:
printf '\e]0;abc\e[1mBOLD\e[0m'

Also ^[\ is actually processed in the code that handles ST.
According to ECMA-048 ST stands for STRING TERMINATOR and is used to
close control strings.
11 years ago
FAQ Tmux is using C-b by default. 11 years ago
LEGACY LEGACY: typo. 12 years ago
LICENSE Adding some contributors. Thanks to you all! 11 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 Updating the TODO in preparating for 0.5. 11 years ago
arg.h Update arg.h from sbase 11 years ago
config.def.h Fix Backspace and Delete characters 11 years ago
config.mk 0.5 release. 11 years ago
st.1 Conformity in the -g geometry handling. 11 years ago
st.c Do not eat ESC character if control string is not properly terminated. 11 years ago
st.info Fix Backspace and Delete characters 11 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.