[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:22:01 CEST

On 24/08/07, Simon Large <simon.tortoisesvn@googlemail.com> wrote:
> 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?

What a dumb question! Keep up, Simon. There are now 2 versions:
SubWCRev.exe and SubWCRevCOM.exe.

Next question. In the help file you changed the example to refer to
SubWCRev.object instead of SubWCRev.object.1, but the instructions
still refer to object.1, as does the .wxs file. Which is correct?

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 23:19:25 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.