Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <435A5C37.4080807@byu.net> Date: Sat, 22 Oct 2005 09:35:19 -0600 From: Eric Blake User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) MIME-Version: 1.0 To: Arend-Jan Westhoff CC: Lennart Borgman , cygwin AT cygwin DOT com Subject: Re: info bash - Bash Features: No such file or directory References: <4356CB4C DOT 4030907 AT student DOT lu DOT se> <4356CB4C DOT 4030907 AT student DOT lu DOT se> <20051022130240 DOT AFBB717B4AA AT postduif DOT warande DOT net> In-Reply-To: <20051022130240.AFBB717B4AA@postduif.warande.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 According to Arend-Jan Westhoff on 10/22/2005 7:02 AM: >>It works for me. You'll have to help by giving me a better formula for >>reproducing the problem. What does "info -w bash" print? Also, could you >>please follow the problem-reporting directions below, and attach >> cygcheck.out? > > > I can reproduce the problem. I don't know if you are reproducing the same problem as the OP, since the OP didn't exactly print what error message he was getting, but you certainly reproduced a problem. > info -w bash > produces: > gunzip: stdin: invalid compressed data--crc error > > gunzip: stdin: invalid compressed data--length error > /usr/share/info/bash.info.gz > E:\cygwin / system textmode > E:\cygwin/bin /usr/bin system textmode > E:\cygwin/lib /usr/lib system textmode > E:\cygwin\usr\X11R6\lib\X11\fonts /usr/X11R6/lib/X11/fonts system binmode > . /cygdrive system textmode,cygdrive > This is probably because you've mounted / as textmode. I don't know if it is a bug in info or in gunzip for not opening files in binary even when they live in a textmode directory, but if you would use a binary mount, your problem should go away. > When run from cmd or bash. > > Whereas: > 7z t bash.info.gz 7z is not a cygwin program (although I have built it for cygwin, and may consider packaging it since I already package tar). > gzip -tv bash.info.gz > Produces: > bash.info.gz: OK > When run from cmd or bash. > > But running: > gunzip > Or: > gunzip -tv bash.info.gz > from a cmd shell. Brings up a message box titled: > 16 bit MS-DOS Subsystem > with contents: > ... - gunzip > The NTVDM CPU has encountered an illegal instruction. That would be because gunzip is a symlink, and cmd.com does not know how to run symlinks. You need a cygwin shell to exec a cygwin symlink. (Hmm, maybe that is related to why cmd.com is reporting an error for info -w bash, since info is apparently trying to use gunzip rather than gzip -d). - -- Life is short - so eat dessert first! Eric Blake ebb9 AT byu DOT net -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFDWlw384KuGfSFAYARAl5AAKCbIfWo/gFgtg2FGtKOYh5JXNIChwCfZ1Ts ODp6AzN0llzijuS6UueRWL4= =hc1C -----END PGP SIGNATURE----- -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/