Re: postinstall: fontconfig abnormal exit

2020-09-09 Thread Andrey Repin
Greetings, Fergus Daly! >>> Sorry if this has been asked 4 million times already. >> $ head /etc/postinstall/{fontconfig_dtd,libxml2}.* >==> /etc/postinstall/fontconfig_dtd.sh.done <== >> if [ -x /usr/bin/xmlcatalog ] ; then > /usr/bin/xmlcatalog --noout --add "system"

Re: [PATCH 3/3] fhandler_pty_slave::setup_locale: respect charset == "UTF-8"

2020-09-09 Thread Takashi Yano via Cygwin-patches
Hi Corinna, On Wed, 9 Sep 2020 09:21:23 +0200 Corinna Vinschen wrote: > On Sep 8 17:16, Takashi Yano via Cygwin-patches wrote: > > On Mon, 7 Sep 2020 23:17:36 +0200 (CEST) > > Johannes Schindelin wrote: > > > Hi Takashi, > > > > > > On Sat, 5 Sep 2020, Takashi Yano wrote: > > > > > > > On Fri,

Re: [PATCH v3 0/2] Cygwin: pty: Changes regarding charset conversion.

2020-09-09 Thread Takashi Yano via Cygwin-patches
On Wed, 9 Sep 2020 23:46:04 +0200 Corinna Vinschen wrote: > On Sep 10 00:27, Takashi Yano via Cygwin-patches wrote: > > Takashi Yano (2): > > Cygwin: pty: Revise convert_mb_str() function. > > Cygwin: pty: Fix input charset for non-cygwin apps with disable_pcon. > > > >

Re: /dev/p* causes shell crash in i686

2020-09-09 Thread Corinna Vinschen
On Sep 9 08:08, Andrew Schulman via Cygwin wrote: > Here's a strange one. In bash in i686, try to run: > > ls /dev/ptmx > > I only get about as far as: > > ls /dev/p > > and then my terminal window vanishes. This happens: > > * In fish or bash. > * On two different hosts that I've tried. > *

Re: [PATCH v3 0/2] Cygwin: pty: Changes regarding charset conversion.

2020-09-09 Thread Corinna Vinschen
On Sep 10 00:27, Takashi Yano via Cygwin-patches wrote: > Takashi Yano (2): > Cygwin: pty: Revise convert_mb_str() function. > Cygwin: pty: Fix input charset for non-cygwin apps with disable_pcon. > > winsup/cygwin/fhandler_tty.cc | 151 +++--- > 1 file changed,

Re: Bash 4.4.12-3 erroneous behavior using [[ -f name ]] and other utilities

2020-09-09 Thread Brian Inglis
On 2020-09-09 08:25, Eliot Moss wrote: > On 9/9/2020 12:57 AM, johnb...@email.com wrote: >> I appreciate your reply outside the scope of the cygwin alias. Sorry I am >> having issues with the alias.   I'll change to a gmail address soon because >> I'll bet that the *mail.com* server is

Re: cygwin permissions on folders creating problems for windows applications (like explorer, gvim)

2020-09-09 Thread Brian Inglis
On 2020-09-09 00:55, L A Walsh wrote: > I was trying to edit files in > /etc/ssh: > /etc/ssh> gvim sshd_config > > Error: Current working directory has restricted permissions which render it > > inaccessible as Win32 working

[ANNOUNCEMENT] lftp 4.9.2-1

2020-09-09 Thread Andrew Schulman via Cygwin-announce
lftp 4.9.2-1 is now available in Cygwin. This upstream release fixes a few bugs, notably a possible truncation with sftp, and adds a few new minor features. See http://lftp.tech/news.html for the upstream changelog. lftp is a sophisticated file transfer program and ftp/http/bittorrent client. It

lftp 4.9.2-1

2020-09-09 Thread Andrew Schulman via Cygwin-announce
lftp 4.9.2-1 is now available in Cygwin. This upstream release fixes a few bugs, notably a possible truncation with sftp, and adds a few new minor features. See http://lftp.tech/news.html for the upstream changelog. lftp is a sophisticated file transfer program and ftp/http/bittorrent client. It

[PATCH v3 2/2] Cygwin: pty: Fix input charset for non-cygwin apps with disable_pcon.

2020-09-09 Thread Takashi Yano via Cygwin-patches
- If the non-cygwin apps is executed under pseudo console disabled, multibyte input for the apps are garbled. This patch fixes the issue. --- winsup/cygwin/fhandler_tty.cc | 16 +++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/winsup/cygwin/fhandler_tty.cc

[PATCH v3 1/2] Cygwin: pty: Revise convert_mb_str() function.

2020-09-09 Thread Takashi Yano via Cygwin-patches
- Use tmp_pathbuf instead of HeapAlloc()/HeapFree(). - Remove mb_str_free() function. - Consider the case where the multibyte string stops in the middle of a multibyte char. --- winsup/cygwin/fhandler_tty.cc | 135 ++ 1 file changed, 88 insertions(+), 47

[PATCH v3 0/2] Cygwin: pty: Changes regarding charset conversion.

2020-09-09 Thread Takashi Yano via Cygwin-patches
Takashi Yano (2): Cygwin: pty: Revise convert_mb_str() function. Cygwin: pty: Fix input charset for non-cygwin apps with disable_pcon. winsup/cygwin/fhandler_tty.cc | 151 +++--- 1 file changed, 103 insertions(+), 48 deletions(-) -- 2.28.0

Re: [ANNOUNCEMENT] New: unison2.48+4.04.2, unison2.48+4.08.1 [test]

2020-09-09 Thread Ken Brown via Cygwin-announce
On 9/8/2020 4:57 PM, Andrew Schulman via Cygwin-announce wrote: Two new Unison packages are now available in test: unison2.48+4.04.2 unison2.48+4.08.1 Both of these are Unison 2.48.4, but compiled with OCaml 4.04.2 and 4.08.1, respectively. For the reasons explained below, we now need separate

[ANNOUNCEMENT] Re: [ANNOUNCEMENT] New: unison2.48+4.04.2, unison2.48+4.08.1 [test]

2020-09-09 Thread Ken Brown via Cygwin-announce
On 9/8/2020 4:57 PM, Andrew Schulman via Cygwin-announce wrote: Two new Unison packages are now available in test: unison2.48+4.04.2 unison2.48+4.08.1 Both of these are Unison 2.48.4, but compiled with OCaml 4.04.2 and 4.08.1, respectively. For the reasons explained below, we now need separate

Re: /dev/p* causes shell crash in i686

2020-09-09 Thread Eliot Moss
On 9/9/2020 8:08 AM, Andrew Schulman via Cygwin wrote: > Here's a strange one. In bash in i686, try to run: > > ls /dev/ptmx > > I only get about as far as: > > ls /dev/p > > and then my terminal window vanishes. This happens: > > * In fish or bash. > * On two different hosts that I've tried. > *

Re: [PATCH v2 1/2] Cygwin: pty: Revise convert_mb_str() function.

2020-09-09 Thread Corinna Vinschen
On Sep 9 22:40, Takashi Yano via Cygwin-patches wrote: > - Use tmp_pathbuf instead of HeapAlloc()/HeapFree(). > - Remove mb_str_free() function. > - Consider the case where the multibyte string stops in the middle > of a multibyte char. > --- > winsup/cygwin/fhandler_tty.cc | 118

[PATCH v2 0/2] Cygwin: pty: Changes regarding charset conversion.

2020-09-09 Thread Takashi Yano via Cygwin-patches
Takashi Yano (2): Cygwin: pty: Revise convert_mb_str() function. Cygwin: pty: Fix input charset for non-cygwin apps with disable_pcon. winsup/cygwin/fhandler_tty.cc | 130 +++--- 1 file changed, 88 insertions(+), 42 deletions(-) -- 2.28.0

[PATCH v2 2/2] Cygwin: pty: Fix input charset for non-cygwin apps with disable_pcon.

2020-09-09 Thread Takashi Yano via Cygwin-patches
- If the non-cygwin apps is executed under pseudo console disabled, multibyte input for the apps are garbled. This patch fixes the issue. --- winsup/cygwin/fhandler_tty.cc | 12 +++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/winsup/cygwin/fhandler_tty.cc

[PATCH v2 1/2] Cygwin: pty: Revise convert_mb_str() function.

2020-09-09 Thread Takashi Yano via Cygwin-patches
- Use tmp_pathbuf instead of HeapAlloc()/HeapFree(). - Remove mb_str_free() function. - Consider the case where the multibyte string stops in the middle of a multibyte char. --- winsup/cygwin/fhandler_tty.cc | 118 ++ 1 file changed, 77 insertions(+), 41

Re: [PATCH 1/2] Cygwin: pty: Revise convert_mb_str() function.

2020-09-09 Thread Takashi Yano via Cygwin-patches
On Wed, 9 Sep 2020 17:07:20 +0900 Takashi Yano wrote: > + /* Max bytes in multibyte char is 6. */ > + for (mblen = 1; mblen <= 6; mblen ++) Sorry, I misunderstood that the max utf-8 char length is 6. Actually, it is 4, therefore mbstate_t can be used. I will submit v2 patch. --

Re: [ITP] python-getdevinfo

2020-09-09 Thread Hamish McIntyre-Bhatty via Cygwin-apps
On 04/09/2020 14:38, Hamish McIntyre-Bhatty via Cygwin-apps wrote: > > Thank you, that seemed to work well. > > New build dependencies added (also util-linux, binutils, cygwin, and > coreutils), and updated as a noarch package with no other changes. The > new files are in the "noarch"

[PATCH 1/2] Cygwin: pty: Revise convert_mb_str() function.

2020-09-09 Thread Takashi Yano via Cygwin-patches
- Use tmp_pathbuf instead of HeapAlloc()/HeapFree(). - Remove mb_str_free() function. - Consider the case where the multibyte string stops in the middle of a multibyte char. --- winsup/cygwin/fhandler_tty.cc | 123 ++ 1 file changed, 82 insertions(+), 41

[PATCH 0/2] Cygwin: pty: Changes regarding charset conversion.

2020-09-09 Thread Takashi Yano via Cygwin-patches
Takashi Yano (2): Cygwin: pty: Revise convert_mb_str() function. Cygwin: pty: Fix input charset for non-cygwin apps with disable_pcon. winsup/cygwin/fhandler_tty.cc | 135 +++--- 1 file changed, 93 insertions(+), 42 deletions(-) -- 2.28.0

[PATCH 2/2] Cygwin: pty: Fix input charset for non-cygwin apps with disable_pcon.

2020-09-09 Thread Takashi Yano via Cygwin-patches
- If the non-cygwin apps is executed under pseudo console disabled, multibyte input for the apps are garbled. This patch fixes the issue. --- winsup/cygwin/fhandler_tty.cc | 12 +++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/winsup/cygwin/fhandler_tty.cc

Re: [PATCH] Cygwin: pty: Fix input charset for non-cygwin apps with disable_pcon.

2020-09-09 Thread Takashi Yano via Cygwin-patches
Hi Corinna, On Tue, 8 Sep 2020 20:42:47 +0200 Corinna Vinschen wrote: > Hi Takashi, > > On Sep 8 18:57, Takashi Yano via Cygwin-patches wrote: > > - If the non-cygwin apps is executed under pseudo console disabled, > > multibyte input for the apps are garbled. This patch fixes the > >

Re: [PATCH 3/3] fhandler_pty_slave::setup_locale: respect charset == "UTF-8"

2020-09-09 Thread Corinna Vinschen
On Sep 8 17:16, Takashi Yano via Cygwin-patches wrote: > On Mon, 7 Sep 2020 23:17:36 +0200 (CEST) > Johannes Schindelin wrote: > > Hi Takashi, > > > > On Sat, 5 Sep 2020, Takashi Yano wrote: > > > > > On Fri, 4 Sep 2020 08:23:42 +0200 (CEST) > > > Johannes Schindelin wrote: > > > > > > > > On

cygwin permissions on folders creating problems for windows applications (like explorer, gvim)

2020-09-09 Thread L A Walsh
I was trying to edit files in /etc/ssh: /etc/ssh> gvim sshd_config Error: Current working directory has restricted permissions which render it inaccessible as Win32 working directory.