Re: [dev] [wmii] problem with wmiir xwrite /client/$client/ctl kill

2010-05-29 Thread Thomas Dean
On Fri, May 28, 2010 at 20:52:06 -0400, Kris Maglione wrote: > They've worked out the problem on the dash list. The following patch > *should* fix your script. Alternatively, you could try the version > attached with wmii tip. Thanks for the scripts, Kris! Thomas

Re: [dev] [wmii] problem with wmiir xwrite /client/$client/ctl kill

2010-05-28 Thread Alex Kilgore
On Fri, May 28, 2010 at 08:37:52PM -0400, Kris Maglione wrote: > On Wed, May 26, 2010 at 05:06:52PM -0400, Alex Kilgore wrote: > >Hello, > >In the latest tip, recently I have run into a problem where when I > >run wmiir xwrite /tag/sel/ctl kill in a terminal for example, wmii > >stops responding to

Re: [dev] [wmii] problem with wmiir xwrite /client/$client/ctl kill

2010-05-28 Thread Kris Maglione
On Thu, May 27, 2010 at 11:22:25AM +0200, Thomas Dean wrote: I ran into the same problem today. The wmiirc script as well as all my status bar scripts die frequently. All of them are run with dash. Switching /bin/sh from dash to bash (and replacing dash with bash in wmiirc) fixes the problem. It

Re: [dev] [wmii] problem with wmiir xwrite /client/$client/ctl kill

2010-05-28 Thread Kris Maglione
On Wed, May 26, 2010 at 05:06:52PM -0400, Alex Kilgore wrote: Hello, In the latest tip, recently I have run into a problem where when I run wmiir xwrite /tag/sel/ctl kill in a terminal for example, wmii stops responding to any keypresses, but I can switch between already open windows with the

Re: [dev] [wmii] problem with wmiir xwrite /client/$client/ctl kill

2010-05-28 Thread Thomas Dean
On Thu, May 27, 2010 at 20:44:17 -0400, Kris Maglione wrote: > For what it's worth, I've sent a report to the dash mailing list. The > offending revision is 3800d4934391b144:[JOBS] Fix dowait signal race > > This means that the bug was introduced just after 0.5.5.1 and first > showed up in 0.5.6,

Re: [dev] [wmii] problem with wmiir xwrite /client/$client/ctl kill

2010-05-27 Thread Kris Maglione
On Thu, 27 May 2010 20:33:42 +0200 Thomas Dean <78...@web.de> wrote: > On Thu, May 27, 2010 at 14:22:27 -0400, Kris Maglione wrote: > > > With that the script already dies as soon as the fetchmaillog > > > window opens :-) Given that this seems to be a problem of dash, > > > maybe I should file a

Re: [dev] [wmii] problem with wmiir xwrite /client/$client/ctl kill

2010-05-27 Thread Robert Ransom
On Thu, 27 May 2010 19:18:40 +0200 Thomas Dean <78...@web.de> wrote: > With that the script already dies as soon as the fetchmaillog window > opens :-) Given that this seems to be a problem of dash, maybe I > should file a Debian bug report... The Arch developers just pushed out an update of dash

Re: [dev] [wmii] problem with wmiir xwrite /client/$client/ctl kill

2010-05-27 Thread Kris Maglione
On Thu, 27 May 2010 20:33:42 +0200 Thomas Dean <78...@web.de> wrote: > On Thu, May 27, 2010 at 14:22:27 -0400, Kris Maglione wrote: > > > With that the script already dies as soon as the fetchmaillog > > > window opens :-) Given that this seems to be a problem of dash, > > > maybe I should file a

Re: [dev] [wmii] problem with wmiir xwrite /client/$client/ctl kill

2010-05-27 Thread Thomas Dean
On Thu, May 27, 2010 at 14:22:27 -0400, Kris Maglione wrote: > > With that the script already dies as soon as the fetchmaillog window > > opens :-) Given that this seems to be a problem of dash, maybe I > > should file a Debian bug report... > > That would probably be a good idea, if you can come

Re: [dev] [wmii] problem with wmiir xwrite /client/$client/ctl kill

2010-05-27 Thread Kris Maglione
On Thu, 27 May 2010 19:18:40 +0200 Thomas Dean <78...@web.de> wrote: > On Thu, May 27, 2010 at 12:31:42 -0400, Kris Maglione wrote: > > It's not supposed to have any output. It just basically > > disassociates a process from its parent. You should generally use > > it when launching programs from

Re: [dev] [wmii] problem with wmiir xwrite /client/$client/ctl kill

2010-05-27 Thread Thomas Dean
On Thu, May 27, 2010 at 12:31:42 -0400, Kris Maglione wrote: > It's not supposed to have any output. It just basically disassociates a > process from its parent. You should generally use it when launching > programs from wmiirc so they don't catch any signals if you kill wmiirc. > This would be eas

Re: [dev] [wmii] problem with wmiir xwrite /client/$client/ctl kill

2010-05-27 Thread Kris Maglione
On Thu, 27 May 2010 18:12:57 +0200 Thomas Dean <78...@web.de> wrote: > On Thu, May 27, 2010 at 11:55:38 -0400, Kris Maglione wrote: > > Oh, sorry, I thought it was in the man page. Just add ‘wmiir > > setsid’ to the front of the lines that start fetchmail and > > x-terminal-emulator. > > Ok, I ju

Re: [dev] [wmii] problem with wmiir xwrite /client/$client/ctl kill

2010-05-27 Thread Thomas Dean
On Thu, May 27, 2010 at 11:55:38 -0400, Kris Maglione wrote: > Oh, sorry, I thought it was in the man page. Just add ‘wmiir setsid’ to > the front of the lines that start fetchmail and x-terminal-emulator. Ok, I just did that, but it did not change anything. Nor is there any further output when th

Re: [dev] [wmii] problem with wmiir xwrite /client/$client/ctl kill

2010-05-27 Thread Kris Maglione
On Thu, 27 May 2010 17:47:53 +0200 Thomas Dean <78...@web.de> wrote: > On Thu, May 27, 2010 at 11:32:06 -0400, Kris Maglione wrote: > > Ok, so that suggests that dash has a problem when its backgrounded > > children die. Can you try running them with ‘wmiir setsid’ and see > > if it helps? > > Hm

Re: [dev] [wmii] problem with wmiir xwrite /client/$client/ctl kill

2010-05-27 Thread Thomas Dean
On Thu, May 27, 2010 at 11:32:06 -0400, Kris Maglione wrote: > Ok, so that suggests that dash has a problem when its backgrounded > children die. Can you try running them with ‘wmiir setsid’ and see if > it helps? Hmm, I'm not sure what I should do. Should I place "wmiir setsid" as a command somew

Re: [dev] [wmii] problem with wmiir xwrite /client/$client/ctl kill

2010-05-27 Thread Kris Maglione
On Thu, 27 May 2010 11:22:25 +0200 Thomas Dean <78...@web.de> wrote: > I ran into the same problem today. The wmiirc script as well as all my > status bar scripts die frequently. All of them are run with dash. > Switching /bin/sh from dash to bash (and replacing dash with bash in > wmiirc) fixes t

Re: [dev] [wmii] problem with wmiir xwrite /client/$client/ctl kill

2010-05-27 Thread Thomas Dean
On Thu, May 27, 2010 at 11:22:25 +0200, Thomas Dean wrote: > I ran into the same problem today. The wmiirc script as well as all my > status bar scripts die frequently. All of them are run with dash. > Switching /bin/sh from dash to bash (and replacing dash with bash in > wmiirc) fixes the problem.

Re: [dev] [wmii] problem with wmiir xwrite /client/$client/ctl kill

2010-05-27 Thread Thomas Dean
I ran into the same problem today. The wmiirc script as well as all my status bar scripts die frequently. All of them are run with dash. Switching /bin/sh from dash to bash (and replacing dash with bash in wmiirc) fixes the problem. It seems to be related to the latest update of dash (0.5.5.1-5) in

Re: [dev] [wmii] problem with wmiir xwrite /client/$client/ctl kill

2010-05-26 Thread Alex Kilgore
On Wed, May 26, 2010 at 06:28:25PM -0400, Kris Maglione wrote: > On Wed, 26 May 2010 17:55:09 -0400 > > The keypresses are still reported, but it seems that they are just > > not acted upon > > In that case, the problem is either with wmiir, the 9P connection > itself, or wmiirc. The best thing to

Re: [dev] [wmii] problem with wmiir xwrite /client/$client/ctl kill

2010-05-26 Thread Kris Maglione
On Wed, 26 May 2010 17:55:09 -0400 Alex Kilgore wrote: > > 2) Try wmiir read /event from the commandline and see if your key > >presses are reported. > > The keypresses are still reported, but it seems that they are just > not acted upon In that case, the problem is either with wmiir, the 9P

Re: [dev] [wmii] problem with wmiir xwrite /client/$client/ctl kill

2010-05-26 Thread Alex Kilgore
On Wed, May 26, 2010 at 05:37:57PM -0400, Kris Maglione wrote: > On Wed, 26 May 2010 17:06:52 -0400 > Alex Kilgore wrote: > > > Hello, > > In the latest tip, recently I have run into a problem where > > when I run wmiir xwrite /tag/sel/ctl kill in a terminal for example, > > wmii stops respond

Re: [dev] [wmii] problem with wmiir xwrite /client/$client/ctl kill

2010-05-26 Thread Kris Maglione
On Wed, 26 May 2010 17:06:52 -0400 Alex Kilgore wrote: > Hello, > In the latest tip, recently I have run into a problem where > when I run wmiir xwrite /tag/sel/ctl kill in a terminal for example, > wmii stops responding to any keypresses, but I can switch between > already open windows with t