X-Recipient: archive-cygwin AT delorie DOT 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: cygwin AT cygwin DOT 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 AT cygwin DOT com Subject: Re: Cygwin command line takes a long time to start References: <20100722171413 DOT GA943 AT ns DOT sdsitehosting DOT net> <4C48803D DOT 906 AT cygwin DOT com> <20100722184328 DOT GA3431 AT ns DOT sdsitehosting DOT 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 AT cygwin DOT com; run by ezmlm List-Id: 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 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