www.delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
Message-Id: | <4.3.1.2.20020112012325.03249e68@pop.hotPOP.com> |
X-Sender: | rashie AT pop DOT hotPOP DOT com |
X-Mailer: | QUALCOMM Windows Eudora Version 4.3.1 |
Date: | Sat, 12 Jan 2002 01:30:11 -0500 |
To: | <cygwin AT cygwin DOT com> |
From: | rashie athukorala <rashie AT hotPOP DOT com> |
Subject: | Re: start up directory |
In-Reply-To: | <154632858322.20020112004420@familiehaase.de> |
References: | <PKEEKEEIHKANEHFMEKENGEADCNAA DOT relaxedrob AT optushome DOT com DOT au> |
<PKEEKEEIHKANEHFMEKENGEADCNAA DOT relaxedrob AT optushome DOT com DOT au> | |
Mime-Version: | 1.0 |
X-HotPOP: | ----------------------------------------------- |
Sent By HotPOP.com FREE Email | |
Get your FREE POP email at www.HotPOP.com | |
----------------------------------------------- |
Hi Rob -- I had a similar problem. It turns out some windows program had defined $HOME, and this supersedes cygwin's $HOME. On win2k I removed it from: my computer -> properties -> advanced -> environment variables -> user defined variables --ra At 06:44 PM 1/11/2002, you wrote: >Rob, > >Am 2002-01-12 um 00:18 schriebst du: > > >> How do I change my start up directory? > > > I got the following response: > > >> edit your entry in /etc/passwd. It lists your home directory. > >1. no need to edit the /etc/passwd file, create one with `mkpasswd'. > >2. it depends how you start the bash shell (at least for me), if I run > x:\cygwin\bin\rxvt.exe --options -e bash ... directly >from a shortcut the shell opens in the directory where the shortcut >is stored (desktop for me), if I run the same command from a batch file >which is stored at the Cygwin root it works correct and the bash opens in >my home dir as it is defined it in /etc/passwd. > > > > However, I don't understand how my system is working at the moment. This is > > what I see at startup when do a "pwd": > > > Robert Mark Bram AT ROB ~ > >You should also avoid spaces in your user/pathname! > > > $ pwd > > /cygdrive/c/PROGRA~1/RATIONAL/RATION~1/NUTCROOT > > > Robert Mark Bram AT ROB ~ > > $ > > > And this is the contents of my /etc/passwd: > > Robert Mark Bram::500:544::/home/Robert Mark Bram:/bin/bash > >Don't use spaces in your username. > > > It is such a strange start up directory - a folder for Rational Rose. > When I > > check my environment variables I find these two: > > > NUTCROOT=C:\PROGRA~1\RATIONAL\RATION~1\NUTCROOT > > > TERM=nutc > > > Does anyone know how I should fix this without changing my environment > > variables? > >More information probably in the FAQ and the docu, links at the bottom. > >Gerrit >-- >=^..^= mailto:gp AT familiehaase DOT de > > >-- >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/ -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |