X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-3.6 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,RP_MATCHES_RCVD,SPF_NEUTRAL,TW_YG X-Spam-Check-By: sourceware.org Message-ID: <5069D7CA.6070902@cornell.edu> Date: Mon, 01 Oct 2012 13:50:02 -0400 From: Ken Brown User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:14.0) Gecko/20120713 Thunderbird/14.0 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: bash very slow in cygwin 1.7.16-1 Win7/64 bit References: <5068AEF2 DOT 6040006 AT rosi-kessel DOT org> <5069BE59 DOT 5030303 AT malth DOT us> <5069C743 DOT 5090908 AT cornell DOT edu> <5069D273 DOT 6060507 AT cornell DOT edu> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-PMX-CORNELL-SPAM-CHECKED: Pawpaw X-Original-Sender: kbrown AT cornell DOT edu - Mon Oct 1 13:49:59 2012 X-PMX-CORNELL-REASON: CU_White_List_Override X-IsSubscribed: yes 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 10/1/2012 1:32 PM, Adam Kessel wrote: > On Mon, Oct 1, 2012 at 1:27 PM, Ken Brown wrote: >> In a standard Cygwin install, the script >> /etc/postinstall/000-cygwin-post-install.sh runs 'mkpasswd -l -c > >> /etc/passwd', which sets the home directory for each user. Normally this is >> /home/username, but you can check it by looking at /etc/passwd. Then the >> first time you start a shell, /etc/profile creates the home directory (as >> specified in /etc/passwd) if it doesn't exist. This assumes that HOME is >> not set in the Windows environment. Are you seeing something different? > > Yes. I just installed from scratch -- download setup.exe and specify a > new directory for install; then installed only bash and its > prerequisites. When I run the default cygwin.bat in the new directory, > I get: > > bash-4.1$ pwd > /usr/bin > bash-4.1$ echo $HOME > /home/avk > bash-4.1$ cd > bash: cd: /home/avk: No such file or directory So it appears that /etc/profile is not being run, since it would give you the message "/home/avk could not be created" if it tried and failed to create /home/avk. Also, it would set PS1, giving you a different prompt than the one above. I don't know what might cause /etc/profile to fail to run. BTW, cygwin.bat is no longer the recommended way to start a Cygwin shell. If you ask setup.exe to create a shortcut, it will create one that starts mintty. But I doubt if this is related to your problem. Two people in this thread have suggested that you check for BLODA, but you haven't responded to that. Also, you haven't yet attached cygcheck output as requested at http://cygwin.com/problems.html Ken Ken -- 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