RE:Re: [CINT] [ROOT] CINT scripts (fwd)

From: Masaharu Goto (MXJ02154@nifty.ne.jp)
Date: Sat Feb 23 2002 - 01:27:36 MET


Hello Fons,

.n, .z and .< commands have nothing to do with the readline
library. It is my original implementation in Cint.

Thank you
Masaharu Goto


>Date: 22 Feb 2002 10:21:55 +0100
>From: Fons Rademakers <Fons.Rademakers@cern.ch>
>To: Valentin Kostov <valio@pacific.mps.ohio-state.edu>
>Cc: Masaharu Goto <MXJ02154@nifty.ne.jp>, roottalk@pcroot.cern.ch
>Subject: Re: [CINT] [ROOT] CINT scripts (fwd)
>
>Hi Valentin,
>
>  the .n and .z are not available yet via ROOT since we don't use the
>readline library. We'll investigate how to fix this.
>
>Cheers, Fons.
>
>
>
>On Fri, 2002-02-22 at 00:05, Valentin Kostov wrote:
>> Thank you for your suggestions!
>> 
>> I tried the commands you suggested at the ROOT prompt.
>> Here is what I got:
>> 
>> root [0] .
>> root [1] .n comdump
>> Create new readline dumpfile comdump and start dump
>> root [2] .L topElectron.C
>> root [3] .L topHeader.C
>> root [4] .L topJet.C
>> root [5] .L topMet.C
>> root [6] .L topHepg.C
>> root [7] .L topOfflTrack.C
>> root [8] .L topPrimaryVertex.C
>> root [9] .L bbana.cc
>> root [10] .trace bbana
>> trace bbana object on
>> root [11] .z
>> Stop readline dump.
>> All readline dumpfiles have been closed.
>> root [12] .q
>> 
>> 
>> Indeed, a file called "comdump" was created in the current directory
>> but it was empty (checked with cat).  I tried to execute it anyway in
>> another root session and the result was:
>> 
>> root [0] .< comdump
>> Execute readline dumpfile comdump
>> root [1]
>> 
>> Obviously the file was empty, otherwise there would have been a message
>> "trace bbana object on".
>> 
>> It's interesting that the description of the ".n"and ".z"  commands
>> can't be found typing .help in my root.  Also they print messages as if
>> they worked but the result was nothing.
>> 
>> Is it possible that my root is not correctly installed which prevents
>> these commands from proper execution?
>> 
>> 
>> Greetings,
>> Valio
>> 
>> 
>> 
>> 
>-- 
>Org:    CERN, European Laboratory for Particle Physics.
>Mail:   1211 Geneve 23, Switzerland
>E-Mail: Fons.Rademakers@cern.ch              Phone: +41 22 7679248
>WWW:    http://root.cern.ch/~rdm/            Fax:   +41 22 7679480



This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:50:42 MET