Re: LFTP: Cygwin and setupterm

2002-12-17 Thread Charles Wilson
This thread has a lot of misinformation and just plain confusion. For starters, term.h != termcap.h. Some messages in this thread talk about term.h, others about termcap.h -- and seem to mean one when they're talking about the other. Sigh. Also, /usr/include/termcap.h is NOT the ncurses

LFTP: Cygwin and setupterm

2002-12-16 Thread Frédéric L. W. Meunier
Anybody know what's wrong ? I tried to compile LFTP 2.6.3 with ncurses 5.2-8 and got the following: /cygdrive/g/Linux/lftp/src/lftp_tinfo.cc: In function `void init_terminfo()': /cygdrive/g/Linux/lftp/src/lftp_tinfo.cc:50: implicit declaration of function `int setupterm(...)' There's the

Re: LFTP: Cygwin and setupterm

2002-12-16 Thread Larry Hall (RFK Partners, Inc)
At 11:03 PM 12/16/2002, Frédéric L. W. Meunier wrote: Anybody know what's wrong ? I tried to compile LFTP 2.6.3 with ncurses 5.2-8 and got the following: /cygdrive/g/Linux/lftp/src/lftp_tinfo.cc: In function `void init_terminfo()': /cygdrive/g/Linux/lftp/src/lftp_tinfo.cc:50: implicit declaration

RE: LFTP: Cygwin and setupterm

2002-12-16 Thread Frédéric L. W. Meunier
On Mon, 16 Dec 2002, [EMAIL PROTECTED] wrote: The setupterm() function lives in the ncurses package (/usr/include/ncurses/term.h). The problem happens in the if pre-processor clause on line 26 of lftp_tinfo.cc. I got around that by changing the order and switching an if to an elif statement

RE: LFTP: Cygwin and setupterm

2002-12-16 Thread Frédéric L. W. Meunier
On Mon, 16 Dec 2002, [EMAIL PROTECTED] wrote: May not have been the right thing to do but got past that problem. Actually I think you and Larry are right. What would happen if I had /usr/include/termcap.h from libtermcap and not ncurses ? I don't think LFTP or anything should mix headers. I

Re: LFTP: cygwin and setupterm

2002-12-16 Thread Christopher Faylor
On Tue, Dec 17, 2002 at 02:12:54AM -0300, Fr?d?ric L. W. Meunier wrote: On Mon, 16 Dec 2002, [EMAIL PROTECTED] wrote: The setupterm() function lives in the ncurses package (/usr/include/ncurses/term.h). The problem happens in the if pre-processor clause on line 26 of lftp_tinfo.cc. I got around

Re: LFTP: cygwin and setupterm

2002-12-16 Thread Christopher Faylor
On Tue, Dec 17, 2002 at 12:37:45AM -0500, [EMAIL PROTECTED] wrote: 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

Re: LFTP: Cygwin and setupterm

2002-12-16 Thread Frédéric L. W. Meunier
On Mon, 16 Dec 2002, Larry Hall (RFK Partners, Inc) wrote: At 11:03 PM 12/16/2002, Frédéric L. W. Meunier wrote: Anybody know what's wrong ? I tried to compile LFTP 2.6.3 with ncurses 5.2-8 and got the following: /cygdrive/g/Linux/lftp/src/lftp_tinfo.cc: In function `void init_terminfo()':

Re: LFTP: Cygwin and setupterm

2002-12-16 Thread Larry Hall (RFK Partners, Inc)
At 11:46 PM 12/16/2002, Frédéric L. W. Meunier wrote: On Mon, 16 Dec 2002, Larry Hall (RFK Partners, Inc) wrote: At 11:03 PM 12/16/2002, Frédéric L. W. Meunier wrote: Anybody know what's wrong ? I tried to compile LFTP 2.6.3 with ncurses 5.2-8 and got the following: