Git Product home page Git Product logo

xst's People

Contributors

aaptel avatar actionless avatar agonrex avatar avih avatar blackbit42 avatar colona avatar djpohly avatar electronicru avatar ericpruitt avatar esjeon avatar frign avatar garbeam avatar hiltjo avatar k0gamsx avatar laserswald avatar lotheac avatar medgar123 avatar michaelforney avatar mvdan avatar n-r-k avatar neeasade avatar odknt avatar osandov avatar pickfire avatar pilona avatar raafatturki avatar radare avatar schachmat avatar suiginsoft avatar v4hn avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

xst's Issues

Issue diskplay to font??

I using xst and same font with urxvt, I don't know issue xst about:

https://i.imgur.com/ewNvFvJ.jpg
The left is xst and middle is urxvt.

Xresources config:

! These options only take effect on startup.
st.termname: st-256color
! The following options options can be reloaded via USR1 signal.
st.font: Roboto Mono for Powerline:pixelsize=9:antialias=true:autohint=true
Ubuntu Mono derivative Powerline for Powerline:pixelsize=9:antialias=true:autohint=true
Typicons:pixelsize=9:antialias=true:autohint=true:style=Book;

st.borderpx: 22
! Available cursor values: 2 4 6 7 = β–ˆ _ | β˜ƒ ( 1 3 5 are blinking versions)
st.cursorshape: 4
st.cursorthickness: 2
st.cursorblinkstyle: 0
st.cursorblinkontype: 1
st.bold_font: 0
st.xfps: 120
st.actionfps: 30
st.chscale: 1.0
st.cwscale: 1.0
st.blinktimeout: 800
st.bellvolume: 100

xst randomly freezes after reloading

I reload them with killall -s USR1 st.

Almost every time I reload them one of them freezes and has to be killed with kill because it doesn't respond to X events.

file owned by 'xst-git'

I'm not sure what the issue is here. This is the output of any pacman related command with xst-git from AUR installed.

error: file owned by 'ncurses' and 'xst-git': 'usr/share/terminfo/s/st'
error: file owned by 'ncurses' and 'xst-git': 'usr/share/terminfo/s/st-256color'

How do I enable true color?

Currently printf "\x1b[38;2;255;100;0mTRUECOLOR\x1b[0m\n" (true color test) fails, I was under the understanding st is true color by default?

Cheers.

incorrect Xresouses colors

When i change the colors and reload, st use a different colors

my config file

#include ".xcolors/xcolors"
! ST SETTINGS {{{
! These are all possible options, presented with default values.
! xst will fallback to *.option if st.option is not present.
! see src/config.h for more information about option meanings.

! These options only take effect on startup.
st.termname:     st-256color
! if you do not set shell, precedence is: -e arg, utmp option, SHELL env var, /etc/passwd shell
st.shell:        /bin/sh

! The following options options can be reloaded via USR1 signal.
st.font:              Terminus:size=10:antialias=true:autohint=true;
st.borderpx:          10
! Available cursor values: 2 4 6 7 = β–ˆ _ | β˜ƒ ( 1 3 5 are blinking versions)
st.cursorshape:       2
! thickness of underline and bar cursors
st.cursorthickness:   2
! 0: normal blinking, 1: leave cursor border and blink with cursors background
st.cursorblinkstyle:  1
! 0: cursor blinks with a constant interval; 1: blinking cycle resets on key input
st.cursorblinkontype: 1
st.bold_font:         0
st.xfps:              120
st.actionfps:         30
! Amount of lines scrolled
st.mouseScrollLines:  1
! Kerning / character bounding-box height multiplier
st.chscale:           1.0
! Kerning / character bounding-box width multiplier
st.cwscale:           1.0
! blinking timeout for terminal and cursor blinking (0 disables)
st.blinktimeout:      800
! bell volume. Value between -100 and 100. (0 disables)
st.bellvolume:        100
! this is a char that is exposed like so: `printf '\033[z'`
st.prompt_char:       $
! This option is can be preedit style. Available values: `root` `overthespot` (Default taken `root`)
st.imstyle:           root

! opacity==255 means what terminal will be not transparent, 0 - fully transparent
st.opacity:      255
! }}}

xcolor file

! special
*.foreground:   #7fc3d3
*.background:   #263137
*.cursorColor:  #7fc3d3

! black
*.color0:       #545454
*.color8:       #545454

! red
*.color1:       #455964
*.color9:       #455964

! green
*.color2:       #424b6c
*.color10:      #424b6c

! yellow
*.color3:       #747474
*.color11:      #747474

! blue
*.color4:       #1ca5c5
*.color12:      #1ca5c5

! magenta
*.color5:       #6c4262
*.color13:      #6c4262

! cyan
*.color6:       #8abeb7
*.color14:      #8abeb7

! white
*.color7:       #707880
*.color15:      #c5c8c6

Borderpx = 0 doesn't apply to terminal

I have this set in both st and xst static int borderpx = 0;

st works - I have tmux session and the left status in bottom of screen

xst doesn't work - tmux session's status is a little above my screen, I can move cursor under the tmux's left status.

Reverse attribute hides text when st.opacity = 0

Text with the reverse attribute shows text in white background and foreground, therefore hides the text. This includes the block cursor.

xst screenshot:

screenshot

urxvt screenshot:

screenshot-urxvt

My xst specific Xresources:

st.termname: xst-256color
st.font: Hack:pixelsize=14:antialias=true:autohint=true
st.borderpx: 6
st.opacity: 0
st.bold_font: 0
st.cwscale: 1.1
st.chscale: 0.9

! vim: set ft=xdefaults:

Output of xrdb -query:

*background:	#151515
*color0:	#151515
*color1:	#ac4142
*color10:	#90a959
*color11:	#f4bf75
*color12:	#6a9fb5
*color13:	#aa759f
*color14:	#75b5aa
*color15:	#f5f5f5
*color16:	#d28445
*color17:	#8f5536
*color18:	#202020
*color19:	#303030
*color2:	#90a959
*color20:	#b0b0b0
*color21:	#e0e0e0
*color3:	#f4bf75
*color4:	#6a9fb5
*color5:	#aa759f
*color6:	#75b5aa
*color7:	#d0d0d0
*color8:	#505050
*color9:	#ac4142
*cursorColor:	#d0d0d0
*foreground:	#d0d0d0
URxvt*font:	xft:Hack:pixelsize=14
URxvt*geometry:	120x32
URxvt*internalBorder:	6
URxvt*scrollBar:	false
URxvt*shading:	20
URxvt*transparent:	true
URxvt.keysym.Control-Left:	\033[1;5D
URxvt.keysym.Control-Right:	\033[1;5C
URxvt.matcher.button:	2
URxvt.perl-ext-common:	default,matcher,resize-font
URxvt.url-launcher:	/usr/bin/xdg-open
Xft.rgba:	rgb
st.bold_font:	0
st.borderpx:	6
st.chscale:	0.9
st.cwscale:	1.1
st.font:	Hack:pixelsize=14:antialias=true:autohint=true
st.opacity:	0
st.termname:	xst-256color

Update package for Fedora 29

Hi all
I would like you to use xst in Fedora 29. The linked copr repo only contains builds up to Fedora 28. Could you create a build for Fedora 29?
Thanks and keep up the good work!

Crashing Terminal

Hey! First at all i really enjoy using this terminal. Thanks for keeping it alive.

But recently i have encountered some trouble with it. E.g. when i try to search some music in mpsyt or open my mailbox in neomutt, the terminal will crash. The programs run fine until that point. Maybe it has some problems with rendering big lists or something. I already reinstalled the terminal, but this didn't prevent ther terminal from crashing ;(

Here are some information about my system:
OS: Manjaro Linux 4.19.12-2
terminal version (installed from AUR): xst-git 20181014.5d2206e-1
email client (installed from AUR): NeoMutt 20180716
mpsyt 0.2.8

If you need more information, just asked. I don't know what to do about it, except asking here for help.

child finished with error '256'

Sorry if this turns out to be a newbie mistake on my end but..

Compiled using make and sudo make install.
Everytime I load it up it crashes with the above error. My googlefu failed to reveal anything that would help me.

Thanks in advance.

uname -r output
4.4.0-59-generic, Lubuntu ( my normal distro is Arch; this is only temporary )

-geometry doesn't work

The same system, this command work: urxvtc -name ArbitraryWindows -geometry 160x50
output: windows is resized.

But with xst, it won't work: xst -class=ArbitraryWindows -geometry=100x50
no output, the result is that xst doesn't respect -geometry option that resize xst' window to something 100x50.

How to fix it?

BiDirectional text support

In the modern world, the support for some languages that are right-to-left and mixing them with left-to-write words and numbers is crucial for a different software. At some point, this should be supported everywhere, including the console.

I started to gather the information about BiDi support in various console terminals (and programs) in analogy with true color crusade at https://gist.github.com/XVilka/a0e49e1c65370ba11c17

Line Spacing

Is it possible to configure line spacing? I have a few fonts that I would love to use, however they are rendered with excess line spacing. I have the same issue with URxvt (that I'd like to switch off from) They offer this feature, but without negative values.

Difference between git version and void linux package

This is a question from a rookie. Any help is appreciated.
First I installed xst using xbps-install, realizing I could only recompile it with build from source. Then I "make install"-ed with git clone. The latter seems to have the delkey and some other patch. The backspace and arrow keys behave differently which was not a surprise as stated in the FAQ. I found that in the "xbps-install" the keys behave the same as in an unpatched st. yet the config.h file from github and void repo seems to be the same. What could be the reason of such difference?
(I still incline to build from source but want to figure out how to remove the patch and let the keys behave as unpatched st)

Thank you.

Works but getting odd output in terminal launched from

So I have run ./st after running make and it opens up and works but when I interact with the terminal I get endless lines of this:

erresc(default): gfx attr 10 unknown
ESC[0;10m

*This is from the terminal I ran ./st in?

Change transparency from command line options

Hi,
Thanks @actionless for the alpha patch.

Could you expose a command-line option for xst, so that we can change the opacity during the launch of st ?

The problem is that the alpha patch breaks image previews in ranger. I only need transparency in the drop down terminal.

Clipboard patch

Hey,

thanks for the great work!
Would you mind adding the clipdoard patch too?

https://st.suckless.org/patches/clipboard/
Coping from the browser e.g. is quite hard without it and I suppose I would not break any other funcionality. If you like I can submit a PR.

Cheers,
Pablo

is there a way to set a keybind?

I have a script that sets the font size (using kill -USR1 and xrdb to live reload the changes made to .Xresources).

I want that when I hit shift + mousewheel-up, this script gets executed.

Is there a way to achieve that in xst?

thanks for the project @neeasade!

binary name

Hi,

Would you consider calling the binary xst in order to have both xst and st ?
Thanks

β›© (U+26E9, shinto shrine emoji) crashes xst

Rendering the character U+26E9 (Shinto Shrine Emoji) causes st to crash, resulting in the message:

X Error of failed request:  BadLength (poly request too large or internal Xlib length error)
  Major opcode of failed request:  139 (RENDER)
  Minor opcode of failed request:  20 (RenderAddGlyphs)
  Serial number of failed request:  4216
  Current serial number in output stream:  4241

Oddly, neither U+26E8 nor U+26EA cause a crash.

I discovered this when attempting to open an email with mutt which contained the emoji.

I've opened this issue here because my fork is based on xst, but I confirmed this to apply to suckless st (as of 21367a0) as well, so I've reported the issue to the [email protected] mailing list.

$ uname -srvo
Linux 5.0.5-arch1-1-ARCH #1 SMP PREEMPT Wed Mar 27 17:53:10 UTC 2019 GNU/Linux
$ wmname
xmonad

Display CJK characters?

How do you display CJK characters while using a set font, like Liberation Mono, for alphabetic characters? I've tried a few things, but I haven't been successful.

EDIT: Found some font TTF font conflicts that refuses to display certain CJK fonts that doesn't happen with other terminals.

xst doesn't care about my bold font settings

I don't like bold font, so with URxvt I solved it with URxvt.boldFont:xos4terminus:size=12. But xst doesn't care that I use a non-bold font setting (st.boldFont:xos4terminus:size=12) and uses bold fonts anyway.

I know I can set static int bold_font to 0 to disable bold fonts, but that also disables the colors for the bold fonts. Things like emerge uses bold fonts, which results in emerge showing pretty much everything in orange.

stboldcolors

Anyway around this? :)

Alpha patch

Hi,
First of all, this is an extremely nice project. Thanks.

Can we have the alpha patch too ?

Weird problem with 'Go Mono' font

It's not a xst problem, but either Go font or st problem.
However i can't understand how to debug it, mb someone will have a suggestion.

When setting font to Go Mono all the bold colored text became yellow
there is also log message font weight does not match:

2018-10-07--1538944661_1920x1080_scrot

cols and rows

i Compile xst on my Ubuntu 18.04 and i love it

but i want to ask one question

is there any way to change the cols and rows on xst from Xresources file with out recompiling it ???

[Q] Support always on top?

Even tmux would solve my use case workflow but still I'd like to use multiple terminal instead of multiple panes for some reasons, that an xst would always on top of others?

Would that possible?

Boxdraw patch

Hi, xst and st by default uses the font to print lines/blocks/braille characters, but some fonts seems weird.

image

This patch uses a custom rendering for a flaw, nice boxes.

image

Can this patch be merged into the xst?

Is there a past functionality and if how to use it

So I didn't know how to use the clipboard patch so i looked inside of the diff and found that to copy out of the terminal you use ctrl+t.
But can I past or not because it is the only reason I sometimes have to use urxvt.
Thanks :)

Implement clickable links

xst does everything I want it too, except that I can't click links to open them in my browser (from what I can find). Could this be implemented?

Copy-paste woes

when trying to paste text I get this error: bracketed-paste-magic:zle:47: not enough arguments for -U

I am using zsh on Debian Sid if that helps

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.