screen-users
[Top][All Lists]
Advanced

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

Re: multi-window searching, newer screen versions


From: Artur Skonecki
Subject: Re: multi-window searching, newer screen versions
Date: Sun, 14 Aug 2011 08:49:30 +0200 (CEST)
User-agent: Alpine 2.00 (DEB 1167 2008-08-23)

On Sat, 13 Aug 2011, Aaron Davies wrote:
third is that this screen interprets "hardcopy -h" as "write a hardcopy of the current 
screen (without scrollback) to a file named "-h" (relative to screen's pwd). i'm not entirely 
sure how to fix that one,

If it is indeed the case, replacing hardcopydir with chdir command
should suffice.

as i'm not sure how to get the number of windows in a screen back out to the 
script. (otherwise the brute-force way would be to iterate over them, 
generating the name variations myself.)

Are you trying to get the total number of windows in a session?
You could consider counting the number of hardcopy files as an
unreliable solution (Screen may be late with some of the files).



reply via email to

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