public inbox for speakup@linux-speakup.org
 help / color / mirror / Atom feed
* System wide message:
@  Dawes, Stephen
   ` Travis Siegel
                   ` (3 more replies)
  0 siblings, 4 replies; 20+ messages in thread
From: Dawes, Stephen @  UTC (permalink / raw)
  To: Speakup is a screen review system for Linux.

The subject line may be a bit misleading at first, but here goes
nothing.

What I am looking for is a system command / tool that will allow me to
broadcast a message to everyone connected to my Linux box. 
What I am doing is playing with caller id. 
I have the caller id being captured into a log file, but now I want to
enhance things by having the same information displayed on the computers
that are connect to the Linux box at the time that the phone rings
It would also be nice if the information was also displayed on the samba
connected boxes too.
I don't want to use email or http because I am looking for real time
messaging.
So, if I am working at the computer, or if I am in a room with a
computer in it, and the phone rings, I can hear the message of the
caller id spoken as the phone is ringing.

Any thoughts?

Steve Dawes
Phone: (403) 268-5527
Email: SDawes@calgary.ca
 
 


NOTICE -
This communication is intended ONLY for the use of the person or entity named above and may contain information that is confidential or legally privileged. If you are not the intended recipient named above or a person responsible for delivering messages or communications to the intended recipient, YOU ARE HEREBY NOTIFIED that any use, distribution, or copying of this communication or any of the information contained in it is strictly prohibited. If you have received this communication in error, please notify us immediately by telephone and then destroy or delete this communication, or return it to us by mail if requested by us. The City of Calgary thanks you for your attention and cooperation.



^ permalink raw reply	[flat|nested] 20+ messages in thread
* RE: System wide message:
@  Dawes, Stephen
   ` Gregory Nowak
   ` Shaun Oliver
  0 siblings, 2 replies; 20+ messages in thread
From: Dawes, Stephen @  UTC (permalink / raw)
  To: Speakup is a screen review system for Linux.

Does wall transmit to a box connected to the network via samba at the
same time?


Steve Dawes
Phone: (403) 268-5527
Email: SDawes@calgary.ca
 
 


NOTICE -
This communication is intended ONLY for the use of the person or entity named above and may contain information that is confidential or legally privileged. If you are not the intended recipient named above or a person responsible for delivering messages or communications to the intended recipient, YOU ARE HEREBY NOTIFIED that any use, distribution, or copying of this communication or any of the information contained in it is strictly prohibited. If you have received this communication in error, please notify us immediately by telephone and then destroy or delete this communication, or return it to us by mail if requested by us. The City of Calgary thanks you for your attention and cooperation.

> -----Original Message-----
> From: speakup-bounces@braille.uwo.ca 
> [mailto:speakup-bounces@braille.uwo.ca] On Behalf Of Travis Siegel
> Sent: 2004 August 23 12:32 PM
> To: Speakup is a screen review system for Linux.
> Subject: Re: System wide message:
> 
> The program used to send messages to everyone logged on is wall.
> I.E.
> wall system is going down for reboot in 10 minutes would send 
> the message to everyone logged in at the moment.
> If you wanted to send it to just one person, use write 
> <user-id> If there's only one person logged in, then they 
> efectively do the same thing.
> 
> 
> _______________________________________________
> Speakup mailing list
> Speakup@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
> 
> 


^ permalink raw reply	[flat|nested] 20+ messages in thread
* RE: System wide message:
@  Dawes, Stephen
   ` Alex Snow
   ` Gregory Nowak
  0 siblings, 2 replies; 20+ messages in thread
From: Dawes, Stephen @  UTC (permalink / raw)
  To: Speakup is a screen review system for Linux.

Greg, 

If I am reading this right, when, let's say wall transmits a message,
samba sees it and with the message command ... The console message
generated by wall is transmitted across the samba network?

Steve Dawes
Phone: (403) 268-5527
Email: SDawes@calgary.ca
 
 

NOTICE -
This communication is intended ONLY for the use of the person or entity named above and may contain information that is confidential or legally privileged. If you are not the intended recipient named above or a person responsible for delivering messages or communications to the intended recipient, YOU ARE HEREBY NOTIFIED that any use, distribution, or copying of this communication or any of the information contained in it is strictly prohibited. If you have received this communication in error, please notify us immediately by telephone and then destroy or delete this communication, or return it to us by mail if requested by us. The City of Calgary thanks you for your attention and cooperation.

> -----Original Message-----
> From: speakup-bounces@braille.uwo.ca 
> [mailto:speakup-bounces@braille.uwo.ca] On Behalf Of Gregory Nowak
> Sent: 2004 August 23 1:48 PM
> To: Speakup is a screen review system for Linux.
> Subject: Re: System wide message:
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> - From the smb.conf(5) man page:
> 
> message command (G)
>               This specifies what command to run when the server
>               receives a WinPopup style message.
> 
>               This would normally be a command that would deliver the
> 	      message somehow. How this is to be done is up
>               to your imagination.
> 
>               An example is:
> 
>               message command = csh -c 'xedit %s;rm %s' &
> 
>               This  delivers  the  message  using xedit, then removes
> 	      it afterwards. NOTE THAT IT IS VERY IMPORTANT
>               THAT THIS COMMAND RETURN IMMEDIATELY. That's why I have
> 	      the '&' on the  end.  If  it  doesn't  return
>               immediately  then  your PCs may freeze when sending
> 	      messages (they should recover after 30secs, hope-
>               fully).
> 
>               All messages are delivered as the global guest user.
> 	      The command takes the  standard  substitutions,
>               although  %u won't work (%U may be better in this case).
> 
>               Apart from the standard substitutions, some additional
> 	      ones apply. In particular:
> 
>               o %s = the filename containing the message.
> 
>               o %t = the destination that the message was sent to
> 	      (probably the server name).
> 
> o %f = who the message is from.
> 
>        You  could  make this command send mail, or whatever else takes
>        your fancy. Please let us know of any really
>        interesting ideas you have.
> 
>        Here's a way of sending the messages as mail to root:
> 
>        message command = /bin/mail -s 'message from %f on %m' root <
>        %s; rm %s
> 
>        If you don't have a message command then the message won't be
>        delivered and Samba will tell the sender there
>        was  an  error. Unfortunately WfWg totally ignores the error
>        code and carries on regardless, saying that the
>        message was delivered.
> 
>        If you want to silently delete it then try:
> 
>        message command = rm %s
> 
>        Default: no message command
> 
>        Example: message command = csh -c 'xedit %s; rm %s' &
> 
> Hth.
> 
> Greg
> 
> 
> 


^ permalink raw reply	[flat|nested] 20+ messages in thread
* RE: System wide message:
@  Dawes, Stephen
   ` Shaun Oliver
  0 siblings, 1 reply; 20+ messages in thread
From: Dawes, Stephen @  UTC (permalink / raw)
  To: Speakup is a screen review system for Linux.

I have found the solution I am looking for.

1. wall writes to all connected directly to the Linux box.
2. rwall transmits the message across rpc to the rest of the Linux
network. 
3. smbclient transmits the message to the samba network

Now it is on to putting all the pieces together to create the little
system that I am working on.

Thanks to all for the help, it pointed me in the right direction.


Steve Dawes
Phone: (403) 268-5527
Email: SDawes@calgary.ca



NOTICE -
This communication is intended ONLY for the use of the person or entity named above and may contain information that is confidential or legally privileged. If you are not the intended recipient named above or a person responsible for delivering messages or communications to the intended recipient, YOU ARE HEREBY NOTIFIED that any use, distribution, or copying of this communication or any of the information contained in it is strictly prohibited. If you have received this communication in error, please notify us immediately by telephone and then destroy or delete this communication, or return it to us by mail if requested by us. The City of Calgary thanks you for your attention and cooperation.



^ permalink raw reply	[flat|nested] 20+ messages in thread
* RE: System wide message:
@  Dawes, Stephen
  0 siblings, 0 replies; 20+ messages in thread
From: Dawes, Stephen @  UTC (permalink / raw)
  To: Speakup is a screen review system for Linux.

You bet.

Watch for more on this in my next post.

In the need for meaningful subject lines, I am going to talk about this
project from now on a new thread, because we have now strayed from the
original focus of the subject, "System wide message" into talking about
caller id. 



Steve Dawes
Phone: (403) 268-5527
Email: SDawes@calgary.ca
 
  


NOTICE -
This communication is intended ONLY for the use of the person or entity named above and may contain information that is confidential or legally privileged. If you are not the intended recipient named above or a person responsible for delivering messages or communications to the intended recipient, YOU ARE HEREBY NOTIFIED that any use, distribution, or copying of this communication or any of the information contained in it is strictly prohibited. If you have received this communication in error, please notify us immediately by telephone and then destroy or delete this communication, or return it to us by mail if requested by us. The City of Calgary thanks you for your attention and cooperation.

> -----Original Message-----
> From: speakup-bounces@braille.uwo.ca 
> [mailto:speakup-bounces@braille.uwo.ca] On Behalf Of Shaun Oliver
> Sent: 2004 August 25 4:18 AM
> To: Speakup is a screen review system for Linux.
> Subject: Re: System wide message:
> 
> when you figure that out will you send along your solution 
> please? I'd love to be able to use that kind of tool myself
> 
> --
> "To YOU I'm an atheist; to God, I'm the Loyal Opposition."
> 		-- Woody Allen
> Shaun Oliver
> http://blindman.homelinux.org/~blindman/
> 
> _______________________________________________
> Speakup mailing list
> Speakup@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
> 
> 


^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~ UTC | newest]

Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
 System wide message: Dawes, Stephen
 ` Travis Siegel
 ` Alex Snow
 ` Jayson Smith
 ` Wesley Groleau
   ` Gregory Nowak
     ` Wesley Groleau
       ` Jayson Smith
         ` Gregory Nowak
 Dawes, Stephen
 ` Gregory Nowak
 ` Shaun Oliver
 Dawes, Stephen
 ` Alex Snow
 ` Gregory Nowak
   ` Thomas Stivers
   ` Alex Snow
 Dawes, Stephen
 ` Shaun Oliver
 Dawes, Stephen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).