delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/10/01/13:32:17

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-4.3 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,KHOP_RCVD_TRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <5069D273.6060507@cornell.edu>
References: <5068AEF2 DOT 6040006 AT rosi-kessel DOT org> <k4c63l$t93$1 AT ger DOT gmane DOT org> <CAJCATqy_2TG8S=yWJ6uZUMvwKDSgZzsKRw+jfStN8KbVT1Dxgw AT mail DOT gmail DOT com> <5069BE59 DOT 5030303 AT malth DOT us> <CAJCATqw0nRKs_aC+xsM0uPH4-gnFmSAyfranvGRiMtwcb-5vAA AT mail DOT gmail DOT com> <5069C743 DOT 5090908 AT cornell DOT edu> <CAJCATqx6Diwpid6TCkkrDaC5QErRdh7jAQ_KJ5Q7ajNzB-ddDw AT mail DOT gmail DOT com> <5069D273 DOT 6060507 AT cornell DOT edu>
Date: Mon, 1 Oct 2012 13:32:00 -0400
Message-ID: <CAJCATqyeGRFCde0sgj4QRZ9LH2JW4kb4meGgcLgvFmf-AEhOUg@mail.gmail.com>
Subject: Re: bash very slow in cygwin 1.7.16-1 Win7/64 bit
From: Adam Kessel <ajkessel AT gmail DOT com>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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 Mon, Oct 1, 2012 at 1:27 PM, Ken Brown <kbrown AT cornell DOT edu> 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

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