X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 	tests=AWL,BAYES_00,SPF_HELO_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <4B30D8EE.2090403@veritech.com>
Date: Tue, 22 Dec 2009 09:34:22 -0500
From: "Lee D. Rothstein" <l1ee057@veritech.com>
User-Agent: Thunderbird 2.0.0.23 (Windows/20090812)
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: 1.7: mintty 5.5.1 refuses to take hippos seriously ;-(
References: <4B30BA2E.6010707@veritech.com> <416096c60912220527r25fe42b9obf257e4ef31768f3@mail.gmail.com>
In-Reply-To: <416096c60912220527r25fe42b9obf257e4ef31768f3@mail.gmail.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

Andy Koppe wrote:

 > 2009/12/22 Lee D. Rothstein:

 >> '--icon=c:\_0\hippo_xp.ico'  option now breaks mintty.

 > Works for me, with the icon placed in the same location. This is on
 > XP, and I tried it both in Cygwin 1.5 and 1.7.

NB: c:\_0 is my root.

I just looked at the ownership/mode of hippo_xp.ico and it was
lr:none and 700. I changed it to lr:root and 777, and the Windows
shortcut still doesn't work. While lr is part of root
(Administrators), I don't run the shortcut with elevated
privilege.

 > What system are you on?

--
$ uname -a
CYGWIN_NT-6.0-WOW64 GW2 1.7.0(0.218/5/3) 2009-12-04 17:08 i686 Cygwin
--
si ...

OS Name:    Microsoftr Windows VistaT Home Premium
OS Version: 6.0.6002 Service Pack 2 Build 6002
--

 > How does it break?

Screen flickers, nothing else happens.

 > Can you run mintty with
 > that option from an existing mintty session and see whether it reports
 > an error?

No. No matter how I specify mintty or the icon on the command
line, 'mintty' cannot load the icon.

e.g., all of the following don't work:

$ mintty --icon=/hippo_xp.ico -
mintty: could not load icon -- /hippo_xp.ico

$ /bin/mintty.exe --icon=$(cygpath -ua 'c:\_0\hippo_xp.ico') -
mintty: could not load icon -- /hippo_xp.ico

...

yet:

$ ls -al /
...
-rwxrwxrwx+  1 lr root   46878 2009-12-05 08:26 hippo_xp.ico
...

$ mintty --version
mintty 0.5.5
...

WTF,O,

Lee

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

