Re: [Nut-upsuser] Solaris/NUT 'wall' behaviour

2008-02-14 Thread Huge
On Wed, 2008-02-13 at 09:12, Arjen de Korte wrote: @Huge: Could you post a diff for the change you made? Not the biggest change in the world [EMAIL PROTECTED] ~/Prog/nut/nut-2.2.1/clients]: diff upsmon.c upsmon.c.orig 125c125 wf = popen(wall -a, w); --- wf = popen(wall, w);

Re: [Nut-upsuser] Solaris/NUT 'wall' behaviour

2008-02-14 Thread Arjen de Korte
@Huge: Could you post a diff for the change you made? Not the biggest change in the world I didn't expect it to be, but it is better to be sure. [EMAIL PROTECTED] ~/Prog/nut/nut-2.2.1/clients]: diff upsmon.c upsmon.c.orig 125c125 wf = popen(wall -a, w); --- wf =

Re: [Nut-upsuser] Solaris/NUT 'wall' behaviour

2008-02-14 Thread Huge
On Thu, 2008-02-14 at 12:05, Arjen de Korte wrote: @Huge: Could you post a diff for the change you made? Not the biggest change in the world I didn't expect it to be, but it is better to be sure. Troo. [EMAIL PROTECTED] ~/Prog/nut/nut-2.2.1/clients]: diff upsmon.c upsmon.c.orig

Re: [Nut-upsuser] Solaris/NUT 'wall' behaviour

2008-02-13 Thread Arjen de Korte
Anyway, I've modified upsmon to call wall -a instead of wall and it now does what I want. Do you (or anyone else running Solaris) know if this behavior changed in Solaris 10? I've traced back the man page for the 'wall' command back to Solaris 2.4 (the oldest I could find online [1994]).

Re: [Nut-upsuser] Solaris/NUT 'wall' behaviour

2008-02-12 Thread Charles Lepple
On Feb 12, 2008 11:08 AM, Huge [EMAIL PROTECTED] wrote: I have compiled and installed NUT-2.2.1 on Solaris 10 on my Sunblade 2000 and it seems to work very well, except that the behaviour of 'wall', which upsmon uses to report significant events, may differ on Solaris from other systems. On

[Nut-upsuser] Solaris/NUT 'wall' behaviour

2008-02-12 Thread Huge
I have compiled and installed NUT-2.2.1 on Solaris 10 on my Sunblade 2000 and it seems to work very well, except that the behaviour of 'wall', which upsmon uses to report significant events, may differ on Solaris from other systems. On Sol10, wall writes the message *only* on the console, unless