Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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" 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 Content-type: text/plain; charset=iso-8859-1 X-OriginalArrivalTime: 17 Dec 2002 05:37:45.0710 (UTC) FILETIME=[6D46F0E0:01C2A58E] Content-Transfer-Encoding: 8bit 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 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 >> # include >> #elif defined(HAVE_CURSES_H) >> # include >> # if defined(HAVE_TERM_H) >> # include >> # endif >> #elif defined(HAVE_NCURSES_CURSES_H) >> #include >> # if defined(HAVE_NCURSES_TERM_H) >> # include >> # 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/