Index: trunk/MagicSoft/Mars/Changelog
===================================================================
--- trunk/MagicSoft/Mars/Changelog	(revision 9493)
+++ trunk/MagicSoft/Mars/Changelog	(revision 9497)
@@ -19,4 +19,21 @@
                                                  -*-*- END OF LINE -*-*-
 
+ 2009/08/18 Thomas Bretz
+
+   * Makefile:
+     - replaced $OSTYPE by a call to "uname -s" converted to lower
+       case for compatibility
+
+   * mjobs/MJob.cc:
+     - output the name of the resoruce file in SetupEnv for convinience
+
+   * mjobs/MJCut.cc:
+     - write command line to output
+
+   * mbase/MEvtLoop.cc:
+     - improved some output
+
+
+
  2009/08/14 Daniela Dorner
 
@@ -179,5 +196,5 @@
      - added getter for command line
 
-   * mjobs/MJCalibration.cc, mjobs/MJCut.cc, mjobs/MJSpectrum.cc,
+   * mjobs/MJCalibration.cc, mjobs/MJSpectrum.cc,
      mjobs/MJStar.cc, mjobs/MJCalibrateSignal.cc:
      - write command line to output
Index: trunk/MagicSoft/Mars/Makefile
===================================================================
--- trunk/MagicSoft/Mars/Makefile	(revision 9493)
+++ trunk/MagicSoft/Mars/Makefile	(revision 9497)
@@ -15,4 +15,7 @@
 #
 #
+
+OSTYPE=$(shell uname -s | tr '[:upper:]' '[:lower:]')
+
 include Makefile.conf.$(OSTYPE)
 include Makefile.conf.general
Index: trunk/MagicSoft/Mars/NEWS
===================================================================
--- trunk/MagicSoft/Mars/NEWS	(revision 9493)
+++ trunk/MagicSoft/Mars/NEWS	(revision 9497)
@@ -19,4 +19,7 @@
 
    * All programs now store the command line as TNamed "CommandLine"
+
+   * the environment variable OSTYPE should now be obsolete. Instead
+     the output of "uname -s" converted to lower cases is used
 
  ;showplot:
@@ -103,5 +106,5 @@
 
    * jobmanager can be used more flexible now: via environnent variable
-     $AUTOMATIONSETUO more than one jobmanager per user can be started
+     $AUTOMATIONSETUP more than one jobmanager per user can be started
      using the same MARS version
      Usage: export AUTOMATIONSETUP=mysetup ; /fullpath/jobmanager
Index: trunk/MagicSoft/Mars/mbase/MEvtLoop.cc
===================================================================
--- trunk/MagicSoft/Mars/mbase/MEvtLoop.cc	(revision 9493)
+++ trunk/MagicSoft/Mars/mbase/MEvtLoop.cc	(revision 9497)
@@ -1030,5 +1030,5 @@
     prefix += ".";
 
-    *fLog << inf << "Reading resources for " << prefix /*TEnv::fRcName << " from " << env.GetRcName()*/ << endl;
+    *fLog << inf << "Looking for resources with prefix " << prefix /*TEnv::fRcName << " from " << env.GetRcName()*/ << endl;
 
     fLog->ReadEnv(env, prefix, print);
@@ -1042,5 +1042,5 @@
     if (fParList->ReadEnv(env, prefix, print)==kERROR)
     {
-        *fLog << err << "ERROR - Reading Environment file." << endl;
+        *fLog << err << "ERROR - Reading resource file." << endl;
         return kFALSE;
     }
@@ -1100,5 +1100,5 @@
     prefix += ".";
 
-    *fLog << inf << "Writing resources: " << prefix /*TEnv::fRcName << " to " << env.GetRcName()*/ << endl;
+    *fLog << inf << "Writing resources with prefix " << prefix /*TEnv::fRcName << " to " << env.GetRcName()*/ << endl;
 
     fLog->WriteEnv(env, prefix, print);
@@ -1113,5 +1113,5 @@
     if (fParList->WriteEnv(env, prefix, print)!=kTRUE)
     {
-        *fLog << err << "ERROR - Writing Environment file." << endl;
+        *fLog << err << "ERROR - Writing resource file." << endl;
         return kFALSE;
     }
Index: trunk/MagicSoft/Mars/mjobs/MJCut.cc
===================================================================
--- trunk/MagicSoft/Mars/mjobs/MJCut.cc	(revision 9493)
+++ trunk/MagicSoft/Mars/mjobs/MJCut.cc	(revision 9497)
@@ -320,4 +320,7 @@
     if (fDisplay)
         arr.Add(fDisplay);
+
+    TNamed cmdline("CommandLine", fCommandLine.Data());
+    arr.Add(&cmdline);
 
     const Int_t num = set.GetNumAnalysis();
Index: trunk/MagicSoft/Mars/mjobs/MJob.cc
===================================================================
--- trunk/MagicSoft/Mars/mjobs/MJob.cc	(revision 9493)
+++ trunk/MagicSoft/Mars/mjobs/MJob.cc	(revision 9497)
@@ -381,4 +381,6 @@
         return kTRUE;
 
+    *fLog << all << "Evaluating resources from: " << fEnv->GetRcName() << endl;
+
     if (!loop.ReadEnv(*fEnv, fEnvPrefix, fEnvDebug>2))
         return kFALSE;
