No. I thought that the format below was wrong, if it is correct, it is
not working.
Thanks
Luiz
Fons Rademakers wrote:
>Hi Liuz,
>
> so now it works?
>
>-- FOns
>
>
>On Wed, 2004-12-08 at 18:44, Luiz Mundim wrote:
>
>
>>Maybe it is not on the righ format. I just renamed my rootlogon.C. Sorry
>>if that is the case. Below is what I have inside my file.
>>
>>Thanks.
>>
>>Luiz
>>
>>{
>>gStyle->SetFillColor(0);
>>gStyle->SetOptStat(0);
>>gStyle->SetMarkerStyle(23);
>>gStyle->SetPadColor(0);
>>gStyle->SetCanvasColor(0);
>>gStyle->SetTitleFillColor(0);
>>gStyle->SetCanvasBorderMode(0);
>>gStyle->SetPadBorderMode(0);
>>//gStyle->SetOptFit(kTRUE);
>>gStyle->SetStatColor(0);
>>}
>>
>>
>>Fons Rademakers wrote:
>>
>>
>>
>>>Luiz,
>>>
>>>you cannot execute .rootrc via .x. What do you have in you .rootrc?
>>>
>>>-- Fons
>>>
>>>
>>>
>>>On Tue, 2004-12-07 at 04:21, Luiz Mundim wrote:
>>>
>>>
>>>
>>>
>>>>Hi Fons
>>>>
>>>>It is not happening on my system. I tested today and I did confirm that
>>>>when executing it explicitly via ".x" I get different results. Maybe it
>>>>has something to do with Dzero/Fermilab build.
>>>>
>>>>Thanks anyway.
>>>>
>>>>Luiz
>>>>
>>>>Fons Rademakers wrote:
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>>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