This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
LFTP: Cygwin and setupterm
- From: Frédéric L. W. Meunier <0 at pervalidus dot net>
- To: cygwin at cygwin dot com
- Date: Tue, 17 Dec 2002 01:03:13 -0300 (E. South America Standard Time)
- Subject: LFTP: Cygwin and setupterm
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 following in lftp_tinfo.cc:
#if defined(HAVE_TIGETSTR)
static bool terminfo_ok = true;
static void init_terminfo()
{
static bool initted = false;
if(initted) return;
initted = true;
int errret=0;
if(setupterm(NULL, 1, &errret) == ERR)
terminfo_ok = false;
}
#endif
The same error someone reported some time ago with 2.6.2:
http://www.mail-archive.com/lftp@uniyar.ac.ru/msg00888.html
I also e-mailed the lftp-devel mailing-list.
--
0@pervalidus.{net, {dyndns.}org}
--
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/