[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: Simon Large <simon.tortoisesvn_at_googlemail.com>
Date: 2007-08-24 23:02:33 CEST

On 24/08/07, Stefan Küng <tortoisesvn@gmail.com> wrote:
> 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.

Dumb user question. The COM interface still works OK like this?

Simon

-- 
       ___
  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 22:59:53 2007

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