* load user preferences ?
@ 2002-04-15 9:33 Marc Chantreux
0 siblings, 0 replies; 4+ messages in thread
From: Marc Chantreux @ 2002-04-15 9:33 UTC (permalink / raw)
To: cygwin
Hi all,
I've just came back to windows and reinstalled cygwin.
when i open a new cygwin term, my user preference is not loaded.
I guess it is because of my home directory location :
mc@MILLENIUM:~# pwd
/cygdrive/c/Documents and Settings/mc/_unix
mc@MILLENIUM:~# ls -A
.Xdefaults .bashrc .gimp-1.2 .lftp Mail _viminfo
.bash_history .cpan .irssi .ssh Xdefaults
but i was worked fine on an older install. Any idea to fix that ?
--
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/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: load user preferences ?
2002-04-15 10:59 ` Larry Hall (RFK Partners, Inc)
@ 2002-04-15 11:20 ` Marc Chantreux
0 siblings, 0 replies; 4+ messages in thread
From: Marc Chantreux @ 2002-04-15 11:20 UTC (permalink / raw)
To: cygwin
>
>
>>the only problem noticed is that the $HOME is not set ... if you see my lines, you
>>you can see that it's done.
>>
>
>
>I can see what's done? That HOME is set? You mean to
>"/cygdrive/c/Documents and Settings/mc/_unix"? I believe you're asking for
>a leap of faith on my part that isn't warranted based on the data you've
>provided.
>
yes ... sorry ... i've forgot to say that i've done a 'cd' before.
>To be honest, I'm still not real sure what your specific problem is.
>I'm guessing that you want to know why .bashrc isn't sourced. Am I right?
>
yes
>
>That depends on how you invoke the shell.
>
you're right : i've found the answer in the bash man : i've just moved
my .bashrc to .profile and it works
fine now !
> Adding it to one of the script
>files that get automatically sourced with "bash -l" (which is what is invoked
>by cygwin.bat) will solve that problem. There's discussions in the email
>archives about this. In particular, there were discussions about the fact
>that /etc/profile doesn't source this file by default anymore and what the
>alternatives are. You may want to review that discussion or even just look
>at the bash man page and/or user guide to see what files are sourced when and
>why. There are good recommendations in those documents that will resolve
>your issue for you.
>
i've found the disscusions in the archive (using better keywords)
>>BTW , i've seen that the /etc/passwd uses /home/$USER as $HOME. I've just tried :
>>
>>%HOME% = c:\_home\%USERNAME%
>>and
>>mount "c:\_home" /home
>>
>>failed too :(
>>
>Sorry. I don't follow your logic here. I can't see how noticing that
>/etc/passwd uses /home/$USERNAME would suggest that you need to set your
>HOME variable to c:\_home\<anything>.
>
/_home to have no more space in the PATH. mount c:\_home /home to make
this corresponding to
/etc/passwd
> You're free to do so but why you
>would want to or need to is beyond me. Ditto the mount.
>
just a try ...
thanks a lot, hacker.
Marc
--
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/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: load user preferences ?
2002-04-15 10:08 ` Marc Chantreux
@ 2002-04-15 10:59 ` Larry Hall (RFK Partners, Inc)
2002-04-15 11:20 ` Marc Chantreux
0 siblings, 1 reply; 4+ messages in thread
From: Larry Hall (RFK Partners, Inc) @ 2002-04-15 10:59 UTC (permalink / raw)
To: Marc Chantreux, cygwin
At 01:02 PM 4/15/2002, Marc Chantreux wrote:
>>>mc@MILLENIUM:~# pwd
>>>/cygdrive/c/Documents and Settings/mc/_unix
>>>mc@MILLENIUM:~# ls -A
>>>.Xdefaults .bashrc .gimp-1.2 .lftp Mail _viminfo
>>>.bash_history .cpan .irssi .ssh Xdefaults
>>>
>>>but i was worked fine on an older install. Any idea to fix that ?
>>
>>
>>Yes.
>thanks
>
>>You want to look at the email archives,
>done ...
>
>>user guide,
>done ...
>
>>and FAQ
>done ...
>
>the only problem noticed is that the $HOME is not set ... if you see my lines, you
>you can see that it's done.
I can see what's done? That HOME is set? You mean to
"/cygdrive/c/Documents and Settings/mc/_unix"? I believe you're asking for
a leap of faith on my part that isn't warranted based on the data you've
provided.
>> If you still have trouble for some reason, you'll
>>need to provide the list with the specifics of what you've done and the
>>process you follow that makes your problem occur.
>hmm ... sorry for being ambigous :
>
>- i've installed cygwin with the setup.exe. the $HOME was still set with %USERPROFILE%/_unix.
>- it does not work.
>- i've tried to mount this $HOME on /home/$USERNAME without succes.
To be honest, I'm still not real sure what your specific problem is.
I'm guessing that you want to know why .bashrc isn't sourced. Am I right?
That depends on how you invoke the shell. Adding it to one of the script
files that get automatically sourced with "bash -l" (which is what is invoked
by cygwin.bat) will solve that problem. There's discussions in the email
archives about this. In particular, there were discussions about the fact
that /etc/profile doesn't source this file by default anymore and what the
alternatives are. You may want to review that discussion or even just look
at the bash man page and/or user guide to see what files are sourced when and
why. There are good recommendations in those documents that will resolve
your issue for you.
>BTW , i've seen that the /etc/passwd uses /home/$USER as $HOME. I've just tried :
This is discussed in the email archives.
>%HOME% = c:\_home\%USERNAME%
>and
>mount "c:\_home" /home
>
>failed too :(
Sorry. I don't follow your logic here. I can't see how noticing that
/etc/passwd uses /home/$USERNAME would suggest that you need to set your
HOME variable to c:\_home\<anything>. You're free to do so but why you
would want to or need to is beyond me. Ditto the mount.
Larry Hall lhall@rfk.com
RFK Partners, Inc. http://www.rfk.com
838 Washington Street (508) 893-9779 - RFK Office
Holliston, MA 01746 (508) 893-9889 - FAX
--
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/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: load user preferences ?
[not found] <4.3.1.2.20020415115921.0578b480@pop.ma.ultranet.com>
@ 2002-04-15 10:08 ` Marc Chantreux
2002-04-15 10:59 ` Larry Hall (RFK Partners, Inc)
0 siblings, 1 reply; 4+ messages in thread
From: Marc Chantreux @ 2002-04-15 10:08 UTC (permalink / raw)
To: cygwin
>
>
>>mc@MILLENIUM:~# pwd
>>/cygdrive/c/Documents and Settings/mc/_unix
>>mc@MILLENIUM:~# ls -A
>>.Xdefaults .bashrc .gimp-1.2 .lftp Mail _viminfo
>>.bash_history .cpan .irssi .ssh Xdefaults
>>
>>but i was worked fine on an older install. Any idea to fix that ?
>>
>
>
>Yes.
>
thanks
>You want to look at the email archives,
>
done ...
>user guide,
>
done ...
>and FAQ
>
done ...
the only problem noticed is that the $HOME is not set ... if you see my
lines, you
you can see that it's done.
> If you still have trouble for some reason, you'll
>need to provide the list with the specifics of what you've done and the
>process you follow that makes your problem occur.
>
hmm ... sorry for being ambigous :
- i've installed cygwin with the setup.exe. the $HOME was still set with
%USERPROFILE%/_unix.
- it does not work.
- i've tried to mount this $HOME on /home/$USERNAME without succes.
BTW , i've seen that the /etc/passwd uses /home/$USER as $HOME. I've
just tried :
%HOME% = c:\_home\%USERNAME%
and
mount "c:\_home" /home
failed too :(
>This will give someone
>the possibility of providing you with good additional suggestions.
>
right ... sorry again !
Marc
--
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/
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2002-04-15 18:20 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-04-15 9:33 load user preferences ? Marc Chantreux
[not found] <4.3.1.2.20020415115921.0578b480@pop.ma.ultranet.com>
2002-04-15 10:08 ` Marc Chantreux
2002-04-15 10:59 ` Larry Hall (RFK Partners, Inc)
2002-04-15 11:20 ` Marc Chantreux
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).