Re: tee: 'standard output': Permission denied

2020-12-29 Thread Takashi Yano via Cygwin
On Wed, 30 Dec 2020 14:03:58 +0900 Takashi Yano via Cygwin wrote: > On Wed, 30 Dec 2020 07:49:07 +0300 > Andry wrote: > > Hello Cygwin, > > > > >I am not sure why you don't wat to use script, > > >how about this then? > > > > > >@echo off > > >set CYGWIN_ROOT=... > > >set PWD=... > >

Re: Re: tee: 'standard output': Permission denied

2020-12-29 Thread Andry via Cygwin
Hello Cygwin, >Weird. In my environment, chcp surely changes the code page. Are you using cygwin 3.2.0 snapshot by any chance? Yes, in 3.1.x (cygwin64) it works. But the issue with the mixed CR / CR+LF in the log is still persist. -- Problem reports: https://cygwin.com/problems.html

Re: Re: tee: 'standard output': Permission denied

2020-12-29 Thread Andry via Cygwin
Hello Cygwin, One more issue with the script is that the line returns forces at some points as CR. When run bash from cmd.exe - CR+LF -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:https://cygwin.com/docs.html Unsu

Re: tee: 'standard output': Permission denied

2020-12-29 Thread Takashi Yano via Cygwin
On Wed, 30 Dec 2020 07:49:07 +0300 Andry wrote: > Hello Cygwin, > > >I am not sure why you don't wat to use script, > >how about this then? > > > >@echo off > >set CYGWIN_ROOT=... > >set PWD=... > >set PROJECT_LOG_FILE=... > > > >"%CYGWIN_ROOT%\bin\script" -q -a "%PROJECT_LOG_FIL

Re: Re: tee: 'standard output': Permission denied

2020-12-29 Thread Andry via Cygwin
Hello takashi, >or: >... > >cd "%PWD%" This does not work with long 260+ paths. -- 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-simp

tee: 'standard output': Permission denied

2020-12-29 Thread Andry via Cygwin
Hello Cygwin, >I am not sure why you don't wat to use script, >how about this then? > >@echo off >set CYGWIN_ROOT=... >set PWD=... >set PROJECT_LOG_FILE=... > >"%CYGWIN_ROOT%\bin\script" -q -a "%PROJECT_LOG_FILE%" -c "chcp.com 65001 > /dev/null 2>&1; cd \"%PWD%\"; CHERE_INVOKING

Re: tee: 'standard output': Permission denied

2020-12-29 Thread Takashi Yano via Cygwin
On Wed, 30 Dec 2020 13:02:58 +0900 Takashi Yano via Cygwin wrote: > I am not sure why you don't wat to use script, > how about this then? > > @echo off > set CYGWIN_ROOT=... > set PWD=... > set PROJECT_LOG_FILE=... > > "%CYGWIN_ROOT%\bin\script" -q -a "%PROJECT_LOG_FILE%" -c "chcp.com 65001 > >

Re: tee: 'standard output': Permission denied

2020-12-29 Thread Takashi Yano via Cygwin
On Wed, 30 Dec 2020 05:24:02 +0300 Andry wrote: > Hello takashi, > > >I cannot reproducue your problem even with chcp.com 65001 and > >start "" cmd.exe ... > Seems this is a bug specifically for the Windows 7 x64. > > >By the way, using tee for logging the output is not good > >idea because stdou

Re: Re: tee: 'standard output': Permission denied

2020-12-29 Thread Andry via Cygwin
Hello takashi, >I cannot reproducue your problem even with chcp.com 65001 and >start "" cmd.exe ... Seems this is a bug specifically for the Windows 7 x64. >By the way, using tee for logging the output is not good >idea because stdout is not a tty. Due to this, less command >does not work properl

Re: Re: tee: 'standard output': Permission denied

2020-12-29 Thread Andry via Cygwin
Hello Kometes, >Cannot repro... Logfile is created correctly and commands and their output are logged there. The file encoding for the logfile is utf-8. The issue found in the Windows 7 x64. >A couple of things though:1. changing \ to / does not guarantee a valid Cygwin path. Not

Re: tee: 'standard output': Permission denied

2020-12-29 Thread Takashi Yano via Cygwin
On Wed, 30 Dec 2020 00:50:56 +0300 Andry via Cygwin wrote: > Hello Cygwin, > > >I am trying to change directory before run a bash shell with login: > > I've minimized to a minimal example to repro the issue: > > *run_cygwin_bash.bat*: > > ``` > @echo off > > set CYGWIN_ROOT=... >

RE: [cygwin] DD bug fails to wipe last 48 sectors of a disk

2020-12-29 Thread Jason Pyeron
> -Original Message- > From: Brian Inglis > Sent: Tuesday, December 29, 2020 12:55 PM > > On 2020-12-28 19:41, Jason Pyeron wrote: > > On Monday, December 28, 2020 7:46 PM, Hashim Aziz wrote: > >> On 23 June 2020 8:33 PM, Brian Inglis wrote: > >>> I don't have the facilities to test, and t

Re: tee: 'standard output': Permission denied

2020-12-29 Thread Doug Henderson via Cygwin
On Tue, 29 Dec 2020 at 14:48, Andry via Cygwin wrote: > > "%CYGWIN_ROOT%\bin\bash.exe" -c "{ cd ""%PWD:\=/%""; CHERE_INVOKING=. > ""%CYGWIN_ROOT:\=/%/bin/bash.exe"" -l -i; } 2>&1 | > ""%CYGWIN_ROOT:\=/%/bin/tee.exe"" -a ""%PROJECT_LOG_FILE:\=/%""" > ``` > In most situations like this, I cre

Re: tee: 'standard output': Permission denied

2020-12-29 Thread Kevin Schnitzius via Cygwin
On Tuesday, December 29, 2020, 04:47:56 PM EST, Andry via Cygwin wrote: >  "%CYGWIN_ROOT%\bin\bash.exe" -c "{ cd ""%PWD:\=/%""; CHERE_INVOKING=. >""%CYGWIN_ROOT:\=/%/bin/bash.exe"" -l -i; } 2>&1 | >""%CYGWIN_ROOT:\=/%/bin/tee.exe"" -a ""%PROJECT_LOG_FILE:\=/%"""   ``` Cannot repro...  Logfile

tee: 'standard output': Permission denied

2020-12-29 Thread Andry via Cygwin
Hello Cygwin, >I am trying to change directory before run a bash shell with login: I've minimized to a minimal example to repro the issue: *run_cygwin_bash.bat*: ``` @echo off set CYGWIN_ROOT=... set PWD=... set PROJECT_LOG_FILE=... chcp.com 65001 >nul "%CYGWIN_ROOT%\bin

Re: [cygwin] DD bug fails to wipe last 48 sectors of a disk

2020-12-29 Thread Brian Inglis
On 2020-12-28 19:41, Jason Pyeron wrote: On Monday, December 28, 2020 7:46 PM, Hashim Aziz wrote: On 23 June 2020 8:33 PM, Brian Inglis wrote: I don't have the facilities to test, and there appear to be *NO* Windows documentation details on error condition handling, but my suspicion is that Un

[ANNOUNCEMENT] Rebuilt/Updated: pcre-8.44-1 / mingw-{i686, x86_64}-pcre-8.44-1

2020-12-29 Thread Achim Gratz
The PCRE library is a set of functions that implement regular expression pattern matching using the same syntax and semantics as Perl, with just a few differences. This is a rebuild of the latest upstream release with gcc10, along with the latest patchset from Fedora. The MinGW packages have

Re: cygwin introduces spaces in the console output when running a maven build for a java project in windows 10

2020-12-29 Thread Takashi Yano via Cygwin
On Tue, 29 Dec 2020 11:59:29 + Valentin Brasov via Cygwin wrote: > Hi, > > Check the following output fragment from a cygwin64 terminal on windows 10 > 64bit while running a maven 3 build using java 1.8: > > [INFO] Using 'UTF-8' encoding to copy filtered resources. > [INFO] skip non existin

Re: cygwin introduces spaces in the console output when running a maven build for a java project in windows 10

2020-12-29 Thread Marco Atzeri via Cygwin
On 29.12.2020 12:59, Valentin Brasov via Cygwin wrote: Hi, Check the following output fragment from a cygwin64 terminal on windows 10 64bit while running a maven 3 build using java 1.8: You can see it clearly happening on the lines: [INFO] skip non existing resourceDirectory C:\proj\t020-doma

cygwin introduces spaces in the console output when running a maven build for a java project in windows 10

2020-12-29 Thread Valentin Brasov via Cygwin
Hi, Check the following output fragment from a cygwin64 terminal on windows 10 64bit while running a maven 3 build using java 1.8: [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory C:\proj\t020-domain\src\ test\resources [INFO] [INFO] --- m

[ANNOUNCEMENT] Updated: xterm-363

2020-12-29 Thread Thomas Wolff
I have uploaded xterm-363. Upstream default configuration changes should also fix https://sourceware.org/pipermail/cygwin/2020-December/247060.html Thomas -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:https://cygwi