[comp.sys.sun] Broadcast messages and X windows

fedor@dsg.csc.ti.com (Lee Fedor) (02/14/90)

I asked.....

>>And while we are on the subject of bothersome questions, 
>>is there an easy way to disable shutdown messages from 
>>popping up in all of the windows that you have open?  We 
>>are running 4.0.3 on sparc systems and running X11R3.  
>>mesg n does not shut off the messages about a system going 
>>down.  Is that because root can always overwrite?  It seems 
>>that there should be someway that you could direct those 
>>messages to come up in the console window only.


Faut C. Baran writes --<faut@columbia.edu>

|If you are logging in via xterm, there is a switch that says whether
|or not a utmp entry should be written.  wall (shutdown does a wall)
|writes to all ttys that have logged in users on it (from info in
|/etc/utmp).  Of course, if no utmp entry is written then you are
|"invisible" to programs like finger.

So using xterm -ut does accomplish what I was looking for and I have many
happy users.  Many many thanks to Faut, and I hope others find this useful
also.  Once again saved by the net!

Lee Fedor               System Administrator
Texas Instruments
Austin, Texas           
(512)250-7573           fedor@dsg.csc.ti.com