aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Lohmann <20h@r-36.net>2013-01-05 20:30:25 +0100
committerChristoph Lohmann <20h@r-36.net>2013-01-05 20:30:25 +0100
commitc772a6e5719aa24d10d664262383b76a36e3458b (patch)
treeea15607d342c6f0c2340749632565e1910eefda3
parent4682cc9596a5c82325882bdf1313728de95467d2 (diff)
downloadst-c772a6e5719aa24d10d664262383b76a36e3458b.tar.gz
st-c772a6e5719aa24d10d664262383b76a36e3458b.zip
Applying the changes to the docs; by Peter Hartman.
-rw-r--r--Makefile3
-rw-r--r--README8
-rw-r--r--st.c2
3 files changed, 5 insertions, 8 deletions
diff --git a/Makefile b/Makefile
index 8fc9674..52af636 100644
--- a/Makefile
+++ b/Makefile
@@ -48,8 +48,7 @@ install: all
48 @mkdir -p ${DESTDIR}${MANPREFIX}/man1 48 @mkdir -p ${DESTDIR}${MANPREFIX}/man1
49 @sed "s/VERSION/${VERSION}/g" < st.1 > ${DESTDIR}${MANPREFIX}/man1/st.1 49 @sed "s/VERSION/${VERSION}/g" < st.1 > ${DESTDIR}${MANPREFIX}/man1/st.1
50 @chmod 644 ${DESTDIR}${MANPREFIX}/man1/st.1 50 @chmod 644 ${DESTDIR}${MANPREFIX}/man1/st.1
51 @echo If things do not seem to work, be sure that there is no \ 51 @echo Please see the README file regarding the terminfo entry of st.
52 floating st terminfo in the .terminfo directory in your home dir.
53 @tic -s st.info 52 @tic -s st.info
54 53
55uninstall: 54uninstall:
diff --git a/README b/README
index e801c02..25606a2 100644
--- a/README
+++ b/README
@@ -21,16 +21,14 @@ necessary as root):
21 21
22Running st 22Running st
23---------- 23----------
24If you don't install st, define TNAME to "xterm" in config.h or make sure to at 24If you did not install st with make clean install, you must compile
25least compile st terminfo entry with the following command: 25the st terminfo entry with the following command:
26 26
27 tic -s st.info 27 tic -s st.info
28 28
29It should print the path of the compiled terminfo entry. You can
30safely remove it if you don't plan to use st anymore.
31See the man page for additional details. 29See the man page for additional details.
32 30
33Credits 31Credits
34------- 32-------
35Based on Aurélien APTEL <aurelien dot aptel at gmail dot com> bt source code. 33Based on Aurélien APTEL <aurelien dot aptel at gmail dot com> bt source code.
36 34
diff --git a/st.c b/st.c
index 163f160..7010195 100644
--- a/st.c
+++ b/st.c
@@ -436,7 +436,7 @@ typedef struct {
436 * the current length of used elements. 436 * the current length of used elements.
437 */ 437 */
438 438
439static Fontcache frc[2048]; 439static Fontcache frc[2];
440static int frccur = -1, frclen = 0; 440static int frccur = -1, frclen = 0;
441 441
442ssize_t 442ssize_t