From sanpei@yy.cs.keio.ac.jp  Mon Jan  6 08:37:52 1997
Received: from chizuru.yy.cs.keio.ac.jp (chizuru.yy.cs.keio.ac.jp [131.113.47.2])
          by freefall.freebsd.org (8.8.4/8.8.4) with SMTP id IAA15155
          for <FreeBSD-gnats-submit@freebsd.org>; Mon, 6 Jan 1997 08:37:33 -0800 (PST)
Received: from lavender.yy.cs.keio.ac.jp ([203.140.35.15]) by chizuru.yy.cs.keio.ac.jp (8.6.12+2.5W/3.1W-2.8compat) with ESMTP id BAA23852 for <FreeBSD-gnats-submit@freebsd.org>; Tue, 7 Jan 1997 01:37:27 +0900
Received: (from sanpei@localhost) by lavender.yy.cs.keio.ac.jp (8.7.6/3.5Wbeta) id BAA02580; Tue, 7 Jan 1997 01:37:25 +0900 (JST)
Message-Id: <199701061637.BAA02580@lavender.yy.cs.keio.ac.jp>
Date: Tue, 7 Jan 1997 01:37:25 +0900 (JST)
From: sanpei@yy.cs.keio.ac.jp
Reply-To: sanpei@yy.cs.keio.ac.jp
To: FreeBSD-gnats-submit@freebsd.org
Subject: update request ncftp2 about HAVE_FILENAME_COMPLETION
X-Send-Pr-Version: 3.2

>Number:         2384
>Category:       ports
>Synopsis:       update request ncftp2 about HAVE_FILENAME_COMPLETION
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    ache
>State:          closed
>Quarter:
>Keywords:
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jan  6 08:40:01 PST 1997
>Closed-Date:    Thu Jan 9 03:59:07 PST 1997
>Last-Modified:  Thu Jan  9 03:59:39 PST 1997
>Originator:     MIHIRA Yoshiro
>Release:        FreeBSD 2.2-961014-SNAP i386
>Organization:
Keio Univ. Japan
>Environment:

FreeBSD 2.2-961014-SNAP with current bsd.port.{mk|subdir.mk}

>Description:

  ncftp2 is support *HAVE_FILENAME_COMPLETION*.

  Yes, ncftp2 support REMOTE_FILENAME_COMPLETION, and also support
LOCAL_FILENAME_COMPLETION!!

  But if you use this function, you need to set enviroment variable 
ac_cv_lib_readline to yes.

  I tested ncftp2 with this function for two months. There are no
problem.

  I hope to submit this patch.

Thank you.

Yoshiro MIHIRA

>How-To-Repeat:

Install FreeBSD-current ncftp2 and connect to some ftp host.

In ncftp2 command prompt:
'put <TAB>'

NO file is listed.

>Fix:
	
Apply this patch to ports tree:

diff -ur ncftp2.bak/Makefile ncftp2/Makefile
--- ncftp2.bak/Makefile	Mon Nov 18 21:46:40 1996
+++ ncftp2/Makefile	Fri Jan  3 22:33:55 1997
@@ -13,7 +13,7 @@
 MAINTAINER=	ache@FreeBSD.ORG
 
 GNU_CONFIGURE=  yes
-CONFIGURE_ENV=  ac_cv_func_getmaxyx=yes
+CONFIGURE_ENV=  ac_cv_func_getmaxyx=yes ac_cv_lib_readline=yes
 MAN1=		ncftp2.1
 
 do-install:
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports->ache 
Responsible-Changed-By: asami 
Responsible-Changed-When: Thu Jan 9 01:55:26 PST 1997 
Responsible-Changed-Why:  
His port. 
State-Changed-From-To: open->closed 
State-Changed-By: ache 
State-Changed-When: Thu Jan 9 03:59:07 PST 1997 
State-Changed-Why:  
Fix applied in Makefile v1.38 
>Unformatted:
