Cygwin/X XWinrc menu no longer launches after recent updates

Brian Inglis Brian.Inglis@SystematicSw.ab.ca
Wed Mar 4 19:05:00 GMT 2020


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



More information about the Cygwin mailing list