St

st is a simple terminal implementation for X environment made by the suckless.org community.

Installation[edit | edit source]

USE flags[edit | edit source]

USE flags for x11-terms/st simple terminal implementation for X

savedconfig Use this to restore your config from /etc/portage/savedconfig ${CATEGORY}/${PN}. Make sure your USE flags allow for appropriate dependencies

Preferably, savedconfig USE flag can be enabled and save a customized configuration file to /etc/portage/savedconfig/x11-terms/st for later editing pleasure.

root #euse --enable savedconfig

Emerge[edit | edit source]

Install x11-terms/st:

root #emerge --ask x11-terms/st

Configuration[edit | edit source]

Important
If you didn't install it with savedconfig USE flag, upon recompilation you will lose your custom settings stored in /etc/portage/savedconfig/x11-terms/st depending of the option chosen, upon an etc-update.

As stated previously, the main st configuration file is the /etc/portage/savedconfig/x11-terms/st file and after each change, st needs to be recompiled for any changes to take effect.

Patches and additional features[edit | edit source]

There are many user-created patches available from the official site that greatly extend the functionality of st. See /etc/portage/patches on how to apply these patches automatically.

Troubleshooting[edit | edit source]

Keyboard[edit | edit source]

Delete key is not working properly[edit | edit source]

Add following to the /etc/inputrc to make a system-wide change:

FILE /etc/inputrc
set enable-keypad on

Or to the relative user's ~/.inputrc file:

FILE ~/.inputrc
$include /etc/inputrc
set enable-keypad on
This article is issued from Gentoo. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.