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

Re: Some weirdness in SubWCRev console handling when run from "Far" file manager

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: 2007-08-24 18:34:44 CEST

Alexander Klenin wrote:
> Using TortoiseSVN 1.4.99, Build 10371 - 32 Bit -dev
> Far Manager is a popular file management software
> (http://farmanager.com/?l=en) which runs as a console application.
> I am not sure what is going on exactly, but running SubWCRev from Far
> results in a console input buffer filled with garbage after SubWCRev
> exits.
> This usually leads to infinite loop, since Enter code in input buffer
> causes Far to run SubWCRev again.
> Running SubWCRev from standard command line does not cause this, but
> AFAIU this is because cmd.exe clears input buffer itself.
> A workaround for me is to run SubWCRev from the batch file,
> immediately followed by the call of clearkeys.exe. Delphi source code
> of "clearkeys" is:
>
> {$APPTYPE CONSOLE}
> uses
> Windows;
> begin
> FlushConsoleInputBuffer(GetStdHandle(STD_INPUT_HANDLE));
> end.

Changed SubWCRev back to a plain console application in revision 10415.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Fri Aug 24 18:32:17 2007

This is an archived mail posted to the TortoiseSVN Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.