Re: [dev] sed breaks utf8 in [ ]

2015-03-31 Thread Anselm R Garbe
On 30 March 2015 at 20:33, FRIGN wrote: > On Mon, 30 Mar 2015 19:05:19 +0200 > Markus Wichmann wrote: > >> How about simply calling setlocale()? Or was that too simple? If the >> user has set a non-UTF-8 locale and then uses UTF-8, that's on them! > > POSIX locales are an insane concept. Unicode

Re: [dev] sed breaks utf8 in [ ]

2015-03-31 Thread Greg Reagle
Somebody wrote: > > I agree there should be localized date-formats, I am a big fan of the ISO 8601 date format: today would be 2015-03-31. It sorts dates properly and goes from largest unit of time to smallest (year then month then day). I think it would be fine for the suckless tools to support

Re: [dev] sed breaks utf8 in [ ]

2015-03-31 Thread FRIGN
On Tue, 31 Mar 2015 09:08:28 -0400 Greg Reagle wrote: > I am a big fan of the ISO 8601 date format: today would be 2015-03-31. > It sorts dates properly and goes from largest unit of time to smallest > (year then month then day). I think it would be fine for the suckless > tools to support only

[dev] [sbase][PATCH] wc: Show line/char/word count even if it's zero

2015-03-31 Thread Dionysis Grigoropoulos
Fix a bug where if a line, character or word count is zero, it's not printed --- wc.c |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/wc.c b/wc.c index 0ff3b8d..0b196d8 100644 --- a/wc.c +++ b/wc.c @@ -14,11 +14,11 @@ output(const char *str, size_t nc, size_t nl, size_

Re: [dev] [slock] [PATCH] Blank the screen with colour 0

2015-03-31 Thread David Phillips
I have found a similar patch [1] submitted to the list about a month before this one was. It does not fix the initial issue my patch set out to solve (i.e. blanking the screen to the correct colour) but its functionality is provided by my patch. Note that [1] does not show the failure colour when i

Re: [dev] sed breaks utf8 in [ ]

2015-03-31 Thread Roger
> On Tue, Mar 31, 2015 at 01:30:04AM +0200, FRIGN wrote: >On Mon, 30 Mar 2015 19:09:41 -0400 >Roger wrote: > >Hey Roger, > >> I thought non-ASCII characters required 16 bits within UTF-8, versus just 8 >> bits for ASCII. Therefore more memory. More memory referencing, requires >> more >> proc

Re: [dev] sed breaks utf8 in [ ]

2015-03-31 Thread Roger
>So my non-ASCII characters look incorrect in your MUA because you're >stuck in an insane locale? Too bad. That pain is self-inflicted. Don't blame me, I'm not the one who created all those funky European accented characters, etc. Just wait for ASCIII. Really within the English language, there'

Re: [dev] [slock] [PATCH] Blank the screen with colour 0

2015-03-31 Thread Markus Teich
David Phillips wrote: > Shall I go ahead and push my patch regardless? Heyho, I already pinged (twice?) on the list and after a few weeks I asked Anselm in a private email, if he still has the time to maintain slock. No answer… Since my bugfix patch is also waiting: Maybe someone else has push a

Re: [dev] sed breaks utf8 in [ ]

2015-03-31 Thread Roger
> On Tue, Mar 31, 2015 at 12:17:48AM +0100, Connor Lane Smith wrote: >On 31 March 2015 at 00:13, Roger wrote: >> But anyways, think I made my point. > >You did: you only care for whatever encoding you personally need over >there in America. Most of us, however, are from Europe, do need UTF-8, >and

Re: [dev] sed breaks utf8 in [ ]

2015-03-31 Thread Alex Pilon
> > On 31 March 2015 at 00:13, Roger wrote: > > > But anyways, think I made my point. > > > On Tue, Mar 31, 2015 at 12:17:48AM +0100, Connor Lane Smith wrote: > > You did: you only care for whatever encoding you personally need over > > there in America. Most of us, however, are from Europe, do ne

Re: [dev] sed breaks utf8 in [ ]

2015-03-31 Thread Roberto E. Vargas Caballero
>>So my non-ASCII characters look incorrect in your MUA because you're >>stuck in an insane locale? Too bad. That pain is self-inflicted. > > Don't blame me, I'm not the one who created all those funky European accented > characters, etc. All these 'funky' characters predate to the first english

Re: [dev] [slock] [PATCH] Blank the screen with colour 0

2015-03-31 Thread Anselm R Garbe
On 1 April 2015 at 03:10, Markus Teich wrote: > I already pinged (twice?) on the list and after a few weeks I asked Anselm in > a > private email, if he still has the time to maintain slock. No answer… As mentioned, you will gain access rights today in order to get in the patches suggested. I wi