X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-1.8 required=5.0	tests=AWL,BAYES_00
X-Spam-Check-By: sourceware.org
X-Yahoo-SMTP: Uu383n6swBCEN1G9up0WSnxbvN8fCPmk
Message-ID: <4C48A0AE.8060607@cygwin.com>
Date: Thu, 22 Jul 2010 15:49:02 -0400
From: "Larry Hall \(Cygwin\)" <reply-to-list-only-lh@cygwin.com>
Reply-To: cygwin@cygwin.com
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.21) Gecko/20090320 Remi/2.0.0.21-1.fc8.remi Lightning/0.9 Thunderbird/2.0.0.21 Mnenhy/0.7.5.0
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: Cygwin command line takes a long time to start
References: <20100722171413.GA943@ns.sdsitehosting.net> <4C48803D.906@cygwin.com> <20100722184328.GA3431@ns.sdsitehosting.net>
In-Reply-To: <20100722184328.GA3431@ns.sdsitehosting.net>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
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 7/22/2010 2:43 PM, John Oliver wrote:
> On Thu, Jul 22, 2010 at 01:30:37PM -0400, Larry Hall (Cygwin) wrote:
>> On 7/22/2010 1:14 PM, John Oliver wrote:
>>> After opening the Cygwin shell, I get the black box and a blinking
>>> underscore for ten or fifteen seconds before the prompt appears.  How
>>> would I go about figuring out what the delay is all about?
>>
>> Are you running bash?  Have you installed the bash-completion package?
>
> Yes, and no.

OK then the easiest thing to do is add "set -x" to your ~/.bash_profile
and watch where the delay happens as the statements scroll by.  This
should help you pinpoint it, assuming it's something Cygwin is doing
and not something Windows (or your environment is doing before bash
and Cygwin even starts).

-- 
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
216 Dalton Rd.                          (508) 893-9889 - FAX
Holliston, MA 01746

_____________________________________________________________________

A: Yes.
> Q: Are you sure?
>> A: Because it reverses the logical flow of conversation.
>>> Q: Why is top posting annoying in email?

--
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

