Luke's fork of the suckless simple terminal (st) with vim bindings and Xresource compatibility.
Go to file
Aurélien Aptel 896310e592 copy dirty lines to screen, add select() timeout & min time between draw() calls.
* add a timeout value (SELECT_TIMEOUT) of 20ms in the select() call
* wait at least 20ms (DRAW_TIMEOUT) between draw() calls
* only copy dirty lines from the buffer to the screen

what draw() does:
* clears dirty lines in the buffer
* draws the longest same-attributes string of each
  dirty line to the buffer with multiple xdraws() call
* copies the current dirty line from buffer to the screen with a single
  xcopy() call

this changeset makes st run ~10x faster.
2012-01-21 23:14:41 +01:00
.hgtags quick bug-fixing 0.1.1 release. 2011-04-03 21:05:41 +02:00
config.def.h no palette limit (thx Nick) 2011-10-06 21:32:34 +02:00
config.mk update VERSION. 2011-04-03 21:04:45 +02:00
LICENSE backport of local changes 2009-05-10 13:17:09 +01:00
Makefile fixed makefile. 2010-09-02 02:03:53 +02:00
README update README. 2011-04-03 21:40:33 +02:00
st.1 add -w option to embed st. (thx nodus cursorius) 2011-06-08 21:35:58 +02:00
st.c copy dirty lines to screen, add select() timeout & min time between draw() calls. 2012-01-21 23:14:41 +01:00
st.info change "op" cap in terminfo entry to xterm/rxvt value. 2011-08-14 17:15:19 +02:00
TODO remove dup of default window size. 2011-09-16 17:57:56 +02:00

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.