adnan360 afc0e596a3 Add solution to OpenBSD rt error for st 3 년 전
..
patches 0a577d2e73 st: Add new terminal window patch 4 년 전
src 679157e79c Update st to 0.8.4 4 년 전
.gitignore 679157e79c Update st to 0.8.4 4 년 전
README.md afc0e596a3 Add solution to OpenBSD rt error for st 3 년 전
patch.sh ba763d97e5 Change bash shebang line to env 3 년 전

README.md

st - simple terminal from suckless.org (personal build)

st is a simple, lightweight and minimalist terminal for X (linux/*nix). This is not my code. I have taken the source from here and applied some patches.

Get source

st-0.8.4 can be retrieved from here.

The source is already retrieved and placed on src.

Changes

The patches are in patches directory.

1. Config

With config.patch.

2. Scrollback http://st.suckless.org/patches/scrollback/ (3 patches)

  • Adds scrollback feature
  • Shift+Page up/down: to scroll previous/next text
  • Shift+mouse scroll: scroll text
  • Mouse scroll: scroll on less output

3. New terminal window (source)

The patch for 0.8.2 doesn't work on latest source. So had to create it from scratch manually. When applied you can press Ctrl+Shift+Enter to open a new terminal window.

How to prepare the sources

Open a terminal on this directory and run:

./patch.sh

Build prerequisites might be something like:

# Void Linux:
sudo xbps-install make gcc libXft-devel

In OpenBSD there might be an ld: error: unable to find library -lrt error because rt is already there in libc. So you might need to run the command below:

sed -i'.bak' -r 's/-lrt //' build/config.mk

Then:

cd build
make clean
make
sudo make install