Giter Club home page Giter Club logo

st's Introduction

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.

st's People

Contributors

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

Watchers

 avatar  avatar  avatar

st's Issues

Unknown character sequence

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.

Font not being loaded when launching from i3

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 drop-down support

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.

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.