[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Bug in svn 0.26.0, 0.28.0 under Win32: It trash console codepage and/or font :(

From: Francois Beausoleil <fbos_at_users.sourceforge.net>
Date: 2003-08-25 22:14:02 CEST

Hello Lev,

I use a fr_CA version of Windows, and the same thing happens. Using DIR
after running Subversion commands causes all kinds of funny characters to
appear. For instance, DIR does not use regular commas or spaces. I
don't know what they are, but they only work on CP 850 instead of 1252.

After I run SVN commands, I will usually use CHCP 850 to reset the code
page to the right one.

At one point I had batch files which reset the CP back to 850 at the end,
but I dropped them. Might use them back later on.

My wrapper batch files looked like this:

svn.bat
==============
@svn.exe %*
@chcp 850 >/nul

I remember there is on Win2K/XP a % variable that means "all arguments",
but am not sure if it was %*. Maybe someone will correct me ?

Hope that helps !
François

On Mon, 25 Aug 2003 22:39:34 +0400, "Lev Serebryakov"
<lev@serebryakov.spb.ru> said:
> Hello, users! How are you?
>
> I'm using FAR manger. It is Norton Commander (Midnight commander for
> UNIX people) like feature-rich file manager.
>
> It runs in console window. And uses different pseudo-graphic lines
> to draw panels, etc.
>
> Version 1.70 beta 3 works fine with any console program but svn :(
>
> After svn run all frames are trashed. svn.exe is only console
> program I know (and I use tons of console programs, I prefer to work
> in console rather GUI), which trash console in such way. It seems,
> it set codepage of console and forget to return it back or something
> like this.
>
> Ok, newer version of FAR (1.70 beta 5) doesn't suffer from svn, but,
> I think, it is svn problem, not FAR's one, because, I repeat, svn is
> only program, which trash FAR console in such way.
>
> I attach two screenshots in PNG, which shows FAR console before 'svn
> help' run and after one.
>
> Even svn without parameters trash console.
>
>
> Lev Serebryakov
> /-----------------------------------------------\
> | FIDONet: 2:5030/661.0 |
> | E-Mail: lev@serebryakov.spb.ru |
> | Page: http://lev.serebryakov.spb.ru/ |
> | ICQ UIN: 3670018 |
> | Phone: You know, if you have world nodelist |
> \===============================================/
Developer of Java Gui Builder
http://jgb.sourceforge.net/

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Aug 25 22:15:19 2003

This is an archived mail posted to the Subversion Users mailing list.