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: <3CAA6462.3020703@ece.gatech.edu> Date: Tue, 02 Apr 2002 21:09:38 -0500 From: Charles Wilson User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:0.9.4) Gecko/20011019 Netscape6/6.2 X-Accept-Language: en-us MIME-Version: 1.0 To: Alan Dobkin CC: Cygwin Subject: Re: NcFTP Feature Request for "getline" (fwd) References: <2502216266.1017765235@[192.168.70.5]> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit I can't reproduce this the way you see it. OTOH, I understand your problem, and the short answer is: use " character. ncftp> open "R U should do what you want. On cygwin, using rxvt (TERM=rxvt) or dosbox (TERM=cygwin), I get: ncftp> open neuro rcn ncftp> open two tabs, and I get ncftp> open neuro rcn ncftp> open (e.g. the second tab is interpreted here) neuro rcn ncftp> open likewise, when I do something as (IMO) silly as having multi-word bookmark names, in both environments I get ncftp> open neuro one neuro two rcn (lists all three bkmks) ncftp> open n neuro one neuro two (lists two bookmarks, autocompletes 'euro ' ncftp> open neuro neuro one neuro two rcn (thinks that 'open neuro ' is two words, and tries to autocomplete an entirely new word -- so it re-lists all three bkmks) If I try to help, by typing the 'o' for 'neuro one', it doesn't help -- it tries to match on words beginning with 'o' and since I have no bkmks that begin with 'o' -- no match. ncftp> open neuro o ncftp> open neuro o This is The Right Thing To Do, IMO. Very unixy. Now, if I do THIS: ncftp> open "neuro neuro one neuro two Then, I help by adding an 'o': ncftp> open "neuro o (it autocompletes! 'ne"') ncftp> open "neuro one" Again, The Right Thing To Do. Remember, cygwin ain't windows. --Chuck Alan Dobkin wrote: > I am resending the attached request as it still applies > to NcFTP 3.1.3. I am copying the Cygwin list, because > I've noticed a related bug in the current Cygwin version. > > Consider an example with only the following two bookmarks: > > RedHat Linux --> FTP.RedHat.Com > RedHat Updates --> Updates.RedHat.Com > > With the non-Cygwin Win32 version, tab completion > displays the bookmark list with only the second words: > > ncftp> open > Linux Updates > > However, with the Cygwin version, tab completion repeats > the first word each time without displaying the list: > > ncftp> open > ncftp> open RedHat > ncftp> open RedHat RedHat > ncftp> open RedHat RedHat RedHat > > Unfortunately, I am not able to contribute any patches > myself, but hopefully this will not be a difficult fix > for someone who is already familiar with the source code. > > Thanks, > Alan > > > ------------------------------------------------------------------------ > > Subject: > > NcFTP Feature Request for "getline" > From: > > Alan Dobkin > Date: > > Sun, 04 Nov 2001 20:14:09 -0500 > To: > > NcFTP > > > Please consider the following enhancement to "getline" tab > completion. When using the open command with tab to list > the matching bookmarks, getline should enclose the string > in quotes if it contains spaces. Consider this example: > > ncftp> open RedHat Linux > Resolving RedHat... > > Unknown host "RedHat". > ncftp> open "RedHat Linux" (quotes inserted manually) > Resolving FTP.RedHat.Com... > Connecting to 63.240.14.63... > > Red Hat FTP server ready. All transfers are logged. > Logging in... > > Login successful. Have fun. > > Automatically inserting quotes like this appears to be > standard behavior in most UNIX shells and Windows 2000. > > Thanks, > Alan > > > > ------------------------------------------------------------------------ > > -- > 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/ > -- 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/