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.
950ff21e17
Sequences like DECSC, DECRC, ESC [?1047l or ESC [?1047h save and restore cursor attributes, than taken from vt100 manual are: Save Cursor (DECSC) ESC 7 =========================== Saves the following in terminal memory. - cursor position - graphic rendition - character set shift state - state of wrap flag - state of origin mode Restore Cursor (DECRC) ESC 8 =========================== Restores the states described for (DECSC) above. If none of these characteristics were saved, the cursor moves to home position; origin mode is reset; no character attributes are assigned; and the default character set mapping is established. This implies that hide attribute of the cursor should not be saved/restored in these sequences. The best way to fix this problem is moving hide attribute into the terminal mode, instead of having it in the cursor state. --- st.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) |
12 years ago | |
---|---|---|
.hgtags | 12 years ago | |
FAQ | 12 years ago | |
LEGACY | 12 years ago | |
LICENSE | 12 years ago | |
Makefile | 12 years ago | |
README | 14 years ago | |
TODO | 12 years ago | |
config.def.h | 12 years ago | |
config.mk | 12 years ago | |
st.1 | 12 years ago | |
st.c | 12 years ago | |
st.info | 12 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 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.