Re: [dev] [st] bold as bright (again)

2011-04-02 Thread Aurélien Aptel
On Fri, Apr 1, 2011 at 3:43 PM, Nick wrote: > Yes, the code for this was commented out, saying that > "draw() can't keep up". It seems to work nicely for me, > though, so barring complaints it would be nice to apply the > attached patch. It's really slow on a high resolution. Try running st with

Re: [dev] [st] bold as bright (again)

2011-04-02 Thread Ethan Grammatikidis
On 2 Apr 2011, at 1:04 pm, pancake wrote: We should start sending mails in ansi. html sucks. You got me searching sixteencolors.net for an ORLY owl in ansi, :p but the only owl I found had all hellfire in the background (and in its eyes). Curiously enough it came from a document announcin

Re: [dev] [st] bold as bright (again)

2011-04-02 Thread pancake
We should start sending mails in ansi. html sucks. I still think that were still in time to not apply the patch and fix buggy apps.. I mean. Current screens doesnt have those limitations to keep maintaining nonsense hacks. We can probably write a text explaining the issue and a list of affected

Re: [dev] [st] bold as bright (again)

2011-04-01 Thread Anders Andersson
"Bold" must be pretty new. To me it's always been "Bright", and that's how the colour escape codes are defined, and the CGA display with four bits for Red/Green/Blue/Intensity. If you can't show the bright colours correctly due to a lack of colour registers or bitplanes, you have to resort to other

Re: [dev] [st] bold as bright (again)

2011-04-01 Thread Ethan Grammatikidis
On 1 Apr 2011, at 3:07 pm, Stefan Mark wrote: On 01.04.2011 16:01, Ethan Grammatikidis wrote: On 1 Apr 2011, at 2:56 pm, Stefan Mark wrote: On 01.04.2011 15:50, Ethan Grammatikidis wrote: On 1 Apr 2011, at 2:06 pm, pancake wrote: You may see some other differences... and the missuse of

Re: [dev] [st] bold as bright (again)

2011-04-01 Thread John Yates
Particularly small fixed size fonts lack legible bold variants. In such cases brightening is a very adequate substitute. /john

Re: [dev] [st] bold as bright (again)

2011-04-01 Thread Stefan Mark
On 01.04.2011 16:40, Stefan Mark wrote: > All other Terminals i know off make bold to bold&bright, so most > programs are made for this. > Mostly they are useable without the patch, but look different to other terminals (kind of dull). Some People seem to like that, i do not. Thats why the patch m

Re: [dev] [st] bold as bright (again)

2011-04-01 Thread Stefan Mark
On 01.04.2011 16:28, pancake wrote: > On 04/01/11 15:51, Stefan Mark wrote: >> On 01.04.2011 15:42, pancake wrote: >>> http://lolcathost.org/b/stcolors.png >>> http://lolcathost.org/b/stcolors2.png >>> >>> Both works for me >>> >> These work, the directory was missing. >> >> Anyway, the irssi displ

Re: [dev] [st] bold as bright (again)

2011-04-01 Thread pancake
On 04/01/11 15:51, Stefan Mark wrote: On 01.04.2011 15:42, pancake wrote: http://lolcathost.org/b/stcolors.png http://lolcathost.org/b/stcolors2.png Both works for me These work, the directory was missing. Anyway, the irssi display looks good to me. I have the default colors in config.h, and

Re: [dev] [st] bold as bright (again)

2011-04-01 Thread Stefan Mark
On 01.04.2011 16:01, Ethan Grammatikidis wrote: > > On 1 Apr 2011, at 2:56 pm, Stefan Mark wrote: > >> On 01.04.2011 15:50, Ethan Grammatikidis wrote: >>> >>> On 1 Apr 2011, at 2:06 pm, pancake wrote: You may see some other differences... and the missuse of bright when bold so

Re: [dev] [st] bold as bright (again)

2011-04-01 Thread Ethan Grammatikidis
On 1 Apr 2011, at 2:56 pm, Stefan Mark wrote: On 01.04.2011 15:50, Ethan Grammatikidis wrote: On 1 Apr 2011, at 2:06 pm, pancake wrote: You may see some other differences... and the missuse of bright when bold sometimes hurts my eyes... but some programs just are hard to read without it.

Re: [dev] [st] bold as bright (again)

2011-04-01 Thread Petr Sabata
On Fri, Apr 01, 2011 at 02:45:32PM +0100, Nick wrote: > On Fri, Apr 01, 2011 at 03:08:24PM +0200, Petr Sabata wrote: > > Speaking of colors -- another slightly annoying thing is you currently can't > > define custom (not choosing one of the 16 colors) background, foreground and > > cursor colors. >

Re: [dev] [st] bold as bright (again)

2011-04-01 Thread Stefan Mark
On 01.04.2011 15:50, Ethan Grammatikidis wrote: > > On 1 Apr 2011, at 2:06 pm, pancake wrote: >> >> You may see some other differences... and the missuse of bright when bold >> sometimes hurts my eyes... but some programs just are hard to read >> without >> it... > > Why does no-one ever seem to

Re: [dev] [st] bold as bright (again)

2011-04-01 Thread Nick
On Fri, Apr 01, 2011 at 03:06:09PM +0200, pancake wrote: > I executed the scripts in hg.youterm.com/toys/ansi to check for 256 > colors and > normal ansi escape codes. And here's the result: > >http://lolcathost.org/stcolors.png > (left one is xterm, and right one is st) > > As you may see..

Re: [dev] [st] bold as bright (again)

2011-04-01 Thread Stefan Mark
On 01.04.2011 15:42, pancake wrote: > http://lolcathost.org/b/stcolors.png > http://lolcathost.org/b/stcolors2.png > > Both works for me > These work, the directory was missing. Anyway, the irssi display looks good to me. I have the default colors in config.h, and see no difference between xterm

Re: [dev] [st] bold as bright (again)

2011-04-01 Thread Ethan Grammatikidis
On 1 Apr 2011, at 2:06 pm, pancake wrote: You may see some other differences... and the missuse of bright when bold sometimes hurts my eyes... but some programs just are hard to read without it... Why does no-one ever seem to consider just not using programs which are broken this badly

Re: [dev] [st] bold as bright (again)

2011-04-01 Thread Nick
On Fri, Apr 01, 2011 at 03:08:24PM +0200, Petr Sabata wrote: > Speaking of colors -- another slightly annoying thing is you currently can't > define custom (not choosing one of the 16 colors) background, foreground and > cursor colors. You can use HTML-style hex notation, e.g. "#5c5cff"

Re: [dev] [st] bold as bright (again)

2011-04-01 Thread Nick
On Fri, Apr 01, 2011 at 03:06:09PM +0200, pancake wrote: > I executed the scripts in hg.youterm.com/toys/ansi to check for 256 > colors and > Another annoying thing I found in st is that text selection does not > reflects it > correctly until you release the mouse button, this is a bit annoying > b

Re: [dev] [st] bold as bright (again)

2011-04-01 Thread Petr Sabata
On Fri, Apr 01, 2011 at 03:06:09PM +0200, pancake wrote: > Oh.. i was about to push the patch...until I realized the original thread. > > Check those pictures: > > I executed the scripts in hg.youterm.com/toys/ansi to check for 256 > colors and > normal ansi escape codes. And here's the result: >

Re: [dev] [st] bold as bright (again)

2011-04-01 Thread Hiltjo Posthuma
On Fri, Apr 1, 2011 at 3:06 PM, pancake wrote: > > Another annoying thing I found in st is that text selection does not > reflects it correctly until you release the mouse button, this is a bit > annoying because > you dont see what's going to be copied into the clipboard until it's too late. >

Re: [dev] [st] bold as bright (again)

2011-04-01 Thread pancake
http://lolcathost.org/b/stcolors.png http://lolcathost.org/b/stcolors2.png Both works for me On 01/04/2011, at 15:29, Stefan Mark wrote: > On 01.04.2011 15:06, pancake wrote: >> Oh.. i was about to push the patch...until I realized the original thread. >> > Yay! ... A > >> Check those pic

Re: [dev] [st] bold as bright (again)

2011-04-01 Thread Stefan Mark
On 01.04.2011 15:06, pancake wrote: > Oh.. i was about to push the patch...until I realized the original thread. > Yay! ... A > Check those pictures: I get a 404 on both, but i tried myself (with my irssi settings the display is correct). The 256colors2.pl is strange, i dont know what the fi

Re: [dev] [st] bold as bright (again)

2011-04-01 Thread pancake
Oh.. i was about to push the patch...until I realized the original thread. Check those pictures: I executed the scripts in hg.youterm.com/toys/ansi to check for 256 colors and normal ansi escape codes. And here's the result: http://lolcathost.org/stcolors.png (left one is xterm, and right

Re: [dev] [st] bold as bright (again)

2011-04-01 Thread John Yates
> Me too, FWIW. Me three. /john

Re: [dev] [st] bold as bright (again)

2011-04-01 Thread Nick
On Fri, Apr 01, 2011 at 12:02:10PM +0200, pancake wrote: > On 04/01/11 10:58, Stefan Mark wrote: > >Some time ago, i submitted a patch that makes colors bright for bold > >text. Most Terminals do that, and some programs rely on this (like > >htop). The patch was rejected unless more people ask for

Re: [dev] [st] bold as bright (again)

2011-04-01 Thread pancake
On 04/01/11 10:58, Stefan Mark wrote: Some time ago, i submitted a patch that makes colors bright for bold text. Most Terminals do that, and some programs rely on this (like htop). The patch was rejected unless more people ask for it. As it seems, i'm still the only one, but i modified the patch

[dev] [st] bold as bright (again)

2011-04-01 Thread Stefan Mark
Some time ago, i submitted a patch that makes colors bright for bold text. Most Terminals do that, and some programs rely on this (like htop). The patch was rejected unless more people ask for it. As it seems, i'm still the only one, but i modified the patch to make the bold-is-bright behavior opt