This is the mail archive of the cygwin@cygwin.com 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]

bash path problem


Hello,
the correct order according to the PATH variable seems not to be
followed when running programs from bash prompt. The underlying
windows environment path setting seems to take precedence.
With tcsh 6.10.00 (Astron) this problem does not occur.
For instance after trying to execute "tar" program (without the path)
/cygdrive/c/utils/tar is executed intead of /bin/tar !?

Thanks
Pavel Kudrna

$ echo $BASH_VERSION
2.05.0(6)-release

$ cygcheck -s

Cygnus Win95/NT Configuration Diagnostics
Current System Time: Thu Jun 14 13:30:36 2001

WinNT Ver 4.0 build 1381 Service Pack 6

Path:   /usr/local/bin
        /usr/bin
        /bin
        /cygdrive/c/WINNT/system32
        /cygdrive/c/WINNT
        /cygdrive/c/utils
        /cygdrive/g/progra~1/DDK/bin
        /usr/bin
        /cygdrive/g/Program Files/VISA/winnt/bin
        /cygdrive/g/Program Files/VISA/winnt/agvisa
        /cygdrive/c/WINNT/system32/nls
        /cygdrive/c/WINNT/system32/nls/English
        /cygdrive/g/Program Files/TeX/MiKTeX/miktex/bin
        /cygdrive/s/software/bc31/bin
        Y
        .
        Z
        .
        .

SysDir: C:\WINNT\System32
WinDir: C:\WINNT

PWD = `/home/kudrna'
CYGWIN = `binmode tty ntsec'
USER = `kudrna'
MAKE_MODE = `unix'
HOME = `/home/kudrna'

Use `-r' to scan registry

a:  fd           N/A    N/A
c:  hd  FAT     2047Mb  92% CP    UN
d:  fd           N/A    N/A
e:  fd  NTFS    1910Mb  35% CP CS UN PA FC
f:  net NWFS    8555Mb  97% CP                 SYS
g:  hd  NTFS    4573Mb  87% CP CS UN PA FC
cygcheck: dump_sysinfo: GetVolumeInformation() failed: 53
h:  net          N/A    N/A
cygcheck: dump_sysinfo: GetVolumeInformation() failed: 53
i:  net          N/A    N/A
r:  cd           N/A    N/A
s:  net NWFS    8555Mb  97% CP                 SYS
u:  net NWFS    8555Mb  97% CP                 SYS
cygcheck: dump_sysinfo: GetVolumeInformation() failed: 53
x:  net          N/A    N/A
y:  net NWFS    8555Mb  97% CP                 SYS
z:  net NWFS    8555Mb  97% CP                 SYS

g:\progra~1\cygwin\bin  /usr/bin  system  binmode
g:\progra~1\cygwin\lib  /usr/lib  system  binmode
g:\progra~1\cygwin  /        system  binmode
c:    /cygdrive/c  user    binmode,noumount
f:    /cygdrive/f  user    binmode,noumount
g:    /cygdrive/g  user    binmode,noumount
s:    /cygdrive/s  user    binmode,noumount
u:    /cygdrive/u  user    binmode,noumount
y:    /cygdrive/y  user    binmode,noumount
z:    /cygdrive/z  user    binmode,noumount

Found: g:\progra~1\cygwin\bin\bash.exe
Found: g:\progra~1\cygwin\bin\cat.exe
Found: g:\progra~1\cygwin\bin\cpp.exe
Found: s:\software\bc31\bin\cpp.exe
Found: g:\progra~1\cygwin\bin\find.exe
Found: g:\progra~1\cygwin\bin\gcc.exe
Found: g:\progra~1\cygwin\bin\gdb.exe
Found: g:\progra~1\cygwin\bin\ld.exe
Found: g:\progra~1\cygwin\bin\ls.exe
Found: g:\progra~1\cygwin\bin\make.exe
Found: s:\software\bc31\bin\make.exe
Found: g:\progra~1\cygwin\bin\sh.exe

   56k 2000/12/03 g:\progra~1\cygwin\bin\cygbz21.0.dll
   45k 2001/04/25 g:\progra~1\cygwin\bin\cygform5.dll
   18k 2000/10/23 g:\progra~1\cygwin\bin\cyggdbm.dll
   17k 2001/01/07 g:\progra~1\cygwin\bin\cyghistory4.dll
   14k 2000/10/23 g:\progra~1\cygwin\bin\cygintl.dll
   81k 2000/12/05 g:\progra~1\cygwin\bin\cygitcl30.dll
   35k 2000/12/05 g:\progra~1\cygwin\bin\cygitk30.dll
   45k 2000/10/22 g:\progra~1\cygwin\bin\cygjbig1.dll
  119k 2001/06/06 g:\progra~1\cygwin\bin\cygjpeg6b.dll
   26k 2001/04/25 g:\progra~1\cygwin\bin\cygmenu5.dll
  156k 2001/04/25 g:\progra~1\cygwin\bin\cygncurses++5.dll
  226k 2001/04/25 g:\progra~1\cygwin\bin\cygncurses5.dll
   15k 2001/04/25 g:\progra~1\cygwin\bin\cygpanel5.dll
  163k 2001/05/06 g:\progra~1\cygwin\bin\cygpng2.dll
  108k 2001/01/07 g:\progra~1\cygwin\bin\cygreadline4.dll
  390k 2000/12/05 g:\progra~1\cygwin\bin\cygtcl80.dll
    5k 2000/12/05 g:\progra~1\cygwin\bin\cygtclpip80.dll
   10k 2000/12/05 g:\progra~1\cygwin\bin\cygtclreg80.dll
  245k 2001/06/12 g:\progra~1\cygwin\bin\cygtiff3.dll
  623k 2000/12/05 g:\progra~1\cygwin\bin\cygtk80.dll
   41k 2001/05/28 g:\progra~1\cygwin\bin\cygXpm-noX4.dll
   49k 2001/02/03 g:\progra~1\cygwin\bin\cygz.dll
  678k 2001/05/21 g:\progra~1\cygwin\bin\cygwin1.dll
    Cygwin DLL version info:
        dll major: 1003
        dll minor: 2
        dll epoch: 19
        dll bad signal mask: 19005
        dll old termios: 5
        dll malloc env: 28
        api major: 0
        api minor: 39
        shared data: 3
        dll identifier: cygwin1
        mount registry: 2
        cygnus registry name: Cygnus Solutions
        cygwin registry name: Cygwin
        program options name: Program Options
        cygwin mount registry name: mounts v2
        cygdrive flags: cygdrive flags
        cygdrive prefix: cygdrive prefix
        cygdrive default prefix:
        build date: Sun May 20 23:28:17 EDT 2001
        shared id: cygwin1S3
Use -h to see help about each section
begin:vcard 
n:Kudrna;Pavel
tel;fax:++420 2 688 5095
tel;work:++420 2 2191 2732
x-mozilla-html:FALSE
org:<b>Faculty of Mathematics and Physics</b>;Department of Electronics and Vacuum Physics
adr:;;V Holesovickach 2;Praha;Czech Republic;180 00;Czech Republic
version:2.1
email;internet:Pavel.Kudrna@mff.cuni.cz
title:Mgr. Pavel Kudrna, Dr.
x-mozilla-cpt:;-17904
fn:Pavel Kudrna
end:vcard

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

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