X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-6.8 required=5.0	tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
Message-ID: <4C4A017C.8010404@redhat.com>
Date: Fri, 23 Jul 2010 14:54:20 -0600
From: Eric Blake <eblake@redhat.com>
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.7) Gecko/20100720 Fedora/3.1.1-1.fc13 Lightning/1.0b2pre Mnenhy/0.8.3 Thunderbird/3.1.1
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: Tab completion is obscenely slow
References: <AANLkTimQQFeAUBr-YJf=U2N0XT0WEstV6YoXX0QQd5Db@mail.gmail.com>
In-Reply-To: <AANLkTimQQFeAUBr-YJf=U2N0XT0WEstV6YoXX0QQd5Db@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On 07/23/2010 02:50 PM, John Cromartie wrote:
> When I type /cyg<tab>  or /cygdrive/c/Prog<tab>  or try similar
> completions, the shell can hang for a good 30-40 seconds. I don't have
> any network drives on my path. What's could be causing this?

Use 'set -vx<ENTER>' before typing '/cyg<TAB>', so that you can see the 
full range of any commands being executed while computing the 
completion.  If any one of them takes particularly long, that would be 
useful to know.  Also, it may just be an issue of BLODA or windows 
itself taking a long time to enumerate all files in a large directory.

-- 
Eric Blake   eblake@redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

