screen-users
[Top][All Lists]
Advanced

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

Re: screen-scan


From: Aaron Davies
Subject: Re: screen-scan
Date: Tue, 14 Sep 2010 16:27:00 -0400

On Tuesday, September 14, 2010, Aaron Davies <address@hidden> wrote:

> a little script to do something vaguely like a KVM's scan function
>
> invoke from some other terminal against a screen with many windows to
> be monitored
>
> #!/bin/sh
> while true; do screen -S $1 -X next; sleep 1; done

relatedly, is it possible to get the results of lastmsg off the screen
and onto stdout? a use case would be sg like

$ screen -S compiles -X at '#' copy
$ screen -S compiles -X at '#' stuff '?error^M'
$ screen -S compiles -X at '#' dumplastmsg|grep -v 'Pattern not found'|wc -l

i.e. checking that some string doesn't occur on any window
-- 
Aaron

-- 
Aaron Davies
address@hidden



reply via email to

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