[PATCH] Cygwin: pinfo: Fix exit code for non-cygwin apps which reads console.

2022-02-25 Thread Takashi Yano
- The recent commit "Cygwin: pinfo: Fix exit code when non-cygwin app exits by Ctrl-C." did not fix enough the issue. If a non-cygwin app is reading the console, it will not return STATUS_CONTROL_C_EXIT even if it is terminated by Ctrl-C. As a result, the previous patch does not take effect

Re: [PATCH v2] Cygwin: pinfo: Fix exit code when non-cygwin app exits by Ctrl-C.

2022-02-25 Thread Takashi Yano
On Thu, 24 Feb 2022 23:24:29 +0900 Takashi Yano wrote: > - Previously, if non-cygwin app exits by Ctrl-C, exit code was > 0x7f00. With this patch, the exit code will be 0x0002, > which means process exited by SIGINT. > --- > winsup/cygwin/exceptions.cc | 6 +- > winsup/cygwin/pinfo

Re: [PATCH 0/2] Provide virtual /dev/fd and /dev/{stdin,stdout,stderr} symlinks

2022-02-25 Thread Brian Inglis
On 2022-02-21 06:36, Johannes Schindelin wrote: These symbolic links are crucial e.g. to support process substitution (Bash's very nice `<(SOME-COMMAND)` feature). For various reasons, it is a bit cumbersome (or impossible) to generate these symbolic links in all circumstances where Git for Wind

Re: [PATCH 0/2] Provide virtual /dev/fd and /dev/{stdin, stdout, stderr} symlinks

2022-02-25 Thread Johannes Schindelin
Hi Corinna, On Tue, 22 Feb 2022, Corinna Vinschen wrote: > On Feb 21 14:36, Johannes Schindelin wrote: > > These symbolic links are crucial e.g. to support process substitution > > (Bash's > > very nice `<(SOME-COMMAND)` feature). > > > > For various reasons, it is a bit cumbersome (or impossibl

Re: [PATCH] Cygwin: pty, console: Refactor the code processing special keys.

2022-02-25 Thread Johannes Schindelin
Hi Takashi, On Sun, 20 Feb 2022, Takashi Yano wrote: > - This patch commonize the code which processes special keys in pty > and console to improve maintanancibility. I very much welcome the direction. Thank you for working on this! > As a result, some small bugs have been fixed. Whenever I