Applying the changes to the docs; by Peter Hartman.

dev
Christoph Lohmann 2013-01-05 20:30:25 +01:00
parent 4682cc9596
commit c772a6e571
3 changed files with 5 additions and 8 deletions

View File

@ -48,8 +48,7 @@ install: all
@mkdir -p ${DESTDIR}${MANPREFIX}/man1 @mkdir -p ${DESTDIR}${MANPREFIX}/man1
@sed "s/VERSION/${VERSION}/g" < st.1 > ${DESTDIR}${MANPREFIX}/man1/st.1 @sed "s/VERSION/${VERSION}/g" < st.1 > ${DESTDIR}${MANPREFIX}/man1/st.1
@chmod 644 ${DESTDIR}${MANPREFIX}/man1/st.1 @chmod 644 ${DESTDIR}${MANPREFIX}/man1/st.1
@echo If things do not seem to work, be sure that there is no \ @echo Please see the README file regarding the terminfo entry of st.
floating st terminfo in the .terminfo directory in your home dir.
@tic -s st.info @tic -s st.info
uninstall: uninstall:

8
README
View File

@ -21,16 +21,14 @@ necessary as root):
Running st Running st
---------- ----------
If you don't install st, define TNAME to "xterm" in config.h or make sure to at If you did not install st with make clean install, you must compile
least compile st terminfo entry with the following command: the st terminfo entry with the following command:
tic -s st.info 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. See the man page for additional details.
Credits Credits
------- -------
Based on Aurélien APTEL <aurelien dot aptel at gmail dot com> bt source code. Based on Aurélien APTEL <aurelien dot aptel at gmail dot com> bt source code.

2
st.c
View File

@ -436,7 +436,7 @@ typedef struct {
* the current length of used elements. * the current length of used elements.
*/ */
static Fontcache frc[2048]; static Fontcache frc[2];
static int frccur = -1, frclen = 0; static int frccur = -1, frclen = 0;
ssize_t ssize_t