Ok -

> -----Original Message-----
> From: Benjamin Jeeves [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, February 16, 2003 4:32 AM
> To: Beau E. Cox
> Cc: [EMAIL PROTECTED]
> Subject: Re: How to Konsole
> 
> 
> What I wanted to do was if say HELLO was found within a text file 
> the script 
> would open a xterm and display a message within that xterm say 
> like I have 
> found HELLO in name of text file. 
> 
> My script that I have do so far work but wanted to add a method 
> like that the 
> script runs as a server and I wanted it to inform me if it finds 
> a pattern 
> that I my looking for.
> 

OK - you have a perl script you will run in background
on *nix and you want to pop up a message every now and then...

Well... I tried a few things - like using system to start
bash with a parameter if a script what outputs a message - and
that didn't work. But I'm NOT a Linux/UNIX guru - maybe someone
else can chip in.

Some possibilities:

* log it to a file; load the log in to a browser window - refresh
to see messages.

* start a simple server in an xterm and leave it running. In your
main script, print to that server... the simple server then prints
to its xterm, and you have your notification.

* use sound - beep (or actually play a sound file) from you
main script.

That's it from me - good luck.

Aloha => Beau;




-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to