Go to file
dequis 4be353e381 Fix extra bracketed paste markers when pasting >8kb
Before this patch, when pasting over BUFSIZE (8192 bytes here), st would
do the following:

    \e[200~...8192 bytes...\e[201~\e[200~...remaining bytes...\e[201~

With this patch, the start marker is only sent when the offset is 0 (at
the beginning of selnotify) and the end marker is only sent when the
remaining bytes to read are 0 (at the end).

For short pastes, both conditions are true in the same iteration.

For long pastes, it removes the extra markers in the middle, keeping the
intended wrapping:

    \e[200~...8192 bytes......remaining bytes...\e[201~

Signed-off-by: Christoph Lohmann <20h@r-36.net>
2015-09-25 20:16:30 +02:00
FAQ FAQ: fix wording 2015-03-11 17:27:55 +00:00
LEGACY LEGACY: typo. 2012-09-18 19:08:03 +02:00
LICENSE Update LICENSE 2015-07-10 13:59:08 +02:00
Makefile arg.h wasn't used for dist. 2015-03-16 22:17:30 +01:00
README Simplify README 2014-08-18 12:12:26 +02:00
TODO Remove old TODO entry. 2015-04-13 17:06:11 +02:00
arg.h Update arg.h from sbase 2013-12-18 08:29:28 +01:00
config.def.h The times of bad fonts are over. 2015-09-12 16:43:32 +02:00
config.mk Commit to push the 0.6 release. 2015-07-07 22:26:44 +02:00
st.1 Change Pause to Break in shortcut for serial break 2015-09-08 17:02:15 +02:00
st.c Fix extra bracketed paste markers when pasting >8kb 2015-09-25 20:16:30 +02:00
st.info st.info: replace the acsc entry from xterm to urxvt 2015-08-12 09:02:12 +02:00

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