delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2020/03/04/11:58:03

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:reply-to:subject:to:references:from:message-id
:date:mime-version:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=HK3F99K1MViUG+zc
dvF6XheFV0sOPiaFXZ+gzLuchHp5L5ObxgS0sohAl2J+sSdqq5gukCAaC4Uff2Br
1FSLaefrhy9yszXvcgcxlU5ClKlqmjo2H8EPhkU+KXbOd+SoM5hoMGAl6kVeUaDn
/N6amtjUig0ybzgVEOv9NKh+D5Q=
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:reply-to:subject:to:references:from:message-id
:date:mime-version:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=IFmjiCpI+YqCR69i6tG2Lq
A2U94=; b=ad7DDIFDVA4NXGKHHE03Tssb7j5IWccoKjxiKf2cMpDaoIsyOUS7uM
Hli4JKGHBOfsE82iD33dkvgVLriIMmnlj4WfKhnxiZkEH1tTbpBnE6aFoK3YKNfK
AoCYN3Dwmgm0zuqU+4EhYHkwYaNKeB+QwJhDfWdtBWH6yFpC3XmtU=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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-Spam-SWARE-Status: No, score=-2.7 required=5.0 tests=AWL,BAYES_05,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 spammy=garbled, sk:HKEY_LO, sk:hkey_lo, cmdexe
X-HELO: smtp-out-no.shaw.ca
Reply-To: cygwin AT cygwin DOT com
Subject: Re: Cygwin/X XWinrc menu no longer launches after recent updates
To: cygwin AT cygwin DOT com
References: <345b8a7a-bcbb-450b-08c0-943f3bb3b683 AT astrofoto DOT org> <20200303185335 DOT 5f4369c163b3a4b241ef429d AT nifty DOT ne DOT jp> <f5b1rq9k4wr DOT fsf AT ecclerig DOT inf DOT ed DOT ac DOT uk> <20200303213524 DOT 5ddf37854e2eb85eca50ed96 AT nifty DOT ne DOT jp> <f5bsgipipce DOT fsf AT ecclerig DOT inf DOT ed DOT ac DOT uk> <20200303215912 DOT 6c72af3e17e8ef0f0f58b8a6 AT nifty DOT ne DOT jp> <f5b36apicb6 DOT fsf AT ecclerig DOT inf DOT ed DOT ac DOT uk> <f5by2shgkqv DOT fsf AT ecclerig DOT inf DOT ed DOT ac DOT uk>
From: Brian Inglis <Brian DOT Inglis AT SystematicSw DOT ab DOT ca>
Message-ID: <5dd4f9c8-5e69-3355-6b80-6ab953475715@SystematicSw.ab.ca>
Date: Wed, 4 Mar 2020 09:57:07 -0700
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0
MIME-Version: 1.0
In-Reply-To: <f5by2shgkqv.fsf@ecclerig.inf.ed.ac.uk>
X-IsSubscribed: yes

On 2020-03-03 15:02, Henry S. Thompson wrote:
> cygcheck output attached, just in case...
> 
> Per previous message, had to interrupt id, which was hanging, which
> produced
> 
>   garbled output from "id" command - no uid= found
> 
> while cygcheck carried on...
> and then hung with Process Explorer showing
> 
>   bash.exe
>      bash.exe
>         cygcheck.exe
>            cmd.exe
>              cygrunsrv.exe

As cygcheck is a Windows msvcrt.dll program, not a Cygwin cygwin1.dll program,
it uses Windows popen which runs commands under $COMSPEC rather than $SHELL, and
that can be affected by {HKLM,HKCU}/Software/Microsoft/Command Processor/
registry entries e.g.:

$ regtool list -v /proc/registry/HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Command\
Processor/
DefaultColor (REG_DWORD) = 0x00000000 (0)
EnableExtensions (REG_DWORD) = 0x00000001 (1)
CompletionChar (REG_DWORD) = 0x00000040 (64)
PathCompletionChar (REG_DWORD) = 0x00000040 (64)
$ regtool list -v /proc/registry/HKEY_CURRENT_USER/SOFTWARE/Microsoft/Command\
Processor/
Autorun (REG_EXPAND_SZ) = "@chcp 65001 >nul"
CompletionChar (REG_DWORD) = 0x00000009 (9)
DefaultColor (REG_DWORD) = 0x00000000 (0)
EnableExtensions (REG_DWORD) = 0x00000001 (1)
PathCompletionChar (REG_DWORD) = 0x00000009 (9)

runs chcp 65001 at cmd startup, but could also do much more and different.

-- 
Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada

This email may be disturbing to some readers as it contains
too much technical detail. Reader discretion is advised.

--
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019