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 Date: Wed, 7 Sep 2005 09:42:23 +0200 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: file not working on executables? Message-ID: <20050907074223.GA24333@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <20050907050504 DOT 7A3BD83C96 AT pessard DOT research DOT canon DOT com DOT 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 AT cygwin DOT 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/