I am just getting started with ROOT and following the tutorials. (I'm using an HP 712/80 machine.) I have noticed that inspite that one needs the file .rootrc it is not present in the NA49 tutorial directory. I have copied therefore the file from Netscape: # Path used by dynamic loader to find shared libraries *.Root.DynamicPath: .:~/rootlibs:$ROOTDIR/lib # Activate memory statistics Rint.Root.MemStat: 1 Rint.Load: rootalias.C Rint.Logon: rootlogon.C Rint.Logoff: rootlogoff.C together with rootalias.C, rootlogon.C, rootlogoff.C. My rootlogon.C is this: { printf("Welcome to the ROOT world"); } My rootlogoff.C is this: { printf("Hope you have enjoyed ROOT -- See you next time"); } Invoking root I get only this: ******************************************* * * * W E L C O M E to R O O T * * * * Version 0.90/12 13 January 1997 * * * * You are welcome to visit our Web site * * http://root.cern.ch * * * ******************************************* CINT/ROOT C/C++ Interpreter version 5.11.29, Dec 5 1996 Type ? for help. Commands must be C++ statements. Enclose multiple statements between { }. i.e. no trace from the rootlogon.C. As next command I logoff: .q and only now I get a trace from the rootlogon.C however in a rather strange format: Welcome to the ROOT worldHope you have enjoyed ROOT -- See you next timeHeap statistics size alloc free diff ================================================ 4 10 1 9 5 25 0 25 6 35 0 35 etc... What did I do wrong? Thanks. -- --------------------------------------------------------------------------- | Elemer Nagy | Phone : (+33) 04-91-82-72-73 | | C.P.P.M. | Fax : (+33) 04-91-82-72-99 | | 163, av. de Luminy Case 907 | Internet : nagy@cppm.in2p3.fr | | F-13288 Marseille CEDEX 09 | | | FRANCE | | ---------------------------------------------------------------------------
This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:26:20 MET