Re: [dev] Good Morning, and a question about st (italic mode switches color).

2016-11-14 Thread Quentin Rameau
> Hey suckless developers, Hi Ingo, > first let me thank you for your great work. Thanks! > But today a bug in st burned some hours. Well, this wasn't really a bug but rather a not best choice. This has been “fixed” by the last commit about a month ago, could you confirm that?

Re: [dev] Good Morning, and a question about st (italic mode switches color).

2016-10-05 Thread Ingo Krabbe
Actually I neither undestand the joke, nor the setting. For my usage it seems best to set both values to 0. What do you want to achieve with these defaults? For me it just makes unmodified manual pages without the described manpager, or LESS_TERMCAP_* exports unreadable. > On Wed, Oct 5, 2016

Re: [dev] Good Morning, and a question about st (italic mode switches color).

2016-10-05 Thread Martin Kühne
On Wed, Oct 5, 2016 at 2:19 PM, Lucas Gabriel Vuotto wrote: > $ echo '140,146p' | ed config.def.h > 20475 > /* > * Colors used, when the specific fg == defaultfg. So in reverse mode this > * will reverse too. Another logic would only make the simple feature too > *

Re: [dev] Good Morning, and a question about st (italic mode switches color).

2016-10-05 Thread Lucas Gabriel Vuotto
$ echo '140,146p' | ed config.def.h 20475 /* * Colors used, when the specific fg == defaultfg. So in reverse mode this * will reverse too. Another logic would only make the simple feature too * complex. */ static unsigned int defaultitalic = 11; static unsigned int defaultunderline = 7; On

Re: [dev] Good Morning, and a question about st (italic mode switches color).

2016-10-05 Thread Ingo Krabbe
> Actually "tput ncf" says "3", which means that the italic attribute cannot be > used with colors. But that is a lie. I would say, the italic attribute can > only be used with colors. I just found out that ncv=3 (sorry ncv, not ncf) means STANDOUT and REVERSE cannot be combined with colors,

Re: [dev] Good Morning, and a question about st (italic mode switches color).

2016-10-05 Thread Martin Kühne
Hi Try to keep things short. > I'm not sure yet if OpenRC is really much better than systemd, though, so if > I would need to choose today I might switch to a plain debian, that I often > use on servers. We don't need to discuss these things here [0]. > Gentoo has a little trick... As a

Re: [dev] Good Morning, and a question about st (italic mode switches color).

2016-10-05 Thread Greg Reagle
I can confirm that on my system (Debian stable) with the latest st (just ran a git pull and rebuilt), that when i is 7, the color changes. for i in `seq 0 255` do tput setaf $i tput sitm echo -n $i ": Test it!" tput ritm echo "Test it!" done