Peder,
> But it doesn't help you much on a general basis, as a screen usually
> gets a bit fragmentet in its numbering of windows after a while. you may
> have N windows, but there is a big chance that they are not numbered 1
> to N.
Absolutely true, but all the OP asked for was a count. I'm pretty sure that
code works for that simplistic purpose at least.
-- Buddy
_______________________________________________
screen-users mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/screen-users