Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Do you know any way to introduce a notification feature to putty client? I would like to setup some regular expressions or simply text strings and be notified (by sound or some tooltip) when this content appears in stdout.

If not specific in putty, how can I get it done?

There used to be a similar feature in older version of KDE's konsole terminal, but even now I can't see it.

share|improve this question
add comment

2 Answers

up vote 2 down vote accepted

The PuTTY source code is available for download or Subversion access. It is licenced under the MIT licence, so you are welcome to modify the source (or pay someone to modify the source for you) to add such a notification feature directly to the client.

Depending on what you need, exactly, it may be simpler to rig up a solution like @Ignacio's answer suggests (using tail or other console utilities). If your client system is running an X-server, and you connected with X forwarding enabled in PuTTY, you could even look into using zenity to give you a pop-up dialog for the notification.

share|improve this answer
add comment

Use tail -F to watch the file, and use awk to detect the line and generate the output.

share|improve this answer
    
I am already using tail -f to watch the log file. How does awk or grep help to have a notification in client (Windows)? –  GrzegorzOledzki Jun 11 '10 at 21:08
    
With awk you can run a custom command when the line is matched. If this is not good enough then PuTTY won't do. –  Ignacio Vazquez-Abrams Jun 11 '10 at 21:18
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.