My fork of the Suckless Simple Terminal (st).
Go to file
Roberto E. Vargas Caballero eb360e5fd1 Fix bug in tputc writing to io file
If -f options is enabled then tputc() writes all the data to a file. Actual
code assumes that all the strings in 'c' parameters have always 1 byte
length, but this is not always true, because due to utf-8 encoding some
characters can have a diferent length. So it is necessary pass string length
to tputc in order it can call to write() correctly.
---
 st.c |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
2012-09-25 21:04:35 +02:00
.hgtags Added tag 0.2.1 for changeset 108926a0fe61 2012-02-16 01:05:26 +01:00
LEGACY LEGACY: typo. 2012-09-18 19:08:03 +02:00
LICENSE Applying the patches of k0ga and changing the LICENSE file in the appropriate 2012-08-29 20:01:34 +02:00
Makefile Adding setb and setf and a comment about terminfo installation. 2012-08-29 21:13:47 +02:00
README update README. 2011-04-03 21:40:33 +02:00
TODO Adding a TODO for xft fallback. 2012-09-24 10:31:35 +02:00
config.def.h Changing the default font to DejaVu Sans Mono, which is more appealing and 2012-09-24 14:01:59 +02:00
config.mk Initial Xft support for st. More to follow. 2012-09-24 10:20:45 +02:00
st.1 Adding some more fields to the manpage, like authors, license etc. 2012-09-16 13:59:10 +02:00
st.c Fix bug in tputc writing to io file 2012-09-25 21:04:35 +02:00
st.info Implement italic font support. 2012-09-05 21:48:26 +02:00

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 don't install st, define TNAME to "xterm" in config.h or make sure to at
least compile st terminfo entry with the following command:

    tic -s st.info

It should print the path of the compiled terminfo entry. You can
safely remove it if you don't plan to use st anymore.
See the man page for additional details.

Credits
-------
Based on  Aurélien APTEL <aurelien dot aptel at gmail dot com> bt source code.