in the current version you'll need to change TRint::GetPrompt() in
the source and recompile (GetPrompt() is not public virtual). In the
new version you just can override GetPrompt() in a class inheriting
from TRint. New version will come begin August.
Cheers, Fons.
R. Eastman wrote:
>
> Greetings,
>
> I was wondering if it is possible to change the prompt string. I've
> embedded root into an application code I'm writing, and was wondering
> if it is possible to have it say something like
>
> myroot[1]
>
> instead of
>
> root[1]
>
> Cheers,
> Ronald G. Eastman
>
> Lawrence Livermore National Laboratory
> L-041
> 7000 East Avenue, PO Box 808, Livermore California 94551
> 001-925-423-7340
> reastman@llnl.gov
-- Org: CERN, European Laboratory for Particle Physics. Mail: 1211 Geneve 23, Switzerland Phone: +41 22 7679248 E-Mail: Fons.Rademakers@cern.ch Fax: +41 22 7677910