bug-ncurses
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: omission in "curses.h" for version 5.2


From: Thomas Dickey
Subject: Re: omission in "curses.h" for version 5.2
Date: Thu, 15 Nov 2001 15:46:33 -0500
User-agent: Mutt/1.2.5i

On Thu, Nov 15, 2001 at 03:07:06PM -0500, John Robertson wrote:
> I am using RH7.2.  I have attached the file to this mail message.
> 
> Can anyone else using RH7.2 confirm this?

Redhat 7.2 does not ship ncurses 5.2 (as usual, Redhat ships a development
version of ncurses without noting this).  The macro you're referring to was
omitted from the curses.h during one of my edits to separate the wide-character
functions+macros from the base narrow-character calls.

>From my notes, it appears that I fixed this well before 7.2 was released,
in 20010922 - a little over a month.

> On Thursday 15 November 2001 02:45 pm, Thomas Dickey wrote:
> > On Thu, Nov 15, 2001 at 01:24:11PM -0500, John Robertson wrote:
> > > It appears that the macro for mvwchgat() is missing from the "curses.h"
> > > file in version 5.2
> >
> > it doesn't appear that way to me (extracted from curses.h on Slackware
> > 8.0):
> >
> > #define NCURSES_VERSION_MAJOR 5
> > #define NCURSES_VERSION_MINOR 2
> > #define NCURSES_VERSION_PATCH 20001021
> > extern int mvwchgat(WINDOW *, int, int, int, attr_t, short, const void
> > *);/* generated */ #define
> > mvchgat(y,x,n,a,c,o)                mvwchgat(stdscr,y,x,n,a,c,o)
> > #define mvwchgat(win,y,x,n,a,c,o)   (wmove(win,y,x) == ERR ? ERR :
> > wchgat(win,n,a,c,o))
 
This is what Redhat shipped (plus a few changes that I wouldn't want to own):

> /* These are defined only in curses.h, and are used for conditional compiles 
> */
> #define NCURSES_VERSION_MAJOR 5
> #define NCURSES_VERSION_MINOR 2
> #define NCURSES_VERSION_PATCH 20010714

-- 
Thomas E. Dickey <address@hidden>
http://invisible-island.net
ftp://invisible-island.net



reply via email to

[Prev in Thread] Current Thread [Next in Thread]