Hello David, Alexey,
with your help, I could solve the problem for me.
Thanks!
For who is interested in my workaround:
Yes, "chcp 1252" plus Lucida Console breaks the Cygwin output.
I first thought of wrapping all Cygwin commands into batch
scripts, like grep.bat containing "chcp 850; grep %*; chcp 1252".
That works, as long the (batch) commands aren't concatenated in
a pipe; then the first finishing batch script switches the
code page back too early.
Therefore, codepage 1252 is not an option for me, so I stay
with Codepage 850.
As a workaround I found, that
svn cat | cat
converts the output to the right display. That's ok for me.
I even considered to start the dos console with the command
cmd /K "cmd | cat"
that runs ALL output automatically through cat. That works
quite fine. Except that TAB key for file expansion doesn't
work any more. But this solution failed because of something
that I don't understand yet fully: some commands seem to be
able to adjust to codepage 850. Look:
"svn cat" works only fine at Codepage 1252.
But: "svn help ci" works fine with both, Codepage 850 and 1252.
So svn seems to be able to adjust to the Codepage sometimes.
And this "svn help ci" breaks my "cmd | cat" trick, as
"svn help ci" seems to be already adjusted to Codepage 850
somehow, and gets double-adjusted by "| cmd" and therefore
breaks the output. Sad thing. The "cmd | cat" would, once
installed, have been an invisible solution. Tja, well.
Paul.
Received on 2010-10-31 03:31:08 CET