[dev] [surf] [PATCH] Fixed SETPROP() macro behaviour in config.def.h to handle escapes correctly.

2013-03-21 Thread Alexander Sedov
xprop prints information in format PROPERTY(STRING) = "escaped string", which causes problem with repeated Ctrl-F: any non-ascii turns into \ooo\ooo, this later turns into \\ooo\\ooo, and so on. To de-escape string, echo -en is used, getting information from xargs -0; without -0 xargs will try to h

Re: [dev][surf] [PATCH] Disabling WebKit deletion interface feature by default.

2013-03-21 Thread Alexander Sedov
2013/3/15 Christoph Lohmann <2...@r-36.net>: > Greetings. > I need a screenshot to apply this, because I’ve never seen this. Here you go. This is Gmail interface screenshot, but it appears on some other sites as well. Reasons why it does seem to be not connected to sites itself, but rather to some

Re: [dev][surf] [PATCH] Disabling WebKit deletion interface feature by default.

2013-03-21 Thread Nick
On Thu, Mar 21, 2013 at 07:33:20PM +0400, Alexander Sedov wrote: > 2013/3/15 Christoph Lohmann <2...@r-36.net>: > > I need a screenshot to apply this, because I’ve never seen this. > Here you go. This is Gmail interface screenshot, but it appears on > some other sites as well. Reasons why it does s

Re: [dev] [surf] [PATCH] Fixed SETPROP() macro behaviour in config.def.h to handle escapes correctly.

2013-03-21 Thread Nick
On Thu, Mar 21, 2013 at 07:26:23PM +0400, Alexander Sedov wrote: > xprop prints information in format PROPERTY(STRING) = "escaped string", > which causes problem with repeated Ctrl-F: any non-ascii turns into > \ooo\ooo, this later turns into \\ooo\\ooo, and so on. To de-escape > string, echo -en i

[dev] Re: [slcon] Call for Papers 2013

2013-03-21 Thread Christian Neukirchen
Christoph Lohmann <2...@r-36.net> writes: > * Send the title and a description of what you will present to con@MAILHOST > until 2013-04-15. I would like to give a talk called "runit & ignite - a suckless init system?", but I'm asking whether there is interest first since I noticed these project

Re: [dev] [surf] [PATCH] Fixed SETPROP() macro behaviour in config.def.h to handle escapes correctly.

2013-03-21 Thread Alexander Sedov
2013/3/21 Nick : > On Thu, Mar 21, 2013 at 07:26:23PM +0400, Alexander Sedov wrote: > Can this be done with printf? ISTR echo -en isn't posix, whereas > printf is well defined. You make a point.

[dev] [surf] [PATCH] Fixed SETPROP() macro behaviour in config.def.h to handle escapes correctly.

2013-03-21 Thread Alexander Sedov
xprop prints information in format PROPERTY(STRING) = "escaped string", which causes problem with repeated Ctrl-F: any non-ascii turns into \ooo\ooo, this later turns into \\ooo\\ooo, and so on. To de-escape string, printf(1) is used, getting information from xargs -0; without -0 xargs will try to

Re: [dev] Re: [slcon] Call for Papers 2013

2013-03-21 Thread Carlos Torres
I won't be at the con, but I think init is something worth talking about and I am interested in hearing about runit at least.

Re: [dev] Re: [slcon] Call for Papers 2013

2013-03-21 Thread Christoph Lohmann
Greetings. On Thu, 21 Mar 2013 18:07:47 +0100 Christian Neukirchen wrote: > Christoph Lohmann <2...@r-36.net> writes: > > > * Send the title and a description of what you will present to con@MAILHOST > > until 2013-04-15. > > I would like to give a talk called "runit & ignite - a suckless in

Re: [dev] [surf] [PATCH] Fixed SETPROP() macro behaviour in config.def.h to handle escapes correctly.

2013-03-21 Thread Joseph BOUDOU
xargs -0 isn't POSIX neither. -- Joseph BOUDOU

Re: [dev] [surf] [PATCH] Fixed SETPROP() macro behaviour in config.def.h to handle escapes correctly.

2013-03-21 Thread Christoph Lohmann
Greetings. On Thu, 21 Mar 2013 18:11:00 +0100 Alexander Sedov wrote: > xprop prints information in format PROPERTY(STRING) = "escaped string", > which causes problem with repeated Ctrl-F: any non-ascii turns into > \ooo\ooo, this later turns into \\ooo\\ooo, and so on. To de-escape > string, pri

Re: [dev] [surf] [PATCH] Fixed SETPROP() macro behaviour in config.def.h to handle escapes correctly.

2013-03-21 Thread Nick
On Thu, Mar 21, 2013 at 06:12:30PM +0100, Joseph BOUDOU wrote: > xargs -0 isn't POSIX neither. But anywhere with xargs installed probably has xargs -0 functionality (is there even an alternative implementation?) Other implementations of echo are more likely, so conservatism makes sense there.

Re: [dev] [surf] [PATCH] Fixed SETPROP() macro behaviour in config.def.h to handle escapes correctly.

2013-03-21 Thread Alexander Sedov
Let's face it: xargs default behaviour is not well-defined. It would probably work with xprop output, where quotes are escaped, but it's better not to risk. Also, we probably want to keep occasional spaces on their places. I believe that xargs implementation that doesn't implement -0 is unheard of.