X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:subject:references:to:from:reply-to:message-id :date:mime-version:in-reply-to:content-type :content-transfer-encoding; q=dns; s=default; b=nwWgJJpxwn/B0vvJ +rWdsrcbh2u9exotJyyV/8wGyWxBe3iZb4gvpD0tCRCwP5F/7ERyMD4VtOJ05Dyg z4StNSOxO67Me+WHRWa26r/AV99OAEblR+7IPTM63fUBlOZ9UMHpDpMrH/gsivTS l/Wx2xoCV79VCvER71h8/Sw1n6U= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:subject:references:to:from:reply-to:message-id :date:mime-version:in-reply-to:content-type :content-transfer-encoding; s=default; bh=O/aWssd0JyWGHu5ywGeCk3 MQcw8=; b=JA2gbhIa4myFI/VRdlgF8BYOwfdrN53YpWm6U6FM7S9H2py0nTTNlN LCCjhAp0hmZERQWEnHZ0Fz100GRTb+V70dPM7aY3ZZB8q5/PZIfI6p+fpLv673Z4 E22UVFA6GAX5AO3BVFrsss+pV2gqG9r8yawm9mWkgU4Z5KJraLldg= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 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 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 AT gmail DOT com> <0D835E9B9CD07F40A48423F80D3B5A704BBD5E7C AT USA7109MB022 DOT na DOT xerox DOT net> To: cygwin AT cygwin DOT com From: Brian Inglis Reply-To: Brian DOT Inglis AT SystematicSw DOT ab DOT ca Message-ID: Date: Thu, 22 Dec 2016 11:14:47 -0700 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 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