Update to "Reporting Guidelines" on the cygwin site

2020-01-20 Thread David Finnie
Please bottom posting and trim here. (Above is copied from a recent post about a problem report.) Being a fairly new member of this mailing list, I did carefully read the guidelines about using the mailing list, but there was no mention of no top posting etc. And yes, I did top post

Re: Getting Python on Windows points USER_HOME

2020-01-20 Thread Marco Atzeri
Am 21.01.2020 um 06:47 schrieb R Steiger: Hi Marco, Thanks for the response. As you seemed to hint, seems my Python installation was bent: I checked your dir listing against my Cygwin root directory (C:\cygwin64), and found that neither usr/bin nor usr/lib exist

RE: Getting Python on Windows points USER_HOME

2020-01-20 Thread R Steiger
Hi Marco, Thanks for the response. As you seemed to hint, seems my Python installation was bent: I checked your dir listing against my Cygwin root directory (C:\cygwin64), and found that neither usr/bin nor usr/lib exist (usr/include/python3.8/pyconfig.h does exist). I've made several

Re: io_stream_cygfile: fopen(/etc/setup/setup.rc) failed

2020-01-20 Thread Marco Atzeri
Am 21.01.2020 um 05:58 schrieb Arpitha M: Hi Marco, Complete error as follows: $ ./configure configure: Configuring idevs 2.0.0.1 checking build system type... i686-pc-cygwin checking host system type... i686-pc-cygwin checking target system type... i686-pc-cygwin checking for gcc... gcc

Re: io_stream_cygfile: fopen(/etc/setup/setup.rc) failed

2020-01-20 Thread Marco Atzeri
Am 21.01.2020 um 05:37 schrieb Arpitha M: Hi Marco, Hi Arpitha, While I am trying to configure I am getting below error: configure: Configuring id 2.0.0.1 checking build system type... i686-pc-cygwin checking host system type... i686-pc-cygwin checking target system type... i686-pc-cygwin

Re: Is there a way to clone-install Cygwin?

2020-01-20 Thread Marco Atzeri
Am 21.01.2020 um 01:58 schrieb Lavrentiev, Anton (NIH/NLM/NCBI) [C] via cygwin: Hi List, I have a question, is there a way to clone-install Cygwin? Like I have installed whatever packages I selected on some PC, then maintained that installation for a while, doing upgrades etc. Now I need to

Re: io_stream_cygfile: fopen(/etc/setup/setup.rc) failed

2020-01-20 Thread Arpitha M
Hi Marco, While I am trying to configure I am getting below error: configure: Configuring id 2.0.0.1 checking build system type... i686-pc-cygwin checking host system type... i686-pc-cygwin checking target system type... i686-pc-cygwin checking for gcc... gcc checking for C compiler default

Re: Looks like GDB in Cygwin does not catch Ctrl/C correctly

2020-01-20 Thread Takashi Yano
On Tue, 21 Jan 2020 03:29:47 + "Lavrentiev, Anton (NIH/NLM/NCBI) [C] via cygwin"wrote: > > What is your environment? Windows version, cygwin version and etc... > $ uname -a > CYGWIN_NT-6.1 ANTON 3.1.0(0.340/5/3) 2019-12-01 05:20 x86_64 Cygwin > > Windows 7 Home; Cygwin 3.1.0 This problem

Re: Getting Python on Windows points USER_HOME

2020-01-20 Thread Marco Atzeri
Am 21.01.2020 um 01:08 schrieb R Steiger: Having installed the latest Cygwin-built Python distro (3.8.1), it thinks user-site is C:\Users\\AppData\Roaming ... How ? the Python 3.8 available from Cygwin is under 2019-09-15 19:58 2674707 usr/bin/libpython3.8.dll 2019-09-15 19:58

RE: Looks like GDB in Cygwin does not catch Ctrl/C correctly

2020-01-20 Thread Lavrentiev, Anton (NIH/NLM/NCBI) [C] via cygwin
> What is your environment? Windows version, cygwin version and etc... $ uname -a CYGWIN_NT-6.1 ANTON 3.1.0(0.340/5/3) 2019-12-01 05:20 x86_64 Cygwin Windows 7 Home; Cygwin 3.1.0 -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/

Re: Looks like GDB in Cygwin does not catch Ctrl/C correctly

2020-01-20 Thread Takashi Yano
On Tue, 21 Jan 2020 03:09:19 + "Lavrentiev, Anton (NIH/NLM/NCBI) [C] via cygwin" wrote: > Hi All, > > Another question for tonight: > > So there's a program that basically enters a tight loop on some incorrect > input (and needs to be debugged, obviously). > > The program is otherwise

Looks like GDB in Cygwin does not catch Ctrl/C correctly

2020-01-20 Thread Lavrentiev, Anton (NIH/NLM/NCBI) [C] via cygwin
Hi All, Another question for tonight: So there's a program that basically enters a tight loop on some incorrect input (and needs to be debugged, obviously). The program is otherwise rather basic, doesn't use anything outside K C RTL. When I run the program under gdb, I want to interrupt it

RE: Is there a way to clone-install Cygwin?

2020-01-20 Thread Brent Epp
Fair enough. I don't think I've encountered any scripts that modify the system in my use of cygwin, so I didn't think of it. You're correct, "mostly portable" is more accurate. On January 20, 2020 20:33:22 "Lavrentiev, Anton (NIH/NLM/NCBI) [C] via cygwin" wrote: Cygwin is totally

Re: Cygwin 3.1.2: Every call of exec(2) in the session starts to create a console window after some TTY outputs from programs compiled with "-mwindows"

2020-01-20 Thread Takashi Yano
On Tue, 21 Jan 2020 10:30:48 +0800 Koichi Murase wrote: > 2020年1月20日(月) 15:17 Marco Atzeri: > > > > I can not replicate with latest snapshot > > > > $ uname -a > > CYGWIN_NT-10.0 LAPTOP-82F08ILC 3.1.2s(0.340/5/3) 2020-01-14 16:33 x86_64 > > Cygwin > > > > $ mintty --version > > mintty 3.1.0

RE: Is there a way to clone-install Cygwin?

2020-01-20 Thread Lavrentiev, Anton (NIH/NLM/NCBI) [C] via cygwin
> Cygwin is totally portable! I wouldn't be so sure, as some package installation scripts do modify the actual system, which is not contained within the Cygwin installation tree. But mostly it is indeed portable. > You can simply copy the installation folder If you think that didn't occur to

Re: Cygwin 3.1.2: Every call of exec(2) in the session starts to create a console window after some TTY outputs from programs compiled with "-mwindows"

2020-01-20 Thread Koichi Murase
2020年1月20日(月) 15:17 Marco Atzeri : > > I can not replicate with latest snapshot > > $ uname -a > CYGWIN_NT-10.0 LAPTOP-82F08ILC 3.1.2s(0.340/5/3) 2020-01-14 16:33 x86_64 > Cygwin > > $ mintty --version > mintty 3.1.0 (x86_64-pc-cygwin) > ... > > $ for i in {0..99}; do date; done | uniq -c >

[PATCH v2] Cygwin: pty: Revise code waiting for forwarding by master_fwd_thread.

2020-01-20 Thread Takashi Yano
- Though this rarely happens, sometimes the first printing of non- cygwin process does not displayed correctly. To fix this issue, the code for waiting for forwarding by master_fwd_thread is revised. --- winsup/cygwin/fhandler_tty.cc | 15 +++ winsup/cygwin/tty.cc | 1 +

Re: [PATCH] Cygwin: pty: Revise code waiting for forwarding by master_fwd_thread.

2020-01-20 Thread Takashi Yano
On Mon, 20 Jan 2020 11:39:39 +0100 Corinna Vinschen wrote: > Are these 40 ms an experimental value or is that based on knowledge > of implementation details? It is experimental value which I measured in several environment. > The real question is, isn't there any > other, more reliable

Re: Is there a way to clone-install Cygwin?

2020-01-20 Thread Brent Epp
Sorry, this reply was meant to go the list but I was using a different mail client and it replied directly. __ Cygwin is totally portable! You can simply copy the installation folder to another PC, copy the shortcut (edit target if needed) and it will work. I've done this

Is there a way to clone-install Cygwin?

2020-01-20 Thread Lavrentiev, Anton (NIH/NLM/NCBI) [C] via cygwin
Hi List, I have a question, is there a way to clone-install Cygwin? Like I have installed whatever packages I selected on some PC, then maintained that installation for a while, doing upgrades etc. Now I need to install the exact same set on another PC. Can I pull up a list and use it in a

Getting Python on Windows points USER_HOME

2020-01-20 Thread R Steiger
Having installed the latest Cygwin-built Python distro (3.8.1), it thinks user-site is C:\Users\\AppData\Roaming ... For all the usual reasons (and I'm confident like many of y'all) I strongly prefer having user-site = ~, i.e. *nix-style. I've munged Lib/site.py and sysconfig.py to set

[ANNOUNCEMENT] Test: make-4.3-1

2020-01-20 Thread Marco Atzeri
Version 4.3-1 of make is available as Test in the Cygwin distribution DESCRIPTION A GNU tool for controlling the generation of executables and other non-source files of a program from the program's source files. Make allows users to build and install packages without any significant

Test: make-4.3-1

2020-01-20 Thread Marco Atzeri
Version 4.3-1 of make is available as Test in the Cygwin distribution DESCRIPTION A GNU tool for controlling the generation of executables and other non-source files of a program from the program's source files. Make allows users to build and install packages without any significant

Re: Would anyone adopt subversion?

2020-01-20 Thread Jon Turney
On 18/11/2019 23:24, David Rothenberger wrote: Is anyone willing to adopt Subversion? Since I started maintaining it, my organization has switched to git, so I no longer use it. While I can still build it, it is not easy and taxes my 20 year old C/C++ skills. I would feel a lot more comfortable

Re: [PATCH v4 0/4] Support opening a symlink with O_PATH | O_NOFOLLOW

2020-01-20 Thread Corinna Vinschen
On Jan 20 14:57, Ken Brown wrote: > On 1/20/2020 4:56 AM, Corinna Vinschen wrote: > > On Jan 17 16:10, Ken Brown wrote: > >> Currently, opening a symlink with O_NOFOLLOW fails with ELOOP. > >> Following Linux, the first patch in this series allows the call to > >> succeed if O_PATH is also

Re: [PATCH] Cygwin: pty: Introduce disable_pcon in environment CYGWIN.

2020-01-20 Thread Ken Brown
[Adding the cgdb maintainer to the CC.] On 1/20/2020 9:18 AM, Jon Turney wrote: > On 20/01/2020 12:41, Takashi Yano wrote: >> Hi Corinna, >> >> On Mon, 20 Jan 2020 11:06:46 +0100 >> Corinna Vinschen wrote: >>> On Jan 20 11:50, Takashi Yano wrote: - For programs which does not work properly

Re: [PATCH v4 0/4] Support opening a symlink with O_PATH | O_NOFOLLOW

2020-01-20 Thread Ken Brown
On 1/20/2020 4:56 AM, Corinna Vinschen wrote: > On Jan 17 16:10, Ken Brown wrote: >> Currently, opening a symlink with O_NOFOLLOW fails with ELOOP. >> Following Linux, the first patch in this series allows the call to >> succeed if O_PATH is also specified. >> >> According to the Linux man page

[newlib-cygwin] Cygwin: fstatat, fchownat: support the AT_EMPTY_PATH flag

2020-01-20 Thread Ken Brown
https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=352dbd304be48cd47de4f588031b98b8e0202f33 commit 352dbd304be48cd47de4f588031b98b8e0202f33 Author: Ken Brown Date: Fri Dec 27 17:38:32 2019 -0500 Cygwin: fstatat, fchownat: support the AT_EMPTY_PATH flag Following Linux,

[newlib-cygwin] Cygwin: document recent changes

2020-01-20 Thread Ken Brown
https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=4261a8f5cac478ee299f0feb3ae478dbf287427e commit 4261a8f5cac478ee299f0feb3ae478dbf287427e Author: Ken Brown Date: Fri Jan 17 10:52:54 2020 -0500 Cygwin: document recent changes Diff: --- winsup/cygwin/release/3.1.3 | 19

[newlib-cygwin] Cygwin: readlinkat: allow pathname to be empty

2020-01-20 Thread Ken Brown
https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=6cc05784e16af56750417b73d778efb09c3b122e commit 6cc05784e16af56750417b73d778efb09c3b122e Author: Ken Brown Date: Fri Dec 27 17:17:35 2019 -0500 Cygwin: readlinkat: allow pathname to be empty Following Linux, allow the

[newlib-cygwin] Cygwin: allow opening a symlink with O_PATH | O_NOFOLLOW

2020-01-20 Thread Ken Brown
https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=35a1a6dbdf03df1e33bae51f679820a3a868d0c0 commit 35a1a6dbdf03df1e33bae51f679820a3a868d0c0 Author: Ken Brown Date: Fri Dec 27 11:43:58 2019 -0500 Cygwin: allow opening a symlink with O_PATH | O_NOFOLLOW Up to now, opening

Re: [PATCH] Cygwin: pty: Introduce disable_pcon in environment CYGWIN.

2020-01-20 Thread Jon Turney
On 20/01/2020 12:41, Takashi Yano wrote: Hi Corinna, On Mon, 20 Jan 2020 11:06:46 +0100 Corinna Vinschen wrote: On Jan 20 11:50, Takashi Yano wrote: - For programs which does not work properly with pseudo console, disable_pcon in environment CYGWIN is introduced. If disable_pcon is set,

Re: [PATCH] Cygwin: pty: Introduce disable_pcon in environment CYGWIN.

2020-01-20 Thread Takashi Yano
Hi Corinna, On Mon, 20 Jan 2020 11:06:46 +0100 Corinna Vinschen wrote: > On Jan 20 11:50, Takashi Yano wrote: > > - For programs which does not work properly with pseudo console, > > disable_pcon in environment CYGWIN is introduced. If disable_pcon > > is set, pseudo console support is

[ANNOUNCEMENT] Updated: mc-4.8.24-1

2020-01-20 Thread Marco Atzeri
Version mc-4.8.24-1 of Midnight Commander has been uploaded for cygwin CHANGES This is a upstream bugfix release https://www.midnight-commander.org/wiki/NEWS-4.8.24 DESCRIPTION GNU Midnight Commander is a visual file manager. It's a feature rich full-screen text mode application that allows you

Updated: mc-4.8.24-1

2020-01-20 Thread Marco Atzeri
Version mc-4.8.24-1 of Midnight Commander has been uploaded for cygwin CHANGES This is a upstream bugfix release https://www.midnight-commander.org/wiki/NEWS-4.8.24 DESCRIPTION GNU Midnight Commander is a visual file manager. It's a feature rich full-screen text mode application that allows you

Re: [PATCH] Cygwin: pty: Revise code waiting for forwarding by master_fwd_thread.

2020-01-20 Thread Corinna Vinschen
Hi Takashi, On Jan 20 11:50, Takashi Yano wrote: > - Though this rarely happens, sometimes the first printing of non- > cygwin process does not displayed correctly. To fix this issue, > the code for waiting for forwarding by master_fwd_thread is revised. > --- > [...] > +void >

Re: [PATCH] Cygwin: pty: Introduce disable_pcon in environment CYGWIN.

2020-01-20 Thread Corinna Vinschen
On Jan 20 11:50, Takashi Yano wrote: > - For programs which does not work properly with pseudo console, > disable_pcon in environment CYGWIN is introduced. If disable_pcon > is set, pseudo console support is disabled. Oh well, do we really need that? Anyway, this patch also requires an

Re: [PATCH v4 0/4] Support opening a symlink with O_PATH | O_NOFOLLOW

2020-01-20 Thread Corinna Vinschen
On Jan 17 16:10, Ken Brown wrote: > Currently, opening a symlink with O_NOFOLLOW fails with ELOOP. > Following Linux, the first patch in this series allows the call to > succeed if O_PATH is also specified. > > According to the Linux man page for open(2), "the call returns a file > descriptor

Re: [PATCH] Cygwin: allow opening an AF_LOCAL/AF_UNIX socket with O_PATH

2020-01-20 Thread Corinna Vinschen
On Jan 19 20:25, Ken Brown wrote: > On 1/17/2020 4:51 AM, Corinna Vinschen wrote: > > On Jan 17 10:48, Corinna Vinschen wrote: > >> On Jan 16 18:34, Ken Brown wrote: > >>> If that flag is not set, or if an attempt is made to open a different > >>> type of socket, the errno is now EOPNOTSUPP

Re: BUG: exec format error: emacs

2020-01-20 Thread Ronald Fischer
I have now solved the problem by explicitly removing /usr/bin/emacs before re-installing it using Cygwin Setup. Now it indeed became a symlink (to /etc/alternatives/emacs). Ronald On Fri, Jan 17, 2020, at 17:16, Ken Brown wrote: > On 1/17/2020 10:33 AM, Ronald Fischer wrote: > > When trying to