On Tuesday, September 14, 2010, Aaron Davies <aaron.dav...@gmail.com> 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
aaron.dav...@gmail.com

_______________________________________________
screen-users mailing list
screen-users@gnu.org
http://lists.gnu.org/mailman/listinfo/screen-users

Reply via email to