[ROOT] Re: your mail

From: Fons Rademakers (Fons.Rademakers@cern.ch)
Date: Fri Aug 04 2000 - 14:43:49 MEST


Hi Claire,

  make sure there exists a file $ROOTSYS/system.rootrc or $SYSTEM/.rootrc
or $HOME/.rootrc or ./.rootrc. Next make sure that this file contains the
line:

Rint.Logon:              rootlogon.C

if that is the case rootlogon.C will be executed on startup of root.

Note: rootlogon.C must exist in the directory where you start root.
If you want only a global rootlogon.C change $HOME/.rootrc to:

Rint.Logon:              $(HOME)/rootlogon.C


Cheers, Fons.



On Fri, Aug 04, 2000 at 11:57:23AM +0000, Claire Gwenlan wrote:
> 
> Hi Everybody,
> 
> How do you get root to read your rootlogon.C file automatically as you
> open up root, rather than having to type .x rootlogon everytime?
> 
> Cheers,
> 
> Claire
> __________________________________
>  Claire Gwenlan
>  Department of Physics & Astronomy
>  University College London
>  Gower Street
>  LONDON
>  WC1E 6BT
> 
>  Tel: (0171) 419 3454
> _________________________________
> 

-- 
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 7677910



This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:31 MET