|
From: geffrey Z. <gef...@ya...> - 2006-05-08 10:13:09
|
--- Keith MARSHALL <kei...@to...> > Geffrey Zhang wrote, quoting me: > >> What version of msys are you using? If it's > 1.0.10, (which > >> is still the current stable release), where have > you obtained > >> bash-2.05? > > > > the bash 2.05b is obtained from mingw : > > > http://prdownloads.sourceforge.net/mingw/bash-2.05b-MSYS.tar.bz2?download > > Ok, I'd expect that to work then, although I haven't > actually > found a need to try it. If it ain't broke, don't > fix it; why > replace something which works, unless you absolutely > need some > feature provided by bash-2.05, which isn't in 2.04? I just only try it. > >> Presumably you do actually have a `d:' drive? > > > > No, I only use bash-2.05 replaced with bash-2.04, > I don't change > > anything more ! > > Well, you originally said: > >>> I found bash-2.05 can't use > >>> cd d: > >>> sh: cd: d:: No such file or directory > > If you don't have a `d:' drive, why on earth would > you expect > anything else? There really is `no such file or > directory' as > `d:'; bash is only telling you that you can't `cd' > to a > directory which doesn't exist, which is quite > correct. > > > you can test it [the bash-2.05b download]. > > I just did; it works perfectly for me. > > $ mkdir ~/bash-2.05 > $ cd ~/bash-2.05 > $ tar xjf /d/local/tmp/bash-2.05b-MSYS.tar.bz2 > $ cp bin/bash.exe /bin/bash205.exe > $ exec bash205 > $ set | grep BASH_VERSION > BASH_VERSION='2.05b.0(1)-release' > > $ bash205 --version > GNU bash, version 2.05b.0(1)-release (i686-pc-msys) > Copyright (C) 2002 Free Software Foundation, Inc. > > $ cd d: > $ pwd > /d thank you for response! I have repeat steps as your said, it's okay! but if you replace /bin/sh.exe with bash205, then just retry it as following steps repeat steps (do these steps in windows explorer) cd msys/bin move sh.exe to sh-2.04.exe copy bash205.exe to sh.exe now open mingw command windows: type : cd d: regards geffrey ___________________________________________________________ 雅虎1G免费邮箱百分百防垃圾信 http://cn.mail.yahoo.com/ |