This is the mail archive of the mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: newbie strikes again

>Why did you mess with the .bashrc in the first place?  Cygwin will set
>everything for you (except some minor things).  Rename it to .bashrc.bak
>and re-run cygwin.  If everything works, don't use a .bashrc!  You may
>want to keep the aliases however.

I started modifying .bashrc because of the problem I'm having.  I tried this,
but the problem stays and some commands are not found.
>I don't know too much, either, but your path:
>> PATH=/bin:/usr/local/bin:/etc:/home:.:/mnt/windows:/mnt/system32
>should DEFINITELY include $PATH at the beginning.  Cygwin initializes the
>path for you, so if you want to add stuff, you can, but by not putting in
>$PATH, you are replacing the path that cygwin sets.

Cool, thanks for the advice.  I may have misread the README and put %PATH% instead
(probably the case).

  You should also
>check what mnt is.  If /mnt=/, then /mnt/windows is C:\WINDOWS.  If
>/mnt=/windows, then /mnt/system32 is C:\WINDOWS\SYSTEM32.  Since it's not
>both / and /windows, there's something wrong there too.
>This should include something in the cygwin directory
>> LIBRARY_PATH=/lib:/usr/local/lib
>I don't know about these
>> C_INCLUDE_PATH=/usr/local/include:/mnt/d/cygnus/cygwin32-b20/include
>> CPLUS_INCLUDE_PATH=/usr/local/include:/mnt/d/cygnus/cygwin-b20/include
>> CPPFLAGS=/usr/local/include:/mnt/d/cygnus/cygwin-b20/include

These are long shots suggested by various archive responses.

>What's =auto?
>> alias ls='ls --color=auto'

without this, when I use 'less' with 'ls' then it causes unreadable output.

>No need to redeclare the colorization.
>> alias ll='ls --color=auto -l'
>> alias la='ls --color=auto -a'

correct! thank you again.

Of course the problem still exists!  (dammit jim)

>Get the Internet just the way you want it.
>Free software, free e-mail, and free Internet access for a month!
>Try Juno Web:

Daniel de Young
Network Technician
Contractor at Hewlett Packard

Want to unsubscribe from this list?
Send a message to

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]