if you want to do it, say, from a script, you can pipe a mesage into it,
eg:

echo "Come and get your dinner before it goes cold"|smbclient -M MILES

one problem is that there is no guarantee that winpopup is running on
\\MILES, and there doesn't seem to be an error message generated
(although the return code for smbclient might be affected)

another problem is that the message is sent to the computer, not to a
user at the computer, making it rather dodgy in the *nix situation -
which of the maybe many users do you send the message to? the script i
pointed you to this morning just seems to pop the message on the first X
screen available - but of course X may not be running, or it may be
running by someone you don't want to see the message. or there might be
25 X sessions all with different users.

I suspect there is a unixy equivalent - is talk what we are looking for?

On Tue, 06 Apr 2004 12:09:47 +1200
"Fisher, Robert (FXNZ CHC)" <[EMAIL PROTECTED]> wrote:

> Great,
> 
> Tried Linux to Windows here at work using..
> smbclient -M<destinationmachine>
> and it worked.
> Linpopup looks as though it might be helpful too. I will keep you posted.
> 
> Regards, Robert
> Some days you are the pigeon, some days you are the statue.
> 
> -----Original Message-----
> From: Mike Beattie [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, 6 April 2004 11:40 a.m.
> To: [EMAIL PROTECTED]
> Subject: Re: "net send"
> 
> On Mon, Apr 05, 2004 at 08:51:34PM +1200, Nic Scott wrote:
> > I send messages to windows computers with
> >
> > #> smbclient -M HOST
> >
> > you then type your message and quit and send with control-d.
> >
> > Im not to sure how too recive winpop ups in linux...
> 
> [EMAIL PROTECTED]:~> apt-cache search linpopup 
> linpopup - Xwindow port of Winpopup, running over Samba
> 
> Mike.
> --
> Mike Beattie <[EMAIL PROTECTED]>                      ZL4TXK, IRLP Node 6184
> 
>     "Why Not? I'm drunk right now."    -- Anthony Towns when asked about
>        naming the next Debian release after the winner of an auction.

-- 
Nick Rout <[EMAIL PROTECTED]>

Reply via email to