Re: [PATCH 2/2] Cygwin: pty: Disable clear screen on new pty if TERM=dumb or emacs*.

2019-09-03 Thread Takashi Yano
On Wed, 4 Sep 2019 12:34:31 +0900 Takashi Yano wrote: > Attached is the raw output from pseudo console when the screen shows > the simple text below. > > from here > [yano@Express5800-S70 ~]$ cmd > Microsoft Windows [Version 10.0.18362.329] > (c) 2019 Microsoft Corporation. All rights

Re: [PATCH 2/2] Cygwin: pty: Disable clear screen on new pty if TERM=dumb or emacs*.

2019-09-03 Thread Takashi Yano
Hi Brian, On Tue, 3 Sep 2019 20:47:14 -0600 Brian Inglis wrote: > On 2019-09-03 19:46, Takashi Yano wrote: > > - Pseudo console support introduced by commit > > 169d65a5774acc76ce3f3feeedcbae7405aa9b57 shows garbage ^[[H^[[J in > > some of emacs screens. These screens do not handle ANSI

Re: 0 [main] rsync 25012 find_fast_cwd: WARNING: Couldn't compute FAST_CWD pointer.

2019-09-03 Thread Brian Inglis
On 2019-09-03 14:49, Erik Soderquist wrote: > On Tue, Sep 3, 2019 at 11:31 AM John Penrod wrote: >> Getting the above error and also says "Profile weekly data copy failed to >> execute". Please advise. > > Go back to whomever provided that package and get an update >

Re: [PATCH 2/2] Cygwin: pty: Disable clear screen on new pty if TERM=dumb or emacs*.

2019-09-03 Thread Brian Inglis
On 2019-09-03 19:46, Takashi Yano wrote: > - Pseudo console support introduced by commit > 169d65a5774acc76ce3f3feeedcbae7405aa9b57 shows garbage ^[[H^[[J in > some of emacs screens. These screens do not handle ANSI escape > sequences. Therefore, clear screen is disabled on these screens.

Re: [PATCH v4 1/1] Cygwin: pty: Fix state management for pseudo console support.

2019-09-03 Thread Takashi Yano
Hi Corinna, I have posted several patches for PTY with pseudo console support. Please apply them in the following order. [PATCH 1/4] Cygwin: pty: Code cleanup - Cleanup the code which is commented out by #if 0 regarding pseudo console. - Remove #if 1 for experimental code which seems to be

[PATCH 0/2] Some fixes for PTY with pseudo console support (2)

2019-09-03 Thread Takashi Yano
[PATCH 1/2] Cygwin: pty: Add a workaround for ^C handling. - Pseudo console support introduced by commit 169d65a5774acc76ce3f3feeedcbae7405aa9b57 sometimes cause random crash or freeze by pressing ^C while cygwin and non-cygwin processes are executed simultaneously in the same pty. This

[PATCH 1/2] Cygwin: pty: Add a workaround for ^C handling.

2019-09-03 Thread Takashi Yano
- Pseudo console support introduced by commit 169d65a5774acc76ce3f3feeedcbae7405aa9b57 sometimes cause random crash or freeze by pressing ^C while cygwin and non-cygwin processes are executed simultaneously in the same pty. This patch is a workaround for this issue. ---

[PATCH 2/2] Cygwin: pty: Disable clear screen on new pty if TERM=dumb or emacs*.

2019-09-03 Thread Takashi Yano
- Pseudo console support introduced by commit 169d65a5774acc76ce3f3feeedcbae7405aa9b57 shows garbage ^[[H^[[J in some of emacs screens. These screens do not handle ANSI escape sequences. Therefore, clear screen is disabled on these screens. --- winsup/cygwin/fhandler_tty.cc | 26

[PATCH v5 1/1] Cygwin: pty: Fix state management for pseudo console support.

2019-09-03 Thread Takashi Yano
- Pseudo console support introduced by commit 169d65a5774acc76ce3f3feeedcbae7405aa9b57 has some bugs which cause mismatch between state variables and real pseudo console state regarding console attaching and r/w pipe switching. This patch fixes this issue by redesigning the state

[PATCH v5 0/1] Fix PTY state management in pseudo console support.

2019-09-03 Thread Takashi Yano
Pseudo console support in test release TEST: Cygwin 3.1.0-0.3, introduced by commit 169d65a5774acc76ce3f3feeedcbae7405aa9b57, has some bugs which cause mismatch between state variables and real pseudo console state regarding console attaching and r/w pipe switching. This patch fixes this issue by

[PATCH 4/4] Cygwin: pty: Limit API hook to the program linked with the APIs.

2019-09-03 Thread Takashi Yano
- API hook used for pseudo console support causes slow down. This patch limits API hook to only program which is linked with the corresponding APIs. Normal cygwin program is not linked with such APIs (such as WriteFile, etc...) directly, therefore, no slow down occurs. However, console

[PATCH 3/4] Cygwin: pty: Move function hook_api() into hookapi.cc.

2019-09-03 Thread Takashi Yano
- PTY uses Win32 API hook for pseudo console suppot. The function hook_api() is used for this purpose and defined in fhandler_tty.cc previously. This patch moves it into hookapi.cc. --- winsup/cygwin/fhandler_tty.cc | 44 --- winsup/cygwin/hookapi.cc | 34

[PATCH 1/4] Cygwin: pty: Code cleanup

2019-09-03 Thread Takashi Yano
- Cleanup the code which is commented out by #if 0 regarding pseudo console. - Remove #if 1 for experimental code which seems to be stable. --- winsup/cygwin/fhandler_tty.cc | 28 1 file changed, 28 deletions(-) diff --git a/winsup/cygwin/fhandler_tty.cc

[PATCH 2/4] Cygwin: pty: Speed up a little hooked Win32 API for pseudo console.

2019-09-03 Thread Takashi Yano
- Some Win32 APIs are hooked in pty code for pseudo console support. This causes slow down. This patch improves speed a little. --- winsup/cygwin/fhandler_tty.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/winsup/cygwin/fhandler_tty.cc b/winsup/cygwin/fhandler_tty.cc

[PATCH 0/4] Some fixes for PTY with pseudo console support (1)

2019-09-03 Thread Takashi Yano
[PATCH 1/4] Cygwin: pty: Code cleanup - Cleanup the code which is commented out by #if 0 regarding pseudo console. - Remove #if 1 for experimental code which seems to be stable. [PATCH 2/4] Cygwin: pty: Speed up a little hooked Win32 API for pseudo console. - Some Win32 APIs are hooked in pty

Re: 0 [main] rsync 25012 find_fast_cwd: WARNING: Couldn't compute FAST_CWD pointer.

2019-09-03 Thread Erik Soderquist
On Tue, Sep 3, 2019 at 11:31 AM John Penrod wrote: > > Hello, > > Getting the above error and also says "Profile weekly data copy failed to > execute". Please advise. Thanks! Go back to whomever provided that rsync package and get an update

RE: Command line processing in dcrt0.cc does not match Microsoft parsing rules

2019-09-03 Thread Stephen Provine via cygwin
On 2019-08-30 21:58, Brian Inglis wrote: > Not being in the same Cygwin process group and lacking the appropriate > interface > info indicates that the invoker was not Cygwin. Should I interpret this to mean the "winshell" parameter is not an accurate statement of what I thought it was for and

0 [main] rsync 25012 find_fast_cwd: WARNING: Couldn't compute FAST_CWD pointer.

2019-09-03 Thread John Penrod
Hello, Getting the above error and also says "Profile weekly data copy failed to execute". Please advise. Thanks! -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info:

[newlib-cygwin] Cygwin: sys/wait.h: Add _wait prototype to avoid compiler warning

2019-09-03 Thread Corinna Vinschen
https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=7630c77026da1c98a0c77f50ad3fbd4589a7a260 commit 7630c77026da1c98a0c77f50ad3fbd4589a7a260 Author: Corinna Vinschen Date: Tue Sep 3 12:45:55 2019 +0200 Cygwin: sys/wait.h: Add _wait prototype to avoid compiler warning

Poppler 0.80.0

2019-09-03 Thread Kptain
Hi, Could you make available latest release of Poppler 0.80.0? (current release available is 0.62) Thanks in advance for your support, -- Sent from: http://cygwin.1069669.n5.nabble.com/Cygwin-list-f3.html -- Problem reports: http://cygwin.com/problems.html FAQ:

Cygwin glade v3.20.3 crashing with a segment fault.

2019-09-03 Thread tvonderhaar
Has anyone gotten Cygwin glade v3.20.3 to run without it crashing with a segment fault. I got the latest updates to make sure it had not been fixed. No luck. The strace is very long. I had attached a 7z compressed version of it but my E-Mail was reject as too long at greater that 1MB even

Re: [ANNOUNCEMENT] TEST: Cygwin 3.1.0-0.3

2019-09-03 Thread Corinna Vinschen
On Sep 3 14:56, Biswapriyo Nath wrote: > While compiling cygwin with gcc version 7.4.0 (GCC) this error is shown: > > Making all in reent > /d/newlib-cygwin/newlib/libc/reent/execr.c: In function ‘_wait_r’: > /d/newlib-cygwin/newlib/libc/reent/execr.c:120:14: warning: implicit > declaration of

Re: [ANNOUNCEMENT] TEST: Cygwin 3.1.0-0.3

2019-09-03 Thread Biswapriyo Nath
While compiling cygwin with gcc version 7.4.0 (GCC) this error is shown: Making all in reent /d/newlib-cygwin/newlib/libc/reent/execr.c: In function ‘_wait_r’: /d/newlib-cygwin/newlib/libc/reent/execr.c:120:14: warning: implicit declaration of function ‘_wait’; did you mean ‘wait’?

Re: [PATCH v4 1/1] Cygwin: pty: Fix state management for pseudo console support.

2019-09-03 Thread Corinna Vinschen
Hi Takashi, On Sep 3 12:05, Takashi Yano wrote: > > > - Sleep (60); /* Wait for pty_master_fwd_thread() */ > > > + Sleep (20); /* Wait for pty_master_fwd_thread() */ > > > > Isn't that a separate issue as well? A separate patch may be in order > > here, kind of like "Cygwin: pseudo

Re: Odd, is it not? mkdir 'e:\' cannot be undone by rmdir 'e:\' ...

2019-09-03 Thread Houder
On Mon, 2 Sep 2019 10:15:08, Corinna Vinschen wrote: > > On Sep 1 19:38, Houder wrote: > > Hi Corinna, > > > > My last post in this issue. > > > > As reported, Eric's code snippet in rmdir() (dir.cc) has become > > redundant, lines 317 - 325 can be removed. > > This is what I'm not entirely

Re: change in pattern matching in pager /usr/bin/less

2019-09-03 Thread Andrey Repin
Greetings, L A Walsh! > For some reason, the behavior of less has changed recently in regards to how > it interprets characters like '\s' (whitespace). Not recently. Been that way for a long while. I've questioned this behavior on at least two occasions, and the last time we've found out that

multiple displays support for XFCE

2019-09-03 Thread Jürgen Weber
Hi, got a two display Windows 10 system here. I'm using the XFCE desktop started with startxfce4. The whole desktop is in one Windows 10 toplevel window, that I can move to either one of the displays. Can you make XFCE full screen over both displays? Or can you start two XFCE desktop windows,

Re: Odd, is it not? mkdir 'e:\' cannot be undone by rmdir 'e:\' ...

2019-09-03 Thread Andrey Repin
Greetings, Houder! > Examining this (obsure) method in path.cc, I corrected the code > in 2 places: > --- > if (dev.isfs ()) > { > //if (strncmp (path, ".\\", 4)) < 1171 > if ( ! strncmp (path, ".\\", 4)) // < [1] > { >