[PATCH 2/4] Cygwin: console: Discard some unsupported escape sequences.

2020-05-30 Thread Takashi Yano via Cygwin-patches
- If the cygwin vim is started from a non-cygwin process which is executed in pseudo console, shift key and ctrl key do not work. In this case, vim is executed under /dev/cons*. If vim outputs escape sequence which is not supported by pseudo console, the escape sequence is leaked into the

[PATCH 4/4] Cygwin: pty: Revise the code which prevents undesired window title.

2020-05-30 Thread Takashi Yano via Cygwin-patches
- In current pty, the window title can not be set from non-cygwin program due to the code which prevents overwriting the window title to "cygwin-console-helper.exe" in fhandler_pty_master::pty_ master_fwd_thread(). This patch fixes the issue. --- winsup/cygwin/fhandler_tty.cc | 9 +++--

[PATCH 3/4] Cygwin: pty: Clean up fhandler_pty_master::pty_master_fwd_thread().

2020-05-30 Thread Takashi Yano via Cygwin-patches
- Remove the code which is not necessary anymore. --- winsup/cygwin/fhandler_tty.cc | 18 -- 1 file changed, 18 deletions(-) diff --git a/winsup/cygwin/fhandler_tty.cc b/winsup/cygwin/fhandler_tty.cc index d017cde38..c3d49968d 100644 --- a/winsup/cygwin/fhandler_tty.cc +++

[PATCH 1/4] Cygwin: pty: Prevent garbage remained in read ahead buffer.

2020-05-30 Thread Takashi Yano via Cygwin-patches
- After commit 29431fcb5b14d4c5ac3b3161a076eb1a208349d9, the issue reported in https://cygwin.com/pipermail/cygwin/2020-May/245057.html occurs. This is caused by the following mechanism. Cygwin less called from non-cygwin git is executed under /dev/cons* rather than /dev/pty* because

[PATCH 0/4] Some fixes for pty.

2020-05-30 Thread Takashi Yano via Cygwin-patches
Patches for https://cygwin.com/pipermail/cygwin/2020-May/245057.html and three other issues that were noticed during this fix. Takashi Yano (4): Cygwin: pty: Prevent garbage remained in read ahead buffer. Cygwin: console: Discard some unsupported escape sequences. Cygwin: pty: Clean up

Re: [PATCH] Cygwin: console: Make cursor keys work in vim under ConEmu.

2020-05-30 Thread Corinna Vinschen
On May 30 18:25, Takashi Yano via Cygwin-patches wrote: > - After commit 774b8996d1f3e535e8267be4eb8e751d756c2cec, cursor > keys do not work in vim under ConEmu without cygwin-connector. > This patch fixes the issue. > --- > winsup/cygwin/fhandler.h | 1 + >

Re: Repeated input in PTY with SSH when a native process runs a Cygwin process that consumes input

2020-05-30 Thread Takashi Yano via Cygwin
On Sat, 30 May 2020 15:46:39 +0100 Andrew Ng via Cygwin wrote: > Hi, > > There appears to be an issue with repeated input in PTY (with pcon enabled) > when using SSH. If I run MinGW git from the bash shell via ssh, and git > then executes Cygwin less, e.g. for git log, then any input to less is

Re: WARNING: Couldn't compute FAST_CWD pointer.

2020-05-30 Thread cygwinautoreply--- via Cygwin
> 2119 [main] bin_to_verilog 13764 find_fast_cwd: WARNING: Couldn't >compute FAST_CWD pointer. >How can I solve it? https://cygwin.com/faq.html#faq.using.fixing-find_fast_cwd-warnings -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/

WARNING: Couldn't compute FAST_CWD pointer.

2020-05-30 Thread 秋天的泪 via Cygwin
2119 [main] bin_to_verilog 13764 find_fast_cwd: WARNING: Couldn't compute FAST_CWD pointer. How can I solve it? -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:https://cygwin.com/docs.html Unsubscribe info:

Repeated input in PTY with SSH when a native process runs a Cygwin process that consumes input

2020-05-30 Thread Andrew Ng via Cygwin
Hi, There appears to be an issue with repeated input in PTY (with pcon enabled) when using SSH. If I run MinGW git from the bash shell via ssh, and git then executes Cygwin less, e.g. for git log, then any input to less is repeated as input after git exits. So typically, you will end up with some

[PATCH] Cygwin: console: Make cursor keys work in vim under ConEmu.

2020-05-30 Thread Takashi Yano via Cygwin-patches
- After commit 774b8996d1f3e535e8267be4eb8e751d756c2cec, cursor keys do not work in vim under ConEmu without cygwin-connector. This patch fixes the issue. --- winsup/cygwin/fhandler.h | 1 + winsup/cygwin/fhandler_console.cc | 20 ++-- 2 files changed, 15