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.
4245ba0d12
The alternate screen is not properly initialized when st starts. To see this, set defaultbg in config.h to anything other than 0 (for example, swap defaultfg and defaultbg), and run: ./st -e sh -c 'tput smcup; read' You should see that the top-left 80x24 rectangle is black (or whatever colorname[0] is), while the rest of the screen (if any) has the desired colorname[defaultbg] color. The attached patch fixes this by initializing term.c.attr in tnew() before calling tresize(). It also removes the unnecessary xcalloc() calls, which misled me on this bug hunt since it is really tclearregion() which initializes term.lines and term.alt in tresize(). |
11 years ago | |
---|---|---|
FAQ | 11 years ago | |
LEGACY | 12 years ago | |
LICENSE | 12 years ago | |
Makefile | 12 years ago | |
README | 12 years ago | |
TODO | 11 years ago | |
arg.h | 12 years ago | |
config.def.h | 11 years ago | |
config.mk | 12 years ago | |
st.1 | 12 years ago | |
st.c | 11 years ago | |
st.info | 11 years ago |
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.