Re: [ROOT] tutorials

From: Fons Rademakers (Fons.Rademakers@cern.ch)
Date: Tue Dec 07 2004 - 00:44:22 MET


Hi Luiz,

   the rootrc files are always automatically read. First 
$ROOTSYS/etc/system.rootrc, then ~/.rootrc and then ./.rootrc are read. 
Where the settings in the latter override or add to the former. To see 
which settings are active do: gEnv->Print() in the ROOT shell.

Cheers, Fons.



Luiz Mundim wrote:
> 
> 
> Rene Brun wrote:
> 
>> Luiz,
>>
>> I do not understand your question. What do you mean by
>>  " I have to do it by hand"
>>  
>>
> I meant that I have to execute :
> 
> .x ~/.rootrc
> 
> every time I start root or I have to put a copy of the file rootlogon.C 
> in the directory from where I'm executing root.
> 
>> Did you remove the current directory "." from your macropath?
>>  
>>
> If this is not set up system wide, I should to that on the .rootrc file, 
> but I'm not being able to execute it automaticaly. So, it seems that it 
> has been taken off from the system wide setup by the system 
> administrator (Fermilab/Dzero), is that right?
> 
> Thanks.
> 
> Luiz
> 
>> Rene Brun
>>
>>  
>>
>>> Luiz Mundim wrote:
>>>
>>> I have such a file on my account, but it is not beeing executed, I 
>>> have to do
>>> it by hand. Do you know if there is some system wide setup that 
>>> prevents this
>>> file be executed?
>>>
>>> thanks.
>>>
>>> Luiz
>>>
>>> Rene Brun wrote:
>>>
>>>   
>>>
>>>> Hi Boris,
>>>>
>>>> $ROOTSYS/etc/system.rootrc is typically read-only for many users using
>>>> a standard group or lab) installation.
>>>> $HOME/.rootrc is a convenient place to define your own settings that
>>>> are valid for all your applications.
>>>> .rootrc is convenient when you want to customize some settings for a
>>>> particular application.
>>>>
>>>> Rene Brun
>>>>
>>>> On
>>>> Fri, 3 Dec 2004, Boris Skorodumov wrote:
>>>>
>>>>
>>>>
>>>>     
>>>>
>>>>> Dear Rooters,
>>>>>
>>>>> If i will add  "Unix.*.Root.MacroPath:      .:$(ROOTSYS)/tutorials"
>>>>> in my .rootrc file in $HOME directory, i can easily execute any 
>>>>> examples
>>>>> form $ROOTSYS/tutorials.
>>>>> I can also do the same thing but in $ROOTSYS/etc/system.rootrc file.
>>>>>
>>>>> Do you have any recommendations what the best way to do, or maybe 
>>>>> there
>>>>> is other way ?
>>>>>
>>>>> Thank you very much,
>>>>>
>>>>> Boris.
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>       
>>>>
>>>>     



This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:10 MET