Re: Get content of a detached screen with perl

Adam Lazur <[email protected]>
Newsgroups gmane.comp.gnu.screen
Message-ID <[email protected]>
Alexander Newald ([email protected]) said:
> I wonder if it is possible to get the comtent (lets call it screen 
> shot) of a detached screen with perl.

Here's a screen cmdline to dump it to a tmpfile... you can read it
however you want:

screen -A -x -RR -X at 1 hardcopy /tmp/screenshot

The -A -x -RR can be substituted with params to get a hold of your
detached session however you'd like.

-- 
Adam Lazur, Cluster Monkey

 

Yahoo! Groups Links

To visit your group on the web, go to:
 http://groups.yahoo.com/group/gnu-screen/

To unsubscribe from this group, send an email to:
 [email protected]

Your use of Yahoo! Groups is subject to:
 http://docs.yahoo.com/info/terms/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.