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).

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

Reply via email to