From owner-freebsd-current Wed Sep 1 15:47:49 1999 Delivered-To: freebsd-current@freebsd.org Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.26.10.9]) by hub.freebsd.org (Postfix) with ESMTP id A198A1558D; Wed, 1 Sep 1999 15:47:40 -0700 (PDT) (envelope-from bde@godzilla.zeta.org.au) Received: (from bde@localhost) by godzilla.zeta.org.au (8.8.7/8.8.7) id IAA21683; Thu, 2 Sep 1999 08:46:30 +1000 Date: Thu, 2 Sep 1999 08:46:30 +1000 From: Bruce Evans Message-Id: <199909012246.IAA21683@godzilla.zeta.org.au> To: ache@nagual.pp.ru, luoqi@watermarkgroup.com Subject: Re: new ncurses lib changed tgetstr() API Cc: current@FreeBSD.ORG, peter@FreeBSD.ORG Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >> 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