delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/07/23/16:55:28

X-Recipient: archive-cygwin AT delorie DOT 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 AT redhat DOT 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 AT cygwin DOT com
Subject: Re: Tab completion is obscenely slow
References: <AANLkTimQQFeAUBr-YJf=U2N0XT0WEstV6YoXX0QQd5Db AT mail DOT gmail DOT com>
In-Reply-To: <AANLkTimQQFeAUBr-YJf=U2N0XT0WEstV6YoXX0QQd5Db@mail.gmail.com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT 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 AT redhat DOT 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019