Re: [dev] [st] using 256color and boldfonts

From: Andreas Herz <andi_AT_geekosphere.org>
Date: Thu, 5 Jun 2014 19:11:25 +0200

On 05/06/14 at 18:21, Christoph Lohmann wrote:
> Greetings.
>
> On Thu, 05 Jun 2014 18:21:36 +0200 Andreas Herz <andi_AT_geekosphere.org> wrote:
> > Hi,
> >
> > i'm trying to switch from urxvt to st since st handles unicode fallback
> > fonts much better and i also like the lightweight and good code.
> >
> > I use 256colors which works in st except ony strange issue comes up with
> > several programs.
> >
> > If $TERM is set to st-256color and i start lynx or weechat-curses i have
> > no bold characters. If i go back to st it's working. But in w3m or just
> > with ls the bold is working in 256color mode.
> >
> > It looks like the application is messing with bold in combination with
> > 256color but is there a way to detect what's the problem or what the
> > programs are doing wrong?
> > Or is there a way to force this behaviour within st?
>
> If you are using git, then this was removed because st didn’t do the
> right bolding. You might add this in a patch back to st by adding the
> appropriate logic to brighten the colors at line 3165 of st.c.
>

I'm using the 0.5 release but i will look into this part of the code.
I also found out, that there are just bold escape modes for 8 colors so
this might explain the behaviour when the programm is using one of the
other 248 colors that can't get bold.

> > My font ist -*-gohufont-medium-*-*-*-11-*-*-*-*-*-iso10646-1 and there
> > is the valid bold version also available (as seen in non-256color mode).
> >
> > OT: Did i understand the slides from your conference correctly, that st
> > won't be developed any further?
>
> You’re from a different culture. St is fixing valid bugs but is consid‐
> ered a vt100 emulator. It shouldn’t do anything else. It’s like a ham‐
> mer, which you always can use to hammer things. Please remove the notion
> of »no revision since two years so it’s old« from your head. Old soft‐
> ware still works.

Hmm strage chars at the end of the line...

But don't get me wrong i don't have this notion in my head. And since
you said fixing valid bugs is still on i'm fine. It's just that some
software gets abandoned and new techs are coming and so some software
needs to be updated cause of the dependencies.
And there might still be some features that might get added, and i read
the TODO so i thought there might be future releases :)

-- 
Andreas Herz
Received on Thu Jun 05 2014 - 19:11:25 CEST

This archive was generated by hypermail 2.3.0 : Thu Jun 05 2014 - 19:12:06 CEST