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
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?
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
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
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:
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%\";
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
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.
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
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:
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:
.
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
Documentation: http://cygwin.com
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 doing something odd
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/
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/
install is about (!) 200MB).
--
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
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]
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http
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,
Andry mailto:[EMAIL PROTECTED
of 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: http
19 matches
Mail list logo