Editing msys.bat

Maurí­cio <briqueabraque-/[email protected]>
Newsgroups gmane.comp.gnu.mingw.msys
Message-ID <[email protected]>
Hi,

I've just found on the net that in a windows
console I can type:

chcp 65001

and it's going to use and understand UTF-8. I
would like to use that with MSYS, so I removed
the line that says:

start rxvt ... -e sh ...

and left instead just:

sh ...

That way, sh runs in a windows console. What I
would like to do is to first tell that same
console to use UTF-8, and thought this would
work:

chcp 65001
sh ...

But it doesn't. For same reason, the window
just desapear. Using something diferent do
work, like:

dir
sh ...

(i.e., in the sense that dir output is shown
and then I can use 'sh'.)

Do you know what can I do?

Thanks,
Maurício


------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.