Re: 1.7.7: PATH in Bash shells

2011-02-07 Thread Gerry Reno
On 02/07/2011 12:37 PM, marco atzeri wrote: > On Mon, Feb 7, 2011 at 6:27 PM, Gerry Reno wrote: > >> On 02/07/2011 12:19 PM, marco atzeri wrote: >> >>> those scripts are called inside /etc/profile and the execute >>> permission is not needed >>> >>> >>> >> Thanks Marco. I had figur

Re: 1.7.7: PATH in Bash shells

2011-02-07 Thread marco atzeri
On Mon, Feb 7, 2011 at 6:27 PM, Gerry Reno wrote: > On 02/07/2011 12:19 PM, marco atzeri wrote: >> >> those scripts are called inside /etc/profile and the execute >> permission is not needed >> >> > > Thanks Marco.  I had figured that out eventually as well.  They are just > 'sourced'. > > The iss

Re: 1.7.7: PATH in Bash shells

2011-02-07 Thread Gerry Reno
On 02/07/2011 12:19 PM, marco atzeri wrote: > > those scripts are called inside /etc/profile and the execute > permission is not needed > > Thanks Marco. I had figured that out eventually as well. They are just 'sourced'. The issue seems to come from the fact that my installation is getting

Re: 1.7.7: PATH in Bash shells

2011-02-07 Thread marco atzeri
On Mon, Feb 7, 2011 at 4:55 PM, Gerry Reno wrote: > On 02/07/2011 10:20 AM, Gerry Reno wrote: >> On 02/07/2011 01:39 AM, Dirk Sondermann wrote: >>> On 02/06/11 21:43, Gerry Reno wrote: >>>     bash-4.1$ cat /Cygwin.bat     @echo off     C:     chdir C:\cygwin\bin

Re: 1.7.7: PATH in Bash shells

2011-02-07 Thread Gerry Reno
On 02/07/2011 10:55 AM, Gerry Reno wrote: > > The only error I noticed so far is this: > > bash: /etc/profile.d/lang.sh: Bad address > bash: /etc/profile.d/lapack0.sh: Bad address > > > I did some searching and the only thread I can find dealing with this "Bad address" situation is this

Re: 1.7.7: PATH in Bash shells

2011-02-07 Thread Gerry Reno
On 02/07/2011 10:20 AM, Gerry Reno wrote: > On 02/07/2011 01:39 AM, Dirk Sondermann wrote: >> On 02/06/11 21:43, Gerry Reno wrote: >> >>> bash-4.1$ cat /Cygwin.bat >>> @echo off >>> >>> C: >>> chdir C:\cygwin\bin >>> >>> REM bash --verbose --login -i >>> bash -i >>>

Re: 1.7.7: PATH in Bash shells

2011-02-07 Thread Gerry Reno
On 02/07/2011 01:39 AM, Dirk Sondermann wrote: > On 02/06/11 21:43, Gerry Reno wrote: > >> bash-4.1$ cat /Cygwin.bat >> @echo off >> >> C: >> chdir C:\cygwin\bin >> >> REM bash --verbose --login -i >> bash -i >> > Your Cygwin.bat doesn't start bash as a login shell.

Re: 1.7.7: PATH in Bash shells

2011-02-06 Thread Dirk Sondermann
On 02/06/11 21:43, Gerry Reno wrote: > bash-4.1$ cat /Cygwin.bat > @echo off > > C: > chdir C:\cygwin\bin > > REM bash --verbose --login -i > bash -i Your Cygwin.bat doesn't start bash as a login shell. -Dirk -- Problem reports: http://cygwin.com/problems.html FAQ

Re: 1.7.7: PATH in Bash shells

2011-02-06 Thread Gerry Reno
On 02/06/2011 07:55 PM, Gerry Reno wrote: > On 02/06/2011 07:36 PM, Gerry Reno wrote: > >> On 02/06/2011 07:33 PM, Gerry Reno wrote: >> >> >>> On 02/06/2011 06:23 PM, David Sastre wrote: >>> >>> >>> On Sun, Feb 06, 2011 at 03:43:42PM -0500, Gerry Reno wrote: >

Re: 1.7.7: PATH in Bash shells

2011-02-06 Thread Gerry Reno
On 02/06/2011 07:36 PM, Gerry Reno wrote: > On 02/06/2011 07:33 PM, Gerry Reno wrote: > >> On 02/06/2011 06:23 PM, David Sastre wrote: >> >> >>> On Sun, Feb 06, 2011 at 03:43:42PM -0500, Gerry Reno wrote: >>> >>> >>> On 02/06/2011 02:16 PM, David Sastre wrote:

Re: 1.7.7: PATH in Bash shells

2011-02-06 Thread Gerry Reno
On 02/06/2011 07:33 PM, Gerry Reno wrote: > On 02/06/2011 06:23 PM, David Sastre wrote: > >> On Sun, Feb 06, 2011 at 03:43:42PM -0500, Gerry Reno wrote: >> >> >>> On 02/06/2011 02:16 PM, David Sastre wrote: >>> >>> On Sun, Feb 06, 2011 at 01:33:37PM -0500, Gerry Reno wro

Re: 1.7.7: PATH in Bash shells

2011-02-06 Thread Csaba Raduly
Hi Gerry On Sun, Feb 6, 2011 at 9:43 PM, Gerry Reno wrote: > David, thanks for the response.   I put my responses inline... > > On 02/06/2011 02:16 PM, David Sastre wrote: >> On Sun, Feb 06, 2011 at 01:33:37PM -0500, Gerry Reno wrote: >> >>> What is the proper method to set the PATH variable on a

Re: 1.7.7: PATH in Bash shells

2011-02-06 Thread David Sastre
On Sun, Feb 06, 2011 at 03:43:42PM -0500, Gerry Reno wrote: > On 02/06/2011 02:16 PM, David Sastre wrote: > > On Sun, Feb 06, 2011 at 01:33:37PM -0500, Gerry Reno wrote: > > > >> What is the proper method to set the PATH variable on a system-wide > >> basis in Cygwin? > >> > > First off, I'

Re: 1.7.7: PATH in Bash shells

2011-02-06 Thread Gerry Reno
David, thanks for the response. I put my responses inline... On 02/06/2011 02:16 PM, David Sastre wrote: > On Sun, Feb 06, 2011 at 01:33:37PM -0500, Gerry Reno wrote: > >> What is the proper method to set the PATH variable on a system-wide >> basis in Cygwin? >> >> Right now in the Cygwin B

Re: 1.7.7: PATH in Bash shells

2011-02-06 Thread David Sastre
On Sun, Feb 06, 2011 at 01:33:37PM -0500, Gerry Reno wrote: > What is the proper method to set the PATH variable on a system-wide > basis in Cygwin? > > Right now in the Cygwin Bash shell the PATH is set to: > > bash-4.1$ echo $PATH > > /cygdrive/c/WINDOWS/system32:/cygdrive/c/WINDOWS:/c