[dev] Re: [9base][awk] printf and utf-8

2013-01-21 Thread Peter A. Shevtsov
On 22/01/13 at 02:32pm, Peter A. Shevtsov wrote: > It seems that it counts every cyrillic letter as two, i. e. it ain't count > letters > (or runes) but bytes. Indeed, echo latin кириллица | /usr/local/plan9/bin/awk '{printf("%d %d\n", length($1), length($2))}' 5 18

[dev] [9base][awk] printf and utf-8

2013-01-21 Thread Peter A. Shevtsov
Hello, I've found the bug in 9base's awk. It seems that printf works incorrectly with utf-8 strings. The way it counts string lengs is weird: echo latin кириллица | /usr/local/plan9/bin/awk '{printf("[%20s][%20s]\n", $1, $2)}' and the output is: [ latin][ кириллица] It seems t

Re: [dev] [st] Back Color Erase

2013-01-21 Thread Christoph Lohmann
Greetings. On Mon, 21 Jan 2013 18:19:20 +0100 ilf wrote: > Christoph Lohmann: > > there is now a patch in st which implements BCE (Back Color Erase). > > Nice! > > Is there a current transparency patch? WTF? Use compiz for this. Applications shouldn’t need to support your bad taste. Since

Re: [dev] [st] Back Color Erase

2013-01-21 Thread ilf
Christoph Lohmann: there is now a patch in st which implements BCE (Back Color Erase). Nice! Is there a current transparency patch? -- ilf Über 80 Millionen Deutsche benutzen keine Konsole. Klick dich nicht weg! -- Eine Initiative des Bundesamtes für Tastaturbenutzung signa

Re: [dev][dmenu] dmenu_path is not executable

2013-01-21 Thread Nikolay Vasylchyshyn
Hi, Carlos! Thank you for your fast reply. And sorry for my delay. Silly, but I never install suckless software with make install, always only make and then cp to the apropriate directories. Thanks that pointed me into Makefile. I didn't even think to look there. And now I realised that I can do