* Thor Andreassen <t...@toggle.be> [091218 08:36]: > On Thu, Dec 10, 2009 at 10:25:11PM -0800, John Magolske wrote: > > Is there a string escape sequence that will display the total number > > of windows (just a single number, not all window numbers and names)? > > ... > ... > I've attached a patch that copies some of the functionality of the '%w' > handling, and should be applied to the newest source on savannah. It > seems to produce the correct result, although someone more familiar with > the code should check it for any unwanted consequences.
Thanks for the patch, this should be very useful. For some reason I'm getting an error when running configure: % git clone git://git.savannah.gnu.org/screen.git % cd /screen/src % cp ~/number_of_windows.patch . % patch -i number_of_windows.patch patching file extern.h patching file process.c Hunk #1 succeeded at 5342 (offset 25 lines). patching file screen.c % autoconf % ./configure ... ... config.status: error: cannot find input file: config.h.in John -- John Magolske http://B79.net/contact _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users