Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 Message-ID: <010201c2c505$e6e52340$0b01a8c0@w2k30g> From: "David Christensen" To: Subject: Fw: Cygwin 1.3.19 Windows 2000 Professional SP3 bash $home /usr/bin/%USERPROFILE% Date: Sat, 25 Jan 2003 22:40:19 -0800 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 cygwin AT cygwin DOT com: Some more clues: 1. Cygwin Bash reports the present working directory as: dpchrist AT w2k30g ~ $ pwd /usr/bin/%USERPROFILE% 2. Yet Windows Explorer does not show any folder named "bin", much less "bin\%USERPROFILE%" under "C:\cygwin\usr". 3. Neither does Bash: dpchrist AT w2k30g ~ $ ls /usr doc etc include info local man sbin share src ssl tmp var 4. There is a folder named "%USERPROFILE%" under "C:\cygwin\bin", and it contains the file ".bash_history". 5. I can cd into /bin and into /usr/bin, and end up in the same place. I think Cygwin is cheating -- e.g. there is a hidden link from /usr/bin to /bin (?). Regarding Bash not starting up in my home directory, a quick and dirty work-around is to create a file ".bash_profile" under "C:\cygwin\bin\%USERPROFILE%" with contents as follows: export HOME=/home/$USER cd $HOME . .bash_profile Lighting off the desktop shortcut now takes me to my home directory. I would still prefer that Cygwin Bash work correctly from a clean install. HTH, David Christensen dpchrist AT holgerdanske DOT com -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/