fikovnik / st Goto Github PK
View Code? Open in Web Editor NEWst fork with my config
License: MIT License
st fork with my config
License: MIT License
st - simple terminal -------------------- st is a simple terminal emulator for X which sucks less. Requirements ------------ In order to build st you need the Xlib header files. 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 ------- Based on Aurélien APTEL <aurelien dot aptel at gmail dot com> bt source code.
I decided to head
an iso, to see what it looked like. I saw some normal text, but I didn't get my shell prompt until a few seconds later. Then all the text became garbled. I can still use it, though, since I'm running htop
just fine. Also, some characters are unaffected, like digits and capital letters.
This was in the st
which ran at the startup of my desktop. I tried to duplicate the effect with an st
from lxterminal, but it is fine. The output from lxterminal is:
$ st
erresc: unknown str ESC]7
erresc: unknown sequence ESC 0xFD '.'
erresc: unknown sequence ESC 0x4F '0'
esc unhandled charset: ESC ( 0
esc unhandled charset: ESC ( 0
erresc: unknown sequence ESC 0x4F '0'
erresc: unknown sequence ESC 0x4F '.'
erresc: unknown sequence ESC 0x4F '.'
erresc: unknown sequence ESC 0x4F '.'
erresc: unknown sequence ESC 0x4F '&'
In htop, the bars are normally bars: |
. Now they are nequal signs: ≠
. Similarly, backtick is a diamond, ~
is a dot, {
is pi, }
is euro, and all other symbols on my keyboard are fine.
The apps that define alternate screen mode usually have their own handling of C&P (e.g. tmux, emacs, vim) so they should handle this.
Fix the width of characters - for example this does not work well.
When I launch st from an i3 binding, it doesn't use the proper font. When I run an identical command (st -f "Liberation Mono"
) from zsh, the font is properly selected.
Other arguments that I pass to the -f flag in i3 work as expected. For instance, I am able to change the font launching from the i3 binding. So far the only thing that I noticed not to work is the font selection itself.
Here is the pertinent line in my i3 config file ~/.config/i3/config
:
bindsym $mod+Return exec --no-startup-id st -f "Liberation Mono"
Add -d
flag which will look for an existing instance given the window name and class. If found and not active it will make it active, if already active, it will hide it. The idea is to bind it to some window manager key shortcut.
Fix terminal keys binding based on http://www.leonerd.org.uk/hacks/fixterms/
Using the ESC 12 allow to set hex color
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.