Mail Archives: cygwin/2009/08/16/11:45:00
Or maybe the problem is the profile. Here's the deal. My prompt
defaults to c:/cygwin and I want
it to default to my home directory (with the path as the prompt). I
thought I needed to change
/etc/passwd, but that doesn't exist. After a bit of searching, I found
the profile in /etc/defaults/etc,
but I don't know how to edit it properly to make the above happen.
I know these are basic questions, but it took me over a week to figure
out the last solution - I just
want cygwin to work properly. On XP, I just picked the modules I
wanted, installed cygwin, and
everything worked perfectly. Installing on Vista has been a nightmare,
with very little by way of
resources to provide help.
-Debra
DY wrote:
> I figured out my old problem, but now I have no /etc/passwd. How do I
> create one?
> I'd use vi, but I don't know what one should look like. Is there an
> example somewhere?
>
> In case anyone else ever needs this, if you install cygwin, then get
> command not found
> for everything, you need to:
> click on "Computer" -> Properties -> Advanced System settings (on the
> side bar)-> Environment Variables.
> Under user variables, add a new environment variable, called
> CYGWIN_HOME and set its value to C:\cygwin
> Under system variables, edit the PATH environment variable and add
> C:\cygwin\bin.
> Click okay, and restart cygwin. (Thanks to Sudipta Chatterjee)
> (In case anyone else searches the archives for a solution to this
> problem).
> -Debra
>
>
> Christopher Faylor wrote:
>> On Fri, Aug 14, 2009 at 01:04:05PM -0400, DY wrote:
>>
>>> All except gcc-mingw-core-3.4.4-20050522-1.tgz and
>>> gcc-mingw-g++-3.4.4-20050522-1.tgz
>>> say done. I'm assuming they were unzipped and run, though, because I
>>> have agcc-mingw-core.sh.done
>>> and a gcc.mingw-g++.sh.done so I'm assuming that's the run,done
>>> version of the zipped files.
>>> Besides, I can't do ANYTHING. Everything says "command not found".
>>>
>>
>> So either set your PATH by hand or specify the full path to the
>> executable
>> while you are debugging the problem.
>>
>> cgf
>>
>> --
>> 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
>>
>>
>>
>
> --
> 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
>
>
--
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 -