using ROOT from Netscape

From: Pasha Murat (murat@cdfsga.fnal.gov)
Date: Mon Feb 23 1998 - 20:36:35 MET


	Hello,

there was already a discussion of how to call ROOT from Netscape and Valery
Fine gave a recipe of how to do it on Windows. Here is a UNIX equivalent:

- from Options->General menu you tell Netscape about your personal Types file 
  (the default is ~/.mime.types) and your personal Mailcap file (the default
  is ~/.mailcap)

- you create .mime.types with just one line (or add this line ot the existing
  file):

---------- ~/.mime.types

type=application/root          exts=C           icon=internal-gopher-image

--------------

- then you add one more line to your .mailcap file (which is created by Netscape
  by default on UNIX):

application/root; root %.s

and this is it. By clicking on .C (which is supposed to be a ROOT macro in 
this example) you now ask root to execute this macro. 
this could provide a good and reliable way to maintain plots etc...especially
for large collaborations.

Thanks go to George Velev (CDF) who told me about the existence of personal
Types file.

There was one thing which I failed to do though, namely to tell Netscape 
to run TBrowser on  a .root file...

					Any suggestions?	

						Regards, Pasha.



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:34:30 MET