[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Making screen look for a pattern to detect "activity"

From: Joe Zbiciak
Subject: Re: Making screen look for a pattern to detect "activity"
Date: Fri, 19 May 2006 12:31:03 -0700 (PDT)

One way might be to pipe the program's output through 'grep.'  If you want to 
see the full output also, you could do something hackish like:

mknod foo p
program | tee foo
screen grep pattern foo

Then set screen's activity monitor on the newly opened screen containing the 
grep output.

--We sell Spatulas, and that's all!

----- Original Message ----
From: Hari Bhaskaran <address@hidden>
To: address@hidden
Sent: Friday, May 19, 2006 1:13:52 PM
Subject: Making screen look for a pattern to detect "activity"


I want to make screen look for a certain configurable pattern in the 
output to detect "activity" (for the montoring feature
Cntrl-a M thingy). I am running a custom program which would print a 
certain pattern that I want to watch for, not
necessarily a strict "silence" or "activity"- which currently means any 

Is there a way to achieve this in screen? Any help is appreciated


screen-users mailing list

reply via email to

[Prev in Thread] Current Thread [Next in Thread]