tee: 'standard output': Permission denied

2020-12-31 Thread Andry
Hello Brian, >Seems to have been reported a few times with Windows Russian and fix suggested >was "chcp 1252" (which might not be too useful for many Russians), as there may >be encoding conversion bugs with UTF-8. Why not just switch a console to TrueType font like Lucida Console or

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

2020-12-30 Thread Andry
Hello Cygwin, >What weird is that if the font is other than raster font, this error does not occur. Sad, but seems the version of the cygwin is not related to the issue, it still fails in the cygwin64 3.1.x: `script: write failed: Permission denied` >Is this possibly a bug of windows?

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: 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: 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

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

tee: 'standard output': Permission denied

2020-12-26 Thread Andry via Cygwin
Hello Cygwin, I am trying to change directory before run a bash shell with login: "%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:\=/%""" , where: CYGWIN_R

bash does not recognize valid windows path: `bash: 'c:\windows\system32\cmd.exe' /c echo 123: command not found`

2019-03-27 Thread Andry via cygwin
If try to replace it by: 'c:/windows\system32\cmd.exe' /c echo 123 Then all works fine. I've checked it in the old 1.5.x version and seems this bug is there for ages. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: h

Cygwin.bat doesn't save original directory in OLDPWD after login

2008-08-17 Thread Andry
use batch file has been wroten incorrectly. This is correct: "%~dp0bin\bash" --login -i -- Best regards, Andry mailto:[EMAIL PROTECTED] -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html

Re: setup v2.573.2.3: Postinstall: "abnormal exit: exit code=126"

2008-08-10 Thread Andry
reference, what i told about. -- Best regards, Andry mailto:[EMAIL PROTECTED] -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/

Re: setup v2.573.2.3: Postinstall: "abnormal exit: exit code=126"

2008-08-10 Thread Andry
Hello cygwin, > On Sun, Aug 10, 2008 at 01:31:54AM +0400, Andry wrote: >So, in other words, you redescribing the problem that has already been >identified. You just wanted to spend a paragraph getting your kick in. I describing a set of problems. >And, unless the packages are doi

setup v2.573.2.3: Postinstall: "abnormal exit: exit code=126"

2008-08-09 Thread Andry
ese, even in postinstall scripts by using "install-info.exe" without checking it on existence, and of cause crashing if not. In other words, your minimal cygwin requirements is too big (minimal install is about (!) 200MB). -- Best regards, Andry mailto:[EMAIL PROTE

setup v2.573.2.3: Postinstall: "abnormal exit: exit code=126"

2008-08-09 Thread Andry
9 Ending cygwin install -- Best regards, Andry mailto:[EMAIL PROTECTED] -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/

setup v2.573.2.3: Postinstall: "abnormal exit: exit code=126"

2008-08-08 Thread Andry
ote: Installation Complete 2008/08/09 06:58:15 Ending cygwin install As you see "passwd-grp.sh" still failes and "/etc/passwd" didn't created, so bash still can't login. -- Best regards, Andry mailto:[EMAIL PROTECTED] -- Unsubscri

Re: Environment variables in bash don't get set from scripts

2008-01-15 Thread Andry
SET foo something". Any -deas? Thanks >-scott You can use printf for this purpose in bash environment: printf -v CPATH `cygpath -u -p $CPATH` # Update CPATH for gcc/g++ printf -v LIBRARY_PATH `cygpath -u -p $LIBRARY_PATH` # Update LIBRARY_PATH for gcc/g++ -- Best regards,

1.5.25-7: sh.exe crashes while building gcc.gnu.org svn for gcc 4.x

2008-01-13 Thread Andry
building gcc itself.. :( Here is my steps to build gcc 4.3: > configure --enable-languages=c,c++,objc > ... > make -- Best regards, Andry mailto:[EMAIL PROTECTED] -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: