Hi Steve, in .rootrc file you may define C scripts to be executed on logon
and on logout:
------------------ ~murat/.rootrc
Unix.*.Root.MacroPath:.:~/root_macros:$(ROOTSYS)/tutorials
Unix*.Root.DynamicPath:.:~/rootlibs:$(LD_LIBRARY_PATH)
Root.Html.OutputDir:.
Root.Html.SourceDir:.:$(ROOTSYS)/src
Rint.Logon: $(HOME)/rootlogon.C
Rint.Logoff:
---------------------------------
For more details (there are more details) see http://root.cern.ch. -pasha.