Giter VIP home page Giter VIP logo

st's Introduction

st - simple terminal

st is a simple terminal emulator for X which sucks less.

Patches

Each patch applied to this version of st lives in a separate branch in this repository. Such a branch can either be a vanilla patch like they can be downloaded from the suckless website, or a modified patch, or a completely custom patch. Below you find all the applied patches in the order they were merged into the master branch of this repository.

alpha + xresources

Combining alpha with xresources only makes sense, because they are often defined in the same Xresources file. Moreover, I patched the URXVT escape sequences into it as well. This will make st listen to pywal updates 💪.

newterm

Spawn a new terminal in the same folder with alt+enter 📺.

copyurl

Jump between urls visible in terminal with alt+n (forward) or alt+m (backward) and copy the url to the clipboard. This patch is perfect in conjunction with the openclipboard patch. I modified the standard copyurl patch to work with multi-line urls 🌐. This patch is perfect in combination with openclipboard.

openclipboard

The keybinding alt+g opens whatever is on the clipboard with xdg-open📋. This patch is perfect in combination with copyurl.

font2

St does not listen to the fallback fonts defined in your fontconfig: st will only use the first match. Hence to have proper fallback fonts defined, one needs to define those with the font2 patch.

Other branches

v3

Should be up to date with master.

v2

A very similar build as v3, but with font ligatures.

v1

A very similar build as v2 or master but with all the scrollback patches applied as well.

ligatures

Enable font-ligatures. Note that a ligature-capable font needs to be defined as your primary st font for this to work. Turns out I don't actually like ligatures that much, so I disabled it in v3.

scrollback

Scrollback is not implemented (in v2 and v3) with the scrollback patch. Instead, a separate tiny (suckless) program, sroll, is used which implements this feature. According to the suckless developers, this solution is much better than patching the scrollback in st itself.

However, the scrollback branch (used in v1) is still available in this repository. This branch contains all the scrollback patches together.

Requirements

  • In order to build st you need the Xlib header files.
  • In order to have color-emojis in the terminal, you'll want libxft-bgra to be installed.

Installation

Edit config.mk to match your local setup (st is installed into the /usr/local namespace by default).

Afterwards enter the following command to build and install st (if necessary as root):

    make clean install

Running st

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.

Credits

st's People

Contributors

aaptel avatar agonrex avatar avih avatar bennofs avatar blackbit42 avatar brandoninvergo avatar colona avatar djpohly avatar electronicru avatar ericpruitt avatar esjeon avatar flaport avatar frign avatar garbeam avatar hiltjo avatar jceb avatar k0gamsx avatar lotheac avatar medgar123 avatar michaelforney avatar mihailzenkov avatar mvdan avatar osandov avatar pickfire avatar pilona avatar radare avatar schachmat avatar suiginsoft avatar v4hn avatar wengxt avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.