Index: trunk/MagicSoft/Cosy/gui/MGAccuracy.cc
===================================================================
--- trunk/MagicSoft/Cosy/gui/MGAccuracy.cc	(revision 1701)
+++ trunk/MagicSoft/Cosy/gui/MGAccuracy.cc	(revision 1702)
@@ -178,4 +178,6 @@
 
     InitCanvas();
+
+    SetNoContextMenu();
 }
 
Index: trunk/MagicSoft/Cosy/gui/MGCosy.cc
===================================================================
--- trunk/MagicSoft/Cosy/gui/MGCosy.cc	(revision 1701)
+++ trunk/MagicSoft/Cosy/gui/MGCosy.cc	(revision 1702)
@@ -238,11 +238,15 @@
     fList->Add(fAzSoll);
 
-
-    fError    = new TGLabel(f, "Error");
-    fMoving   = new TGLabel(f, "Moving");
-    fTracking = new TGLabel(f, "Tracking");
-    fStopping = new TGLabel(f, "Stopping");
-    fStopped  = new TGLabel(f, "Stopped");
-
+    fError     = new TGLabel(f, "Error");
+    fMoving    = new TGLabel(f, "Moving");
+    fTracking  = new TGLabel(f, "Tracking");
+    fStopping  = new TGLabel(f, "Stopping");
+    fStopped   = new TGLabel(f, "Stopped");
+    fAvailMac1 = new TGLabel(f, "- MAC1 -");
+    fAvailMac2 = new TGLabel(f, "- MAC2 -");
+    fAvailMac3 = new TGLabel(f, "- MAC3 -");
+    fAvailSe1  = new TGLabel(f, "-SE/Zd1-");
+    fAvailSe2  = new TGLabel(f, "-SE/Zd2-");
+    fAvailSe3  = new TGLabel(f, "- SE/Az -");
 
     ULong_t color;
@@ -250,4 +254,10 @@
     gClient->GetColorByName("Red", color);
     fError->SetBackgroundColor(color);
+    fAvailMac1->SetBackgroundColor(color);
+    fAvailMac2->SetBackgroundColor(color);
+    fAvailMac3->SetBackgroundColor(color);
+    fAvailSe1->SetBackgroundColor(color);
+    fAvailSe2->SetBackgroundColor(color);
+    fAvailSe3->SetBackgroundColor(color);
     gClient->GetColorByName("LightBlue", color);
     fMoving->SetBackgroundColor(color);
@@ -264,4 +274,10 @@
     fStopping->Move(10, 25+60);
     fStopped ->Move(10, 25+80);
+    fAvailMac1->Move(10, 25+120);
+    fAvailMac2->Move(10, 25+140);
+    fAvailMac3->Move(10, 25+160);
+    fAvailSe1->Move(10, 25+180);
+    fAvailSe2->Move(10, 25+200);
+    fAvailSe3->Move(10, 25+220);
 
     fError   ->Resize(60, 20);
@@ -270,4 +286,10 @@
     fStopping->Resize(60, 20);
     fStopped ->Resize(60, 20);
+    fAvailMac1->Resize(60, 20);
+    fAvailMac2->Resize(60, 20);
+    fAvailMac3->Resize(60, 20);
+    fAvailSe1->Resize(60, 20);
+    fAvailSe2->Resize(60, 20);
+    fAvailSe3->Resize(60, 20);
 
     fList->Add(fError);
@@ -276,4 +298,10 @@
     fList->Add(fStopping);
     fList->Add(fStopped);
+    fList->Add(fAvailMac1);
+    fList->Add(fAvailMac2);
+    fList->Add(fAvailMac3);
+    fList->Add(fAvailSe1);
+    fList->Add(fAvailSe2);
+    fList->Add(fAvailSe3);
 }
 
@@ -679,4 +707,25 @@
     cout << "MGCosy::~MGCosy done." << endl;
 }
+
+void MGCosy::SetLabelColor(TGLabel *label, Bool_t col)
+{
+    ULong_t red, green;
+
+    gClient->GetColorByName("Red",   red);
+    gClient->GetColorByName("Green", green);
+
+    if (col && label->TestBit(BIT(14)))
+        return;
+
+    if (!col && !label->TestBit(BIT(14)))
+        return;
+
+    col ? label->SetBit(BIT(14)) : label->ResetBit(BIT(14));
+
+    label->UnmapWindow();
+    label->SetBackgroundColor(col ? green : red);
+    label->MapWindow();
+}
+
 // ======================================================================
 void MGCosy::EnableLabel(TGLabel *label, Bool_t stat)
@@ -823,5 +872,5 @@
 
 void MGCosy::Update(ZdAz pos, ZdAz acc, ZdAz vel, ZdAz off, RaDec radec,
-                    ZdAz soll, UInt_t stat)
+                    ZdAz soll, UInt_t stat, UInt_t stat2)
 {
     double mjd = UpdateTime();
@@ -848,4 +897,11 @@
     EnableLabel(fZdSoll,   stat&kMoving);
     EnableLabel(fAzSoll,   stat&kMoving);
+
+    SetLabelColor(fAvailMac1, stat2&0x01);
+    SetLabelColor(fAvailMac2, stat2&0x02);
+    SetLabelColor(fAvailMac3, stat2&0x04);
+    SetLabelColor(fAvailSe1,  stat2&0x08);
+    SetLabelColor(fAvailSe2,  stat2&0x10);
+    SetLabelColor(fAvailSe3,  stat2&0x20);
 
     stat&kTracking ? fAccuracy->MapWindow() : fAccuracy->UnmapWindow();
Index: trunk/MagicSoft/Cosy/gui/MGCosy.h
===================================================================
--- trunk/MagicSoft/Cosy/gui/MGCosy.h	(revision 1701)
+++ trunk/MagicSoft/Cosy/gui/MGCosy.h	(revision 1702)
@@ -77,4 +77,10 @@
     TGLabel *fStopping;
     TGLabel *fStopped;
+    TGLabel *fAvailMac1;
+    TGLabel *fAvailMac2;
+    TGLabel *fAvailMac3;
+    TGLabel *fAvailSe1;
+    TGLabel *fAvailSe2;
+    TGLabel *fAvailSe3;
 
     TGListBox *fLog;
@@ -91,4 +97,5 @@
 
     void EnableLabel(TGLabel *label, Bool_t stat);
+    void SetLabelColor(TGLabel *label, Bool_t col);
     void UpdateOffset(ZdAz &off);
     void UpdateZdAz(ZdAz &off);
@@ -108,5 +115,5 @@
     TGListBox *GetLog() const { return fLog; }
 
-    void Update(ZdAz pos, ZdAz acc, ZdAz vel, ZdAz off, RaDec radec, ZdAz soll, UInt_t stat);
+    void Update(ZdAz pos, ZdAz acc, ZdAz vel, ZdAz off, RaDec radec, ZdAz soll, UInt_t stat, UInt_t stat2);
 
     Bool_t ProcessMessage(Long_t msg, Long_t mp1, Long_t mp2);
Index: trunk/MagicSoft/Cosy/gui/MGEmbeddedCanvas.cc
===================================================================
--- trunk/MagicSoft/Cosy/gui/MGEmbeddedCanvas.cc	(revision 1701)
+++ trunk/MagicSoft/Cosy/gui/MGEmbeddedCanvas.cc	(revision 1702)
@@ -52,4 +52,9 @@
 }
 
+// ------------------------------------------------------------------------
+//
+// Map the subwindows, resize to its quadratic size, map the window itself
+// and set it to Non-Editable.
+//
 void MGEmbeddedCanvas::InitCanvas()
 {
@@ -71,5 +76,5 @@
     // X11 Pixmap error) Update hangs the Gui system.
     //
-    // Fixed: Using root 3.01/06 and doing the update from within the
+    // Fixed: By using root 3.01/06 and doing the update from within the
     // mainthread.
     //
@@ -80,2 +85,15 @@
     fModified = kFALSE;
 }
+
+// ------------------------------------------------------------------------
+//
+//  Set's the kNoContextMenu bit for all primitives in the embedded canvas
+//  and the canvas itself, so that no context menu is displayed.
+//
+void MGEmbeddedCanvas::SetNoContextMenu()
+{
+    TList &list = *fCanvas->GetListOfPrimitives();
+    list.ForEach(TObject, SetBit)(kNoContextMenu);
+
+    fCanvas->SetBit(kNoContextMenu);
+}
Index: trunk/MagicSoft/Cosy/gui/MGEmbeddedCanvas.h
===================================================================
--- trunk/MagicSoft/Cosy/gui/MGEmbeddedCanvas.h	(revision 1701)
+++ trunk/MagicSoft/Cosy/gui/MGEmbeddedCanvas.h	(revision 1702)
@@ -41,4 +41,6 @@
     void SetModified() { fModified = kTRUE; }
 
+    void SetNoContextMenu();
+
     ClassDef(MGEmbeddedCanvas, 0)
 };
Index: trunk/MagicSoft/Cosy/gui/MGSkyPosition.cc
===================================================================
--- trunk/MagicSoft/Cosy/gui/MGSkyPosition.cc	(revision 1701)
+++ trunk/MagicSoft/Cosy/gui/MGSkyPosition.cc	(revision 1702)
@@ -177,4 +177,5 @@
     InitText();
     InitCanvas();
+    SetNoContextMenu();
 }
 
Index: trunk/MagicSoft/Cosy/gui/MGVelocity.cc
===================================================================
--- trunk/MagicSoft/Cosy/gui/MGVelocity.cc	(revision 1701)
+++ trunk/MagicSoft/Cosy/gui/MGVelocity.cc	(revision 1702)
@@ -188,4 +188,6 @@
 
     InitCanvas();
+
+    SetNoContextMenu();
 }
 
