st is a simple terminal implementation for X.
In order to build st you need the Xlib header files.
All patch was saved on the patches
directory. Installed patch:
- st-scrollback, st-scrollback-mouse, st-scrollback-mouse-altscreen
- st-nordtheme
- st-boxdraw
- st-anygeometry
- st-font2
- st-w3m
- scrollback support with keyboard and mouse,
- better w3m image support,
- better line render with boxdraw,
- better glyph render with font2,
- font resize on the fly,
- nord theme.
- scrollback:
alt + up/down
,alt + pageup/down
for faster scolling, or usemouse scroll
instead. - font resize
- increase:
ctrl + plus
orctrl + shift + equal
- decrease:
ctrl + minus
- reset to default:
ctrl + equal
- increase:
- clipboard
- copy:
ctrl + shift + c
- paste:
ctrl + shift + p
- copy:
Edit config.mk
to match your local setup (st is installed into the /usr/local
namespace by default).
If you want to compile st for OpenBSD you have to remove -lrt
from config.mk
.
Afterwards enter the following command to build and install:
git clone https://github.com/deanvry/st --depth=1
cd st
sudo make clean install
If you did not install st with make clean install, you must compile the st terminfo entry with the following command:
tic -sx st.info
See the man page for additional details.
First go to this repo root directory, then enter the following command below:
sudo make uninstall
Based on Aurélien APTEL bt source code.