if (isLinux && keyCode == e.VK_ALT_GRAPH) {
if (isLinux && keyCode == KeyEvent.VK_ALT_GRAPH) {
   private void processVTKeyPressed(KeyEvent e){      keyProcessed = true;//      displayInfo(e,"Pressed " + keyProcessed);      int keyCode = e.getKeyCode();      if (isLinux && keyCode == e.VK_ALT_GRAPH) {         isAltGr = true;      }//      if (linux)//      if (keyCode == e.VK_UNDEFINED ||//      if (keyCode == e.VK_ALT) {//         System.out.println(" cursor active " + screen.cursorActive);//         e.consume();//         return;//      }      if (      keyCode == e.VK_CAPS_LOCK ||            keyCode == e.VK_SHIFT ||            keyCode == e.VK_ALT ||            keyCode == e.VK_ALT_GRAPH         ) {//         displayInfo(e,"Pressed ");         return;      }//      displayInfo(e,"Pressed " + keyProcessed);      KeyStroke ks = KeyStroke.getKeyStroke(e.getKeyCode(),e.getModifiers(),false);      if (emulatorAction(ks,e)) {         return;      }      if (isLinux)         lastKeyStroke = keyMap.getKeyStrokeText(e,isAltGr);      else         lastKeyStroke = keyMap.getKeyStrokeText(e);      //System.out.println("lastKeyStroke " + lastKeyStroke);      if (lastKeyStroke != null && !lastKeyStroke.equals("null")) {         if (lastKeyStroke.startsWith("[") || lastKeyStroke.length() == 1) {            screen.sendKeys(lastKeyStroke);            if (recording)               recordBuffer.append(lastKeyStroke);         }         else {            session.executeMeMacro(lastKeyStroke);         }         if (lastKeyStroke.startsWith("[mark")) {            if (lastKeyStroke.equals("[markleft]") ||                  lastKeyStroke.equals("[markright]") ||                  lastKeyStroke.equals("[markup]") ||                  lastKeyStroke.equals("[markdown]")) {               session.doKeyBoundArea(e,lastKeyStroke);            }         }      }      else         keyProcessed = false;      if (keyProcessed)         e.consume();   }