Re: Cygwin command line takes a long time to start

2010-08-24 Thread Andrey Repin
Greetings, Eric Blake! >>> Disabling bash_completion completely gives me a prompt in less than 1 >>> second, but I do quite like bash_completion so I'll live with that. I was hit by the same bus... prompt was coming up painfully slow. Granted, I don't really use the cygwin prompt daily and could

Re: Cygwin command line takes a long time to start

2010-07-27 Thread Eric Blake
On 07/27/2010 11:42 AM, Andy Koppe wrote: > On 26 July 2010 00:26, David Antliff wrote: >> Thanks everyone - using these tips I was able to determine that >> bash_completion was actually running twice - once by >> /etc/profile.d/bash_completion.sh, and again by my own .bash_profile, >> which was mo

Re: Cygwin command line takes a long time to start

2010-07-27 Thread Andy Koppe
On 26 July 2010 00:26, David Antliff wrote: > Thanks everyone - using these tips I was able to determine that > bash_completion was actually running twice - once by > /etc/profile.d/bash_completion.sh, and again by my own .bash_profile, > which was modifying the path prior to invoking it so that ap

Re: Cygwin command line takes a long time to start

2010-07-25 Thread David Antliff
On Mon, Jul 26, 2010 at 08:12, Csaba Raduly wrote: > On Fri, Jul 23, 2010 at 3:53 AM, David Antliff  wrote: >> How would one go about debugging the bash or mintty startup before >> .bash_profile is read? > > Duplicate your shortcut which launches bash and add -x to the bash > options (which should

Re: Cygwin command line takes a long time to start

2010-07-25 Thread Csaba Raduly
On Fri, Jul 23, 2010 at 3:53 AM, David Antliff wrote: > How would one go about debugging the bash or mintty startup before > .bash_profile is read? Duplicate your shortcut which launches bash and add -x to the bash options (which should include -l a.k.a. --login) e.g. C:\cygwin17\bin\mintty.exe -

RE: Cygwin command line takes a long time to start

2010-07-23 Thread Nellis, Kenneth
> From: Andy Koppe > On 23 July 2010 02:53, David Antliff wrote: > >> 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. > > > > Ah, that's useful - I also have a 10-second-or-so delay when mintty > > starts.

Re: Cygwin command line takes a long time to start

2010-07-22 Thread Andy Koppe
On 23 July 2010 02:53, David Antliff wrote: >> 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. > > Ah, that's useful - I also have a 10-second-or-so delay when mintty > starts. By using a bunch of 'echo' comma

Re: Cygwin command line takes a long time to start

2010-07-22 Thread Larry Hall (Cygwin)
On 7/22/2010 9:53 PM, David Antliff wrote: On Fri, Jul 23, 2010 at 07:49, Larry Hall (Cygwin) wrote: 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. Ah, that's useful - I also have a 10-second-or-so delay wh

Re: Cygwin command line takes a long time to start

2010-07-22 Thread David Antliff
On Fri, Jul 23, 2010 at 07:49, Larry Hall (Cygwin) wrote: > 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. Ah, that's useful - I also have a 10-second-or-so delay when mintty starts. By using a bunch of 'echo

Re: Cygwin command line takes a long time to start

2010-07-22 Thread Larry Hall (Cygwin)
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

Re: Cygwin command line takes a long time to start

2010-07-22 Thread John Oliver
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 de

Re: Cygwin command line takes a long time to start

2010-07-22 Thread Larry Hall (Cygwin)
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-complet

Cygwin command line takes a long time to start

2010-07-22 Thread John Oliver
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? -- *** * John Oliver