[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: String escape for total number of windows?
From: |
John Magolske |
Subject: |
Re: String escape for total number of windows? |
Date: |
Sun, 20 Dec 2009 21:33:08 -0800 |
User-agent: |
Mutt/1.5.19 (2009-01-05) |
* Thor Andreassen <address@hidden> [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