Re: [dev] Re: [ANN] wmii 3.9.1 released

2010-06-10 Thread Uriel
On Thu, Jun 10, 2010 at 12:53 AM, Kris Maglione maglion...@gmail.com wrote: It wasn't long ago that WMII just used rc for its scripting needs. Because, as it so happens, I'm not a rabid idealogue. It is not about ideology, but about pragmatism and avoiding headaches and wasted time. uriel

Re: [dev] Re: [ANN] wmii 3.9.1 released

2010-06-10 Thread Ethan Grammatikidis
On 10 Jun 2010, at 14:30, Uriel wrote: On Thu, Jun 10, 2010 at 12:53 AM, Kris Maglione maglion...@gmail.com wrote: It wasn't long ago that WMII just used rc for its scripting needs. Because, as it so happens, I'm not a rabid idealogue. It is not about ideology, but about pragmatism and

Re: [dev] Re: [ANN] wmii 3.9.1 released

2010-06-10 Thread Ethan Grammatikidis
On 10 Jun 2010, at 16:26, Anselm R Garbe wrote: On 10 June 2010 15:34, Ethan Grammatikidis eeke...@fastmail.fm wrote: On 10 Jun 2010, at 14:30, Uriel wrote: On Thu, Jun 10, 2010 at 12:53 AM, Kris Maglione maglion...@gmail.com wrote: It wasn't long ago that WMII just used rc for its

[dev] Re: [ANN] wmii 3.9.1 released

2010-06-09 Thread David Engster
Kris Maglione writes: There's a bug in dash 0.5.6's job control where a SIGCHLD interrupts the read loop, thereby killing wmiirc whenever a program exits. At any rate, I'm taking a different tack, if anyone would like to test it: [...] + ( Event $event $@ ) Event loop works for

Re: [dev] Re: [ANN] wmii 3.9.1 released

2010-06-09 Thread Kris Maglione
On Wed, Jun 09, 2010 at 02:07:26PM +0200, David Engster wrote: Kris Maglione writes: There's a bug in dash 0.5.6's job control where a SIGCHLD interrupts the read loop, thereby killing wmiirc whenever a program exits. At any rate, I'm taking a different tack, if anyone would like to test it:

Re: [dev] Re: [ANN] wmii 3.9.1 released

2010-06-09 Thread Kris Maglione
On Wed, Jun 09, 2010 at 02:57:09PM +0200, David Engster wrote: Kris Maglione writes: As it happens, it was fixed and 0.5.6.1 was released within a day of me reporting the bug, and Arch picked it up within a day of that. The odd thing is that, though the revision I found pinpointed the bug to is

[dev] Re: [ANN] wmii 3.9.1 released

2010-06-09 Thread David Engster
'uriel' writes: On Tue, Jun 8, 2010 at 7:49 PM, David Engster d...@randomsample.de wrote: It seems Ubuntu installs 'mawk' for providing 'awk', which by default buffers its input, so the above won't do anything. Ubuntu users will have to install 'original-awk' and symlink/rename that to awk, or

Re: [dev] Re: [ANN] wmii 3.9.1 released

2010-06-09 Thread Uriel
On Wed, Jun 9, 2010 at 6:14 AM, Kris Maglione maglion...@gmail.com wrote: On Tue, Jun 08, 2010 at 09:06:55PM -0700, Suraj Kurapati wrote: On Tue, Jun 8, 2010 at 10:49 AM, David Engster d...@randomsample.de wrote: wmiir read /event | awk '/./ { print; fflush() } END { print }' What's the

Re: [dev] Re: [ANN] wmii 3.9.1 released

2010-06-09 Thread Kris Maglione
On Wed, Jun 09, 2010 at 08:56:53PM +0200, Uriel wrote: On Wed, Jun 9, 2010 at 6:14 AM, Kris Maglione maglion...@gmail.com wrote: There's a bug in dash 0.5.6's job control where a SIGCHLD interrupts the read loop, Why is anyone still writing scripts in bourne-derived shells? Just switch to rc

[dev] Re: [ANN] wmii 3.9.1 released

2010-06-08 Thread David Engster
Kris Maglione writes: I'm releasing wmii 3.9.1, mainly to deal with bugs which have cropped up in the latest glibc and dash releases, breaking wmiir and wmiirc respectively. Thank you. I noticed a problem on a machine at work running Ubuntu, essentially due to this construction in the event

Re: [dev] Re: [ANN] wmii 3.9.1 released

2010-06-08 Thread Kris Maglione
On Tue, Jun 08, 2010 at 07:49:50PM +0200, David Engster wrote: Kris Maglione writes: I'm releasing wmii 3.9.1, mainly to deal with bugs which have cropped up in the latest glibc and dash releases, breaking wmiir and wmiirc respectively. Thank you. I noticed a problem on a machine at work

Re: [dev] Re: [ANN] wmii 3.9.1 released

2010-06-08 Thread Uriel
On Tue, Jun 8, 2010 at 7:49 PM, David Engster d...@randomsample.de wrote: Kris Maglione writes: I'm releasing wmii 3.9.1, mainly to deal with bugs which have cropped up in the latest glibc and dash releases, breaking wmiir and wmiirc respectively. Thank you. I noticed a problem on a

Re: [dev] Re: [ANN] wmii 3.9.1 released

2010-06-08 Thread Suraj Kurapati
On Tue, Jun 8, 2010 at 10:49 AM, David Engster d...@randomsample.de wrote: wmiir read /event | awk '/./ { print; fflush() } END { print }' What's the purpose of awk here? I see the same result both with and without awk in Arch Linux with awk = GNU Awk 3.1.8. # i=0; wmiir read /event | while

Re: [dev] Re: [ANN] wmii 3.9.1 released

2010-06-08 Thread Kris Maglione
On Tue, Jun 08, 2010 at 09:06:55PM -0700, Suraj Kurapati wrote: On Tue, Jun 8, 2010 at 10:49 AM, David Engster d...@randomsample.de wrote: wmiir read /event | awk '/./ { print; fflush() } END { print }' What's the purpose of awk here? I see the same result both with and without awk in Arch

Re: [dev] Re: [ANN] wmii 3.9.1 released

2010-06-08 Thread Bobby
On Jun 9, 2010 12:07 AM, Suraj Kurapati sun...@gmail.com wrote: On Tue, Jun 8, 2010 at 10:49 AM, David Engster d...@randomsample.de wrote: wmiir read /event | a... What's the purpose of awk here? I see the same result both with and without awk in Arch Linux with awk = GNU Awk 3.1.8. # i=0;