My build of the st terminal.
 
 
 
 
Go to file
noname 3afdb4ff04 Use tsetdirt in tscrollup and tscrolldown.
tscrollup and tscrolldown do not use tsetdirt, but their code is
equivalent to

        tsetdirt(orig, term.bot-n);
        tsetdirt(orig+n, term.bot);

tclearregion also marks cleared lines as dirty.
In tscrolldown it sets lines from term.bot-n+1 to term.bot dirty, and in
tscrollup it sets lines from orig to orig+n-1 dirty.

In both functions all lines from orig to term.bot are effectively set
dirty, but in tscrolldown lines from orig+n to term.bot are set dirty
twice, and in tscrollup lines from orig to term.bot-n are set dirty
twice.

These patches make it clear which lines are set dirty and sets them
dirty once in each funciton.
2014-04-23 20:35:16 +02:00
FAQ Tmux is using C-b by default. 2013-08-22 19:32:49 +02:00
LEGACY LEGACY: typo. 2012-09-18 19:08:03 +02:00
LICENSE Adding some contributors. Thanks to you all! 2013-09-07 12:29:44 +02:00
Makefile Applying the changes to the docs; by Peter Hartman. 2013-01-05 20:30:25 +01:00
README Applying the changes to the docs; by Peter Hartman. 2013-01-05 20:30:25 +01:00
TODO Updating the TODO in preparating for 0.5. 2014-04-05 20:39:46 +02:00
arg.h Update arg.h from sbase 2013-12-18 08:29:28 +01:00
config.def.h Fix Backspace and Delete characters 2014-04-11 15:08:37 +02:00
config.mk 0.5 release. 2014-04-05 20:40:11 +02:00
st.1 Fix the geometry handling. 2013-04-13 15:24:26 +02:00
st.c Use tsetdirt in tscrollup and tscrolldown. 2014-04-23 20:35:16 +02:00
st.info Fix Backspace and Delete characters 2014-04-11 15:08:37 +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 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.