Re: [PATCH] Cygwin: pty: Rename input named pipes.

2021-03-22 Thread Takashi Yano via Cygwin-patches
On Mon, 22 Mar 2021 12:49:20 +0100 Corinna Vinschen wrote: > Hi Takashi, > > On Mar 21 12:59, Takashi Yano via Cygwin-patches wrote: > > - Currently, the name of input pipe is "pty-from-master" for > > cygwin process, and "pty-to-slave" for non-cygwin process. > > These are not only in

Re: [PATCH 1/2] Treat Windows Store's "app execution aliases" as symbolic links

2021-03-22 Thread Hans-Bernhard Bröker
Am 22.03.2021 um 16:22 schrieb Johannes Schindelin: On Mon, 15 Mar 2021, Hans-Bernhard Bröker wrote: Am 15.03.2021 um 04:19 schrieb Johannes Schindelin via Cygwin-patches: That argument might hold more sway if Windows itself didn't quite so completely hide that information from users, too.

Re: [PATCH 0/2] Return appropriate handle by _get_osfhandle() and GetStdHandle().

2021-03-22 Thread Ken Brown via Cygwin-patches
[Still CC Marco] On 3/22/2021 7:43 AM, Corinna Vinschen via Cygwin-patches wrote: [CC Marco] On Mar 22 08:07, Takashi Yano via Cygwin-patches wrote: On Sun, 21 Mar 2021 17:44:27 +0900 Takashi Yano wrote: On Sun, 21 Mar 2021 13:01:24 +0900 Takashi Yano wrote: Takashi Yano (2): Cygwin: sysc

[PATCH v2 2/2] Allow executing Windows Store's "app execution aliases"

2021-03-22 Thread Johannes Schindelin via Cygwin-patches
The Windows Store version of Python (and apparently other Windows Store applications) install a special reparse point called "app execution alias" into the user's `PATH`. These applications can be executed without any problem, but they cannot be read as if they were files. This trips up Cygwin's b

[PATCH v2 1/2] Treat Windows Store's "app execution aliases" as symbolic links

2021-03-22 Thread Johannes Schindelin via Cygwin-patches
When the Windows Store version of Python is installed, so-called "app execution aliases" are put into the `PATH`. These are reparse points under the hood, with an undocumented format. We do know a bit about this format, though, as per the excellent analysis: https://www.tiraniddo.dev/2019/09/overv

[PATCH v2 0/2] Handle "app execution aliases"

2021-03-22 Thread Johannes Schindelin via Cygwin-patches
When installing e.g. Python via the Windows Store, it is common that the `python3.exe` entry in the `PATH` is not actually an executable at all, but an "app executaion alias" (i.e. a special class of reparse point). These filesystem entries are presented as 0-size files, but they are not readable,

Re: [PATCH 1/2] Treat Windows Store's "app execution aliases" as symbolic links

2021-03-22 Thread Johannes Schindelin via Cygwin-patches
Hi Hans-Bernhard, On Mon, 15 Mar 2021, Hans-Bernhard Bröker wrote: > Am 15.03.2021 um 04:19 schrieb Johannes Schindelin via Cygwin-patches: > > > On Sat, 13 Mar 2021, Joe Lowe wrote: > > > > > I agree on the usefulness to the user of showing appexec target > > > executable as symlink target. But

Re: [PATCH] Cygwin: pty: Rename input named pipes.

2021-03-22 Thread Corinna Vinschen via Cygwin-patches
Hi Takashi, On Mar 21 12:59, Takashi Yano via Cygwin-patches wrote: > - Currently, the name of input pipe is "pty-from-master" for > cygwin process, and "pty-to-slave" for non-cygwin process. > These are not only inconsistent with output pipes but also very > confusing. > With this

Re: [PATCH 0/2] Return appropriate handle by _get_osfhandle() and GetStdHandle().

2021-03-22 Thread Corinna Vinschen via Cygwin-patches
[CC Marco] On Mar 22 08:07, Takashi Yano via Cygwin-patches wrote: > On Sun, 21 Mar 2021 17:44:27 +0900 > Takashi Yano wrote: > > On Sun, 21 Mar 2021 13:01:24 +0900 > > Takashi Yano wrote: > > > Takashi Yano (2): > > > Cygwin: syscalls.cc: Make _get_osfhandle() return appropriate handle. > > >