issue when piping from a windows program

2023-04-11 Thread Leonid Mironov via Cygwin
I am trying to feed the output of wmic.exe - a windows console program, to cygwin bash script. wmic.exe produces UTF16LE output with BOM and CR/LFs, so I am using dos2unix to convert it. The problem is that when I write wmic.exe output to a file and then use dos2unix to convert this file I

[Bug] No Keyboard input when using interactive commands with stdin via pipes

2023-04-11 Thread Wladislav Artsimovich via Cygwin
Dear Cygwin users,   there appears to be a bug or a missing implementation detail in either unix pipes or ConPTY, which prevents interactive console programs from receiving keyboard input, when they get stdin via a pipe. This report concerns the following Github issue, originally started in the

Re: reporting error

2023-04-11 Thread cygwinautoreply--- via Cygwin
>pwd 2444 find_fast_cwd: WARNING: Couldn't compute FAST_CWD pointer https://cygwin.com/faq.html#faq.using.fixing-find_fast_cwd-warnings -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:https://cygwin.com/docs.html

Re: issue when piping from a windows program

2023-04-11 Thread Marco Atzeri via Cygwin
On 11.04.2023 09:15, Leonid Mironov via Cygwin wrote: I am trying to feed the output of wmic.exe - a windows console program, to cygwin bash script. wmic.exe produces UTF16LE output with BOM and CR/LFs, so I am using dos2unix to convert it. The problem is that when I write wmic.exe output to a

[ANNOUNCEMENT] bc 1.07.1-1

2023-04-11 Thread Andrew Schulman via Cygwin-announce via Cygwin
bc version 1.07.1-1 is now available in Cygwin. This is a minor bugfix release. bc is an arbitrary precision numeric processing tool, that supports batch or interactive use. The package also includes dc, and arbitrary precision reverse-Polish calculator. Homepage:

reporting error

2023-04-11 Thread Mphatso Tawakali via Cygwin
pwd 2444 find_fast_cwd: WARNING: Couldn't compute FAST_CWD pointer -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple

Re: issue when piping from a windows program

2023-04-11 Thread Andrey Repin via Cygwin
Greetings, Leonid Mironov! > I am trying to feed the output of wmic.exe - a windows console program, to > cygwin bash script. > wmic.exe produces UTF16LE output with BOM and CR/LFs, so I am using dos2unix > to convert it. > The problem is that when I write wmic.exe output to a file and then use

Re: Changing user home to overlap Windows user home possible? Or a bad idea?

2023-04-11 Thread Thomas Schweikle via Cygwin
Hi! Am Sa., 08.Apr..2023 um 10:30:47 schrieb Andrey Repin: Greetings, Thomas Schweikle! Is it possible to have the same home for Windows and cygwin? See /etc/nsswitch.conf and https://cygwin.com/cygwin-ug-net/ntsec.html#ntsec-mapping-nsswitch Using "C:\Users\" for Cygwin home setting

Cygwin 'cp' command is still slow after Cygserver is installed

2023-04-11 Thread Derek Pagel via Cygwin
I've been seeing an issue where Cygwin commands sometimes take a while to complete, or they will not complete at all and will have to be manually killed through task manager. I installed Cygserver and that helped to lessen the number of times that the issue happens but it didn't get rid of it.

have cygwin setup.exe signed and/or in the MS store

2023-04-11 Thread Philippe Cerfon via Cygwin
Hey there. I know you provide OpenPGP signatures for verification (which is good, and should be kept), but would it perhaps make sense to have setup.exe signed (in the sense of: by some MS trusted certificate) and/or in the MS store (though I guess that might not be possible with their policy)?

Re: SSH config in /etc/ssh/ rather than /etc?

2023-04-11 Thread Backwoods BC via Cygwin
On Tue, Apr 11, 2023 at 6:28 PM Philippe Cerfon via Cygwin wrote: > I've just wondered whether Cygwin packages could be changed to > place/expect any SSH config files in /etc/ssh, just as virtually any > Linux distribution seems to do? :-) Symlinks are your friend. You can even use real

Re: Cygwin 'cp' command is still slow after Cygserver is installed

2023-04-11 Thread marco atzeri via Cygwin
On Tue, Apr 11, 2023 at 10:08 PM Derek Pagel via Cygwin wrote: > > I've been seeing an issue where Cygwin commands sometimes take a while to > complete, or they will not complete at all and will have to be manually > killed through task manager. I installed Cygserver and that helped to lessen

Re: Changing user home to overlap Windows user home possible? Or a bad idea?

2023-04-11 Thread Andrey Repin via Cygwin
Greetings, Thomas Schweikle! > Am Sa., 08.Apr..2023 um 10:30:47 schrieb Andrey Repin: >> Greetings, Thomas Schweikle! >> >> Is it possible to have the same home for Windows and cygwin? >> > See /etc/nsswitch.conf and >> > https://cygwin.com/cygwin-ug-net/ntsec.html#ntsec-mapping-nsswitch >> >>

SSH config in /etc/ssh/ rather than /etc?

2023-04-11 Thread Philippe Cerfon via Cygwin
Hey. I've just wondered whether Cygwin packages could be changed to place/expect any SSH config files in /etc/ssh, just as virtually any Linux distribution seems to do? :-) Regards, Philippe -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/

Re: python2 removal

2023-04-11 Thread Marco Atzeri via Cygwin-apps
On 03.04.2023 03:08, marco atzeri wrote: On Sun, Apr 2, 2023 at 11:47 AM Jon Turney via Cygwin-apps wrote: extra-cmake-modulesextra-cmake-modules ORPHANED (Yaakov Selkowitz) [†] probably ok, but should probably update & rebuild I adopted extra-cmake-modules and

bc 1.07.1-1

2023-04-11 Thread Andrew Schulman via Cygwin-announce
bc version 1.07.1-1 is now available in Cygwin. This is a minor bugfix release. bc is an arbitrary precision numeric processing tool, that supports batch or interactive use. The package also includes dc, and arbitrary precision reverse-Polish calculator. Homepage:

pinfo build fails with undefined macro: AM_INTL_SUBDIR

2023-04-11 Thread Andrew Schulman via Cygwin-apps
I'm trying to rebuild pinfo 0.6.13. That's the current version in Cygwin, so I know I was able to build it successfully a couple of years ago. But now when I try, the build fails with error: possibly undefined macro: AM_INTL_SUBDIR I'm afraid my grasp of autotools is too weak for me to know

Re: pinfo build fails with undefined macro: AM_INTL_SUBDIR

2023-04-11 Thread Corinna Vinschen via Cygwin-apps
On Apr 11 09:21, Andrew Schulman via Cygwin-apps wrote: > I'm trying to rebuild pinfo 0.6.13. That's the current version in Cygwin, so I > know I was able to build it successfully a couple of years ago. But now when I > try, the build fails with > > error: possibly undefined macro:

Re: [ANNOUNCEMENT] cygport 0.36.1-1

2023-04-11 Thread Jon Turney via Cygwin-apps
On 11/04/2023 05:14, Marco Atzeri wrote: On 26.03.2023 18:43, Jon Turney wrote: On 11/03/2023 20:15, Marco Atzeri via Cygwin-apps wrote: On 11.03.2023 17:29, Jon Turney via Cygwin wrote: The following packages have been uploaded to the Cygwin distribution: * cygport-0.36.1-1 Hi Jon, I

Re: pinfo build fails with undefined macro: AM_INTL_SUBDIR

2023-04-11 Thread Andrew Schulman via Cygwin-apps
> On Apr 11 09:21, Andrew Schulman via Cygwin-apps wrote: > > I'm trying to rebuild pinfo 0.6.13. That's the current version in Cygwin, > > so I > > know I was able to build it successfully a couple of years ago. But now > > when I > > try, the build fails with > > > > error: possibly