Re: project specific rootlogon

From: Axel Naumann <Axel.Naumann_at_cern.ch>
Date: Thu, 4 Nov 2010 14:59:48 -0700


Hi,

you could tell ROOT that your Logon script is at ~/.rootlogon.C. That in turn could contain

char* logon = gSystem->Which(".","rootlogon.C"); if (logon) {
  gInterpreter->ExecuteMacro(logon);
  delete [] logon;
}

Cheers, Axel.

On 11/4/10 2:12 PM, suvayu ali wrote:
> Hi,
>
> When ever I start ROOT, I want to run a global rootlogon, say
> ~/.rootlogon, and a project specific rootlogon.C in the project
> directory. Is this possible?
>
> I tried setting the following but it seems when set this way, ROOT
> ignores it completely.
>
> Rint.Logon: ~/.rootlogon:./rootlogon.C
>
> Any thoughts?
>
Received on Thu Nov 04 2010 - 22:59:54 CET

This archive was generated by hypermail 2.2.0 : Fri Nov 05 2010 - 05:50:01 CET