Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Delivered-To: mailing list cygwin@cygwin.com Date: Wed, 7 Sep 2005 09:42:23 +0200 From: Corinna Vinschen To: cygwin@cygwin.com Subject: Re: file not working on executables? Message-ID: <20050907074223.GA24333@calimero.vinschen.de> Reply-To: cygwin@cygwin.com Mail-Followup-To: cygwin@cygwin.com References: <20050907050504.7A3BD83C96@pessard.research.canon.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050907050504.7A3BD83C96@pessard.research.canon.com.au> User-Agent: Mutt/1.4.2i On Sep 7 15:05, Luke Kendall wrote: > I installed the latest Cygwin a couple of days ago. "file" now > produces no information for binary executables. Anyone else seeing > this problem? (I checked that "file" is /usr/bin/file.) > > $ file /usr/bin/ls.exe > /usr/bin/ls.exe: > $ file /cygdrive/c/WINDOWS/system32/net.exe > /cygdrive/c/WINDOWS/system32/net.exe: > $ file /etc/profile > /etc/profile: ASCII English text > $ file ~/.profile > /home/luke/.profile: Bourne shell script text executable Content-Description: cygcheck.txt > C:\cygwin / system textmode > D:\home /home system textmode > d:\home /u system binmode > C:\cygwin/bin /usr/bin system textmode > C:\cygwin/lib /usr/lib system textmode > .. /cygdrive system textmode,cygdrive Oh well, why are you still using textmode? We should drop this choice from setup.exe entirely. file doesn't cope with textmode right now. I'll fix it to use always binmode. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader mailto:cygwin@cygwin.com Red Hat, Inc. -- 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/