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.
2e54a21b5a
Strings which an application sends to the terminal in OSC, DCS, etc are typically small (title, colors, etc) but one exception is OSC 52 which copies text to the clipboard, and is used for instance by tmux. Previously st cropped these strings at 512 bytes, which for OSC 52 limited the copied text to 382 bytes (remaining buffer space before base64). This made it less useful than it can be. Now it's a dynamic growing buffer. It remains allocated after use, resets to 512 when a new string starts, or leaked on exit. Resetting/deallocating the buffer right after use (at strhandle) is possible with some more code, however, it doesn't always end up used, and to cover those cases too will require even more code, so resetting only on new string is good enough for now. |
5 years ago | |
---|---|---|
FAQ | 6 years ago | |
LEGACY | 12 years ago | |
LICENSE | 7 years ago | |
Makefile | 6 years ago | |
README | 8 years ago | |
TODO | 10 years ago | |
arg.h | 7 years ago | |
config.def.h | 5 years ago | |
config.mk | 6 years ago | |
st.1 | 6 years ago | |
st.c | 5 years ago | |
st.h | 5 years ago | |
st.info | 5 years ago | |
win.h | 6 years ago | |
x.c | 5 years ago |
README
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 -sx 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.