[comp.windows.x] The equivilent of /etc/wall in the X environment

cliff@motcsd.csd.mot.com (Cliff Rodriguez) (11/14/90)

We have noticed that /etc/wall is not really a solution in an X environment.
Serveral times the machine has been brought down with warning messages sent
out but the X user was unaware and very unhappy.  If you are in an application
that is not making use of a tty (xterm) then you won't see any messages.
Has anyone seen or have some ideas about some kind of messaging service in
X/motif that a systems admin can send out?


i.e.   

system admin:  the system is going down in 2 minutes .....

the user:  screen flashes, an icon blinks , or maybe something goes beep.
           

Maybe this could be like a virtual console where there is a severity level
in messages you can get.  If you see a the icon flashing maybe you would
check it (or it flashes the background or something)......cliff

Please send mail to me. I can repost it... ( or send a copy to me and the net)

--------------------------------------------------------------------------------
Cliff Rodriguez voice:408-366-4788 fax:408-366-4125, Cupertino, CA. USA
uunet! { apple | pyramid } motcsd!cliff || my opinions are mine. they do not
cliff@csd.mot.com                       || reflect those I mail through.

jwz@lucid.com (Jamie Zawinski) (11/15/90)

In article <2131@engadm2.csd.mot.com> cliff@motcsd.csd.mot.com (Cliff Rodriguez) wrote:
> 
> [/etc/wall doesn't work that well because] If you are in an application
> that is not making use of a tty (xterm) then you won't see any messages.
> Has anyone seen or have some ideas about some kind of messaging service in
> X/motif that a systems admin can send out?
[...]
> Maybe this could be like a virtual console where there is a severity level
> in messages you can get.  If you see a the icon flashing maybe you would
> check it (or it flashes the background or something)......cliff

What I would like to see is an application that does what "xterm -C" does
(grabs all system messages, things written on /dev/console, etc) except that
this app would automatically uniconify itself when a new message appeared.

		-- Jamie

allyn@sdd.hp.com (Allyn Fratkin) (11/15/90)

In article <JWZ.90Nov14125539@kolyma.lucid.com>, jwz@lucid.com (Jamie Zawinski) writes:
> What I would like to see is an application that does what "xterm -C" does
> (grabs all system messages, things written on /dev/console, etc) except that
> this app would automatically uniconify itself when a new message appeared.

on hp machines, the "hpterm" program (like xterm but emulates hp terminals)
already does exactly what you ask for.  it has a -C option and it has two
resources that control the mapping behavior, mapOnOutput (boolean)
and mapOnOutputDelay (integer seconds).  (the latter is a delay before 
mapOnOutput takes effect.  otherise it would be impossible to start up 
a window iconified!)

-- 
 From the virtual mind of Allyn Fratkin            allyn@sdd.hp.com
                          San Diego Division       - or -
                          Hewlett-Packard Company  uunet!ucsd!hp-sdd!allyn

khera@thneed.cs.duke.edu (Vick Khera) (11/16/90)

In article <JWZ.90Nov14125539@kolyma.lucid.com> jwz@lucid.com (Jamie Zawinski) writes:

   From: jwz@lucid.com (Jamie Zawinski)
   Date: 14 Nov 90 20:55:39 GMT

   What I would like to see is an application that does what "xterm -C" does
   (grabs all system messages, things written on /dev/console, etc) except that
   this app would automatically uniconify itself when a new message appeared.

how about xconsole?  it does what you asked for and it even works
under Ultrix.

								v.
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Vick Khera     Gradual Student          Department of Computer Science
ARPA:   khera@cs.duke.edu               Duke University
UUCP:   ...!mcnc!duke!khera             Durham, NC 27706       (919) 660-6528

lindholm@cheddar.ucs.ubc.ca (George Lindholm) (11/16/90)

In article <KHERA.90Nov15111358@thneed.cs.duke.edu>, khera@thneed.cs.duke.edu (Vick Khera) writes:
|> In article <JWZ.90Nov14125539@kolyma.lucid.com> jwz@lucid.com (Jamie Zawinski) writes:
|>    What I would like to see is an application that does what "xterm -C" does
|>    (grabs all system messages, things written on /dev/console, etc) except that
|>    this app would automatically uniconify itself when a new message appeared

The XView version of contool does that.


lindholm@ucs.ubc.ca     George_Lindholm@mtsg.ubc.ca      USERGNL@UBCMTSG.BITNET
University of British Columbia Computing Services
6356 Agricultural Road, Vancouver, B.C.
Canada, V6T 1T7
(604) 228-4375

jwade@trc.amoco.com (Joe M. Wade) (11/20/90)

In article <JWZ.90Nov14125539@kolyma.lucid.com>, jwz@lucid.com (Jamie
Zawinski) writes:
|> In article <2131@engadm2.csd.mot.com> cliff@motcsd.csd.mot.com (Cliff
Rodriguez) wrote:
|> > 
|> > [/etc/wall doesn't work that well because] If you are in an application
|> > that is not making use of a tty (xterm) then you won't see any messages.
|> > Has anyone seen or have some ideas about some kind of messaging service in
|> > X/motif that a systems admin can send out?
|> [...]
|> > Maybe this could be like a virtual console where there is a severity level
|> > in messages you can get.  If you see a the icon flashing maybe you would
|> > check it (or it flashes the background or something)......cliff
|> 
|> What I would like to see is an application that does what "xterm -C" does
|> (grabs all system messages, things written on /dev/console, etc) except that
|> this app would automatically uniconify itself when a new message appeared.
|> 
|> 		-- Jamie

There is an application called contool which runs under X in its 
latest incarnation. I believe the source was posted under
comp.windows.misc in the last few months. Be forewarned though, it
uses an OpenLook user interface and you need the xview library to 
build it. The author in the man page is Chuck Musciano at
chuck@trantor.harris-atd.com. I've been using it for a couple of
months and really like it. Filtering of console messages may be 
done, which enable you to prioritize your messages. It has the 
capabilities of automatically opening the console,beeping,flashing of
the icon,timestamping messages, or kicking off a command which you 
specify. (audio is nice....)

*  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *
*  Joe M. Wade (jwade@trc.amoco.com)         (918) 660-4387    *
*  Amoco Research Center * 4502 E. 41st St. * Tulsa, OK  74102 *
*  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *
*  I'm now an employee, the company's to blame                 *
*  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *
*  Remember, wherever you go..there you are   - Buck Bonzai    *
*  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *

D. Allen [CGL]) (11/26/90)

I made some simple changes to xterm that beep and shove "***" in front of
the icon name if output occurs in an iconified or obscured window.
(Remember how x10 xterm used to do a similar thing?)

We couple this with another simple xterm enhancement that opens and reads
/dev/xcons on DEC workstations (when -C is used), so that the login
window truly becomes a console window.  This works well for noticing
messages and /etc/wall and other things happening in the login window.
-- 
-IAN! (Ian! D. Allen) idallen@watcgl.uwaterloo.ca idallen@watcgl.waterloo.edu
 [129.97.128.64]  Computer Graphics Lab/University of Waterloo/Ontario/Canada