RE: file disappear unexpectedly

From: Fine, Valeri <fine_at_bnl.gov>
Date: Wed, 1 Jul 2009 13:59:24 -0400

>
> I used the good-old "vi" and had such problem. Using a different
editor
> like emacs, it's OK.

Then it probably the "vi" issue rather ROOT.

Did you try to open some text file with two different "vi"'s simultaneously?

By the way, my favorite "free" editor for Windows is "notepad++" http://notepad-plus.sourceforge.net/uk/site.htm

 Valeri

>
> Cheers
> --Wei
>
> Bertrand Bellenot wrote:
> > Hi,
> >
> > I cannot reproduce the problem... (using joe editor in cygwin)
> > But anyway, on Windows, it is often not possible to change a macro
being
> used by ROOT.
> > But this is a OS (Windows) issue...
> >
> > Cheers,
> > Bertrand.
> >
> > -----Original Message-----
> > From: owner-roottalk_at_root.cern.ch

[mailto:owner-roottalk_at_root.cern.ch]
> On Behalf Of Wei Xie
> > Sent: Wednesday, July 01, 2009 04:03
> > To: roottalk (Mailing list discussing all aspects of the ROOT
system.)
> > Subject: [ROOT] file disappear unexpectedly
> >
> > This happens for VC++9.0 version of root. Following the following
steps,
> > the file being edited disappears unexpectedly.
> >
> > 1. open the first console (cygwin), and edit any simple code in it,
e.g.
> >
> > void oo()
> > {
> > cout<<"hello"<<endl;
> > }
> >
> > 2. open the second console, start ROOT and run the macro, e.g.
> >
> > .x oo.C
> >
> > 3. Don't quit ROOT after running the command.
> >
> > 4. go to the first console and make some changes on oo.C and save
it.
> >
> > 6. go to the second console, and type ".q" to quit ROOT.
> >
> > 7. check the oo.C now in the directory and it disappeared. Note that
the
> > same problem won't happen with the following code, i.e. w/o "void
oo()"
> >
> > {
> > cout<<"hello"<<endl;
> > }
> >
Received on Wed Jul 01 2009 - 19:59:30 CEST

This archive was generated by hypermail 2.2.0 : Thu Jul 02 2009 - 05:50:03 CEST