From owner-freebsd-current Sun Sep 1 06:57:22 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id GAA27019 for current-outgoing; Sun, 1 Sep 1996 06:57:22 -0700 (PDT) Received: from sovcom.kiae.su (sovcom.kiae.su [193.125.152.1]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id GAA27014 for ; Sun, 1 Sep 1996 06:57:19 -0700 (PDT) Received: by sovcom.kiae.su id AA29348 (5.65.kiae-1 ); Sun, 1 Sep 1996 16:53:14 +0300 Received: by sovcom.KIAE.su (UUMAIL/2.0); Sun, 1 Sep 96 16:53:14 +0300 Received: (from ache@localhost) by nagual.ru (8.7.5/8.7.3) id RAA03488; Sun, 1 Sep 1996 17:53:08 +0400 (MSD) Message-Id: <199609011353.RAA03488@nagual.ru> Subject: Re: bin/1560: In-Reply-To: <199609011300.NAA03563@veda.is> from "Adam David" at "Sep 1, 96 01:00:39 pm" To: adam@veda.is (Adam David) Date: Sun, 1 Sep 1996 17:53:07 +0400 (MSD) Cc: bde@zeta.org.au, current@FreeBSD.org From: =?KOI8-R?Q?=E1=CE=C4=D2=C5=CA_=FE=C5=D2=CE=CF=D7?= (Andrey A. Chernov) Organization: self X-Class: Fast X-Mailer: ELM [version 2.4ME+ PL25 (25)] Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-current@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk > > > > > /usr/include/termcap.h declares tputs() as type void, whereas in > > > > > /usr/include/*curses.h it says an integer is returned. This results > > > > > in a type conflict and programs don't compile. > > > > > > > > Someone "cleaned up" the termcap version. It used to return a garbage > > > > int. > > > > > > > > Bruce > > > > > > > > > > Uh, this means *curses needs to be brought into sync, right? > > > > Ncurses declare it as void too. Old curses+termlib will be removed > > in future. > > really? > ... > /usr/include/ncurses.h:extern int tputs(const char *,int,int (*)(int)); ... Old ncurses will be replaced with new one. -- Andrey A. Chernov http://www.nagual.ru/~ache/