delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/12/17/00:37:57

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <29950-220021221753745544@M2W028.mail2web.com>
X-Priority: 3
Reply-To: cygwin AT cygwin DOT com
X-Originating-IP: 195.92.67.66
From: "elfyn-cygwin AT mail DOT exposure DOT org DOT uk" <elfyn-cygwin AT mail DOT exposure DOT org DOT uk>
To: cygwin AT cygwin DOT com
Subject: Re: LFTP: cygwin and setupterm
Date: Tue, 17 Dec 2002 00:37:45 -0500
MIME-Version: 1.0
X-OriginalArrivalTime: 17 Dec 2002 05:37:45.0710 (UTC) FILETIME=[6D46F0E0:01C2A58E]
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id gBH5bu007042

Just checked on both of my servers, they symlink /usr/include/term.h with
ncurses/term.h, running RedHat 6.1 and 8.0. Should cygwin/ncurses do the
same?

  The QNX proprietary term_* functions have been deprecated in favor of
  ncurses. ncurses is a set of terminal-independent routines for painting
  screens and handling input events......

  .....The file /usr/include/term.h is now an ncurses header file; you'll
  find the old <term.h> in /usr/include/sys/term.h. An error message is
  displayed if you combine the old term_* and ncurses header files.


Btw, I put the below __CYGWIN__ mention in because it still complained even
when when it was passed the sufficient defines in CPPFLAGS and CXXFLAGS
before running configure.

Elfyn
elfyn AT exposure DOT org DOT uk

Original Message:
-----------------
From: Christopher Faylor cgf-cygwin AT cygwin DOT com
Date: Mon, 16 Dec 2002 23:46:30 -0500
To: cygwin AT cygwin DOT com
Subject: Re: LFTP: cygwin and setupterm


On Tue, Dec 17, 2002 at 02:12:54AM -0300, Fr?d?ric L. W. Meunier wrote:
>
...
>>
>> #if defined(__CYGWIN__)
>> # include <ncurses/term.h>
>> # include <curses.h>
>> #elif defined(HAVE_CURSES_H)
>> # include <curses.h>
>> # if defined(HAVE_TERM_H)
>> #  include <term.h>
>> # endif
>> #elif defined(HAVE_NCURSES_CURSES_H)
>> #include <ncurses/curses.h>
>> # if defined(HAVE_NCURSES_TERM_H)
>> #  include <ncurses/term.h>
>> # endif
>> #endif
>>
...

Why is there a separate Cygwin definition there at at all?  It seems
like everything should be handled by HAVE_NCURSES_CURSES_H and
HAVE_NCURSES_TERM_H.  Either that or the #if for the HAVE_NCURSES_TERM_H
should be moved outside of the if for HAVE_NCURSES_CURSES_H.

Btw, I just checked and uninstalling the termcap package (assuming
this is what you mean) does not install /usr/include/term.h.  That's
not a file which is included in the termcap distribution.

cgf

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

--------------------------------------------------------------------
mail2web - Check your email from the web at
http://mail2web.com/ .



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019