Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Sep 1999 08:46:30 +1000
From:      Bruce Evans <bde@zeta.org.au>
To:        ache@nagual.pp.ru, luoqi@watermarkgroup.com
Cc:        current@FreeBSD.ORG, peter@FreeBSD.ORG
Subject:   Re: new ncurses lib changed tgetstr() API
Message-ID:  <199909012246.IAA21683@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
>> After the import of ncurses 5.0 (beta?), I noticed strange behavior of clear
>> on my xterm. I tracked it down to an API change of tgetstr(), here is the
>> new code:
>> 
>>     char *tgetstr(NCURSES_CONST char *id, char **area GCC_UNUSED)
>
>It is definitely bug on ncurses side and must be fixed *there* and not in 
>userland code. (Peter please back out corresponding tset fix too)
>Many programs use area parameter. API change not allowed here.

ncurses doesn't claim to document our old API of course.  The area arg
is not even mentioned in the man page.

The new tgetstr() man page seems to be a significant downgrade, not even
counting the regression from mandoc format.

Bruce


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199909012246.IAA21683>