The following commit has been merged in the master branch:
commit b800f7d9bd5ea390ab330c1c0c38ac8277eb9998
Author: Brandon S Allbery <[email protected]>
Date:   Tue Nov 24 16:39:02 2015 -0500

    gtx: use getmaxyx() with sensible fallbacks
    
    configure now checks for the standard getmaxyx() macro; failing that,
    it looks for the older but pre-standardization getmaxx() and getmaxy(),
    then falls back to the 4.2BSD curses _maxx and _maxy fields; if all
    else fails, gtx building is disabled.
    
    gtx now defines getmaxyx() itself if necessary, based on the above.
    
    This also fixes a bug in gtx with all ncurses versions > 1.8.0 on
    platforms other than NetBSD and OS X: gtx was using the _maxx and
    _maxy fields, which starting with ncurses 1.8.1 were off by 1 from
    the expected values. As such, behavior of scout and/or afsmonitor
    may change on most ncurses-using platforms.
    
    Change-Id: I49778e87adacef2598f0965e09538dfc3d840dcc
    Reviewed-on: http://gerrit.openafs.org/12107
    Tested-by: BuildBot <[email protected]>
    Reviewed-by: Michael Meffie <[email protected]>
    Reviewed-by: Chas Williams <[email protected]>
    Reviewed-by: Benjamin Kaduk <[email protected]>

 acinclude.m4            |   15 +-------
 src/cf/curses.m4        |   94 +++++++++++++++++++++++++++++++++++++++++++++++
 src/gtx/curseswindows.c |    8 +---
 src/gtx/gtxcurseswin.h  |    8 ++++
 4 files changed, 104 insertions(+), 21 deletions(-)

-- 
OpenAFS Master Repository
_______________________________________________
OpenAFS-cvs mailing list
[email protected]
https://lists.openafs.org/mailman/listinfo/openafs-cvs

Reply via email to