public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Andrey Repin <anrdaemon@yandex.ru>
To: Denis Excoffier <cygwin@Denis-Excoffier.org>, cygwin@cygwin.com
Subject: Re: regedit fails with a pop-up
Date: Mon, 30 May 2022 00:25:48 +0300	[thread overview]
Message-ID: <441713233.20220530002548@yandex.ru> (raw)
In-Reply-To: <4A6F13C2-FD19-427A-B6E4-4DC4B198B0C2@Denis-Excoffier.org>

Greetings, Denis Excoffier!

> Hello,

> It seems that very recently (immediately after i installed 3.3.5),
> /cygdrive/c/windows/regedit /E 'HKEY_CURRENT_USER\Environment'
> no longer works (i.e. should dump the environment on stdout),

Since when Windows GUI program would dump anything to STDOUT?

> and produces a pop-up window with:

> Cannot export HKEY_CURRENT_USER\Environment: Error opening the file. There may be a disk or file system error.

So predictable.

> % uname -a
> CYGWIN_NT-10.0 jupiter 3.3.5(0.341/5/3) 2022-05-13 12:27 x86_64 Cygwin

Use CLI "reg.exe" command.

$ reg QUERY 'HKCU\Environment'

HKEY_CURRENT_USER\Environment
    _DATELONG    REG_SZ    %@EXECSTR["C:\Programs\Cygwin_64\bin\date.exe" `+%F`]
    _TIMELONG    REG_SZ    %@REPLACE[:,-,%_TIME]
    _TIMESHORT    REG_SZ    %@LEFT[5,%@REPLACE[:,-,%_TIME]]
    CVSEDITOR    REG_SZ    C:\Programs\Far\farcvsed.bat
    CVSROOT    REG_SZ    \\DAEMON1.DARKDRAGON.LAN\wwwroot\.cvs\cvs
    CYGWIN    REG_SZ    wincmdln winsymlinks:nativestrict glob:ignorecase
    DIRCMD    REG_SZ    /O:GEN
    EDITOR    REG_SZ    /usr/bin/fared.sh
    EMAIL    REG_SZ    C:\Users\anrdaemon\.mail
    HOME    REG_EXPAND_SZ    %USERPROFILE%
    HTML_TIDY    REG_EXPAND_SZ    %USERPROFILE%/.tidyrc
    ICU_DATA    REG_SZ    C:\usr\lib
    LANG    REG_SZ    ru_RU.UTF-8
    LC_MESSAGES    REG_SZ    en_US
    LC_NUMERIC    REG_SZ    en_US
    LESS    REG_SZ    -RS#4
    MyIP    REG_SZ    %@EXECSTR[C:\Programs\Cygwin_64\bin\curl.exe -s -- "http://www.rootdir.org/myip.php"]
    NNTPSERVER    REG_SZ    192.168.1.10
    PATH    REG_EXPAND_SZ    %USERPROFILE%\bin;%USERPROFILE%\.local\bin;C:\usr\util;C:\usr\ARH
    PROMPT    REG_EXPAND_SZ    [%USERNAME%@%COMPUTERNAME% $P]$_$$$S
    RAR    REG_EXPAND_SZ    -m5 -mdE -mm -s -w"%TEMP%" -idp -os
    SCREENDIR    REG_EXPAND_SZ    /run/user/%USERNAME%/screen
    SSH_AUTH_SOCK    REG_EXPAND_SZ    %USERPROFILE%\.ssh\auth_sock
    SVN_EDITOR    REG_EXPAND_SZ    %CVSEDITOR%
    TEMP    REG_EXPAND_SZ    %USERPROFILE%\AppData\Local\Temp
    TMP    REG_EXPAND_SZ    %USERPROFILE%\AppData\Local\Temp
    USER    REG_EXPAND_SZ    %USERNAME%


-- 
With best regards,
Andrey Repin
Monday, May 30, 2022 0:23:40

Sorry for my terrible english...


      parent reply	other threads:[~2022-05-29 21:35 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-13 17:42 Denis Excoffier
     [not found] ` <579342583.2402190.1652467249328@mail.yahoo.com>
2022-05-13 18:41   ` Kevin Schnitzius
2022-05-13 19:43     ` Brian Inglis
2022-05-13 18:47 ` Rainer Emrich
2022-05-13 19:51   ` Denis Excoffier
2022-05-29 21:25 ` Andrey Repin [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=441713233.20220530002548@yandex.ru \
    --to=anrdaemon@yandex.ru \
    --cc=cygwin@Denis-Excoffier.org \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).