| Were you trying to tell your users they should go home & celebrate the
| New Year...?

Haha. I was just trying to find a way to broadcast a message stating that
something has happened (like an event).
The 'wall' command works fine for the terminals outside screen.
But if we say I have two regions in screen with two terminals.
And if I execute the 'wall' linux command (not :wall in screen) in one of
the terminals then the message is not shown in the second terminal in the
second region (in the same screen session). But the message is shown on the
terminals that are not running in screen.
I tried to execute 'wall' in a terminal outside screen and the messages is
again visible on all terminals not running in screen and not visible on all
terminals running in screen. It's strange.
It doesn't matter if I execute 'wall' with root or with my regular user -
the message is not shown in either case.
I am using Debian 6 Squeeze with 2.6.39-bpo.2-686-pae kernel from
http://backports.debian.org/.
Thank you for your help!


On Sun, Jan 1, 2012 at 3:57 AM, Chris Jones <cjns1...@gmail.com> wrote:

> On Sat, Dec 31, 2011 at 07:16:08PM EST, Vladimir Todorov wrote:
>
> > Hello everyone,
> >
> > Today I had the need to broadcast a message to all logged in users.
> > I tried the `wall` command and it worked fine. But if the user is
> > using screen the message is not displayed. In other words if you are
> > working inside a screen session then you won't see any messages sent
> > with the `wall` command. Can someone more familiar help me out with
> > this? I am using Screen version 4.00.03jw4 (FAU) 2-May-06 Also I found
> > the 'wall' screen command but it shows the messages in the hard-status
> > line and they disappear after a while. Is there a way that I can send
> > the messages to the virtual terminals in screen instead of the
> > hard-status line?
>
> Works here.. If you wall your users as root or if the wall program is
> setuid/gid root, I can't see any reason it shouldn't work.
>
> I'm on debian 5.0 aka ‘lenny’ and the wall program is sgid root.
>
> Were you trying to tell your users they should go home & celebrate the
> New Year...?
>
> CJ
>
>
> _______________________________________________
> screen-users mailing list
> screen-users@gnu.org
> https://lists.gnu.org/mailman/listinfo/screen-users
>
_______________________________________________
screen-users mailing list
screen-users@gnu.org
https://lists.gnu.org/mailman/listinfo/screen-users

Reply via email to