From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 123353 invoked by alias); 22 Dec 2016 18:14:53 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 123334 invoked by uid 89); 22 Dec 2016 18:14:52 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=1.1 required=5.0 tests=AWL,BAYES_50,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2 spammy=Hx-spam-relays-external:sk:smtp-ou, Hx-spam-relays-external:shaw.ca, H*r:shaw.ca, HX-HELO:sk:smtp-ou X-HELO: smtp-out-no.shaw.ca Received: from smtp-out-no.shaw.ca (HELO smtp-out-no.shaw.ca) (64.59.134.12) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 22 Dec 2016 18:14:51 +0000 Received: from [192.168.1.100] ([174.0.238.184]) by shaw.ca with SMTP id K7t9c1TjBcWiHK7tAcxcN5; Thu, 22 Dec 2016 11:14:49 -0700 X-Authority-Analysis: v=2.2 cv=JLBLi4Cb c=1 sm=1 tr=0 a=WqCeCkldcEjBO3QZneQsCg==:117 a=WqCeCkldcEjBO3QZneQsCg==:17 a=IkcTkHD0fZMA:10 a=lYQYGXi0-B0WqGN7lrMA:9 a=QEXdDO2ut3YA:10 Subject: Re: open IE from command line References: <6ccd99cc-37da-ac4a-c9f7-0386b072df1d@gmail.com> <0D835E9B9CD07F40A48423F80D3B5A704BBD5E7C@USA7109MB022.na.xerox.net> To: cygwin@cygwin.com From: Brian Inglis Reply-To: Brian.Inglis@SystematicSw.ab.ca Message-ID: Date: Thu, 22 Dec 2016 18:14:00 -0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 MIME-Version: 1.0 In-Reply-To: <0D835E9B9CD07F40A48423F80D3B5A704BBD5E7C@USA7109MB022.na.xerox.net> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-CMAE-Envelope: MS4wfMqdqvh6Mc4Pl823mRf4zPqEyp/aT3nXkFUICktjOdRthz1O+dtWW9MXE6ujfv0H7m+QwgB1zza9TPJZhjiG+NRoolfedySjwTOf8VdxpXv5AlNSWwyD DnAAShxEgGSTqXuy2kYeHoAGGJIU+yfwPLJdG9pwmqIru49Qm0YD11IzUa9o7a34/maMSI9ZaLUlBQ== X-IsSubscribed: yes X-SW-Source: 2016-12/txt/msg00246.txt.bz2 On 2016-12-22 07:25, Nellis, Kenneth wrote: > Mystery solved (to my satisfaction). After writing, I realized that > the script wasn't working consistently, sometimes causing IE to > misbehave as I originally posted. A bit of digging showed that it was > working if invoked from a bash session initiated by "chere", but not > otherwise. Comparing environment variables between the two, I notice > my regular session doesn't include several variables that chere does. > Prime suspects: > * CommonProgramFiles(x86) > * CommonProgramW6432 > * PUBLIC > * ProgramData > * ProgramFiles(x86) > * ProgramW6432 > Experimentation will no doubt find the culprit, and will put me back > in business. Check your Cygwin/mintty startup shortcut target or other command line looks like: "...\bin\mintty.exe -i /Cygwin-Terminal.ico -" where the final " -" ensures that the shell is invoked as a login shell, otherwise normal login setup may not be done correctly or fully. Confirm that you still have /bin/cygwin-console-helper installed. Failing that, check if your profile or rc scripts are doing, using, or invoking something which sanitizes your environment or changes it incompatibly. -- Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada -- 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