SuSE - nurmi-labs/blogger GitHub Wiki
Use the TTY when requesting passwords.
bash-4.4$ unset SSH_ASKPASS
bash-4.4$
bash-4.4$ tar xf st-0.9.tar.gz
bash-4.4$ cd st-0.9
bash-4.4$ sed -i "s#/usr/local#~/.local#g" config.mk
bash-4.4$ sed -i "s#/share##g" config.mk
bash-4.4$ make clean install CC=gcc
rm -f st st.o x.o st-0.9.tar.gz
cp config.def.h config.h
gcc -I/usr/X11R6/include `pkg-config --cflags fontconfig` `pkg-config --cflags freetype2` -DVERSION=\"0.9\" -D_XOPEN_SOURCE=600 -O -c st.c
gcc -I/usr/X11R6/include `pkg-config --cflags fontconfig` `pkg-config --cflags freetype2` -DVERSION=\"0.9\" -D_XOPEN_SOURCE=600 -O -c x.c
gcc -o st st.o x.o -L/usr/X11R6/lib -lm -lrt -lX11 -lutil -lXft `pkg-config --libs fontconfig` `pkg-config --libs freetype2`
mkdir -p ~/.local/bin
cp -f st ~/.local/bin
chmod 755 ~/.local/bin/st
mkdir -p ~/.local/man/man1
sed "s/VERSION/0.9/g" < st.1 > ~/.local/man/man1/st.1
chmod 644 ~/.local/man/man1/st.1
tic -sx st.info
7 entries written to /home/eric/.terminfo
Please see the README file regarding the terminfo entry of st.
bash-4.4$ strip --strip-unneeded ~/.local/bin/st
bash-4.4$ gzip -9 ~/.local/man/man1/st.1
bash-4.4$