diff --git a/terminal/plugins/org.eclipse.tm.terminal.control/META-INF/MANIFEST.MF b/terminal/plugins/org.eclipse.tm.terminal.control/META-INF/MANIFEST.MF index 73943f780ef..e9749de69dd 100644 --- a/terminal/plugins/org.eclipse.tm.terminal.control/META-INF/MANIFEST.MF +++ b/terminal/plugins/org.eclipse.tm.terminal.control/META-INF/MANIFEST.MF @@ -2,7 +2,7 @@ Manifest-Version: 1.0 Bundle-ManifestVersion: 2 Bundle-Name: %pluginName Bundle-SymbolicName: org.eclipse.tm.terminal.control; singleton:=true -Bundle-Version: 5.0.0.qualifier +Bundle-Version: 5.0.100.qualifier Bundle-Activator: org.eclipse.tm.internal.terminal.control.impl.TerminalPlugin Bundle-Vendor: %providerName Bundle-Localization: plugin diff --git a/terminal/plugins/org.eclipse.tm.terminal.control/about.properties b/terminal/plugins/org.eclipse.tm.terminal.control/about.properties index e6e6518939a..ad195fd530c 100644 --- a/terminal/plugins/org.eclipse.tm.terminal.control/about.properties +++ b/terminal/plugins/org.eclipse.tm.terminal.control/about.properties @@ -1,5 +1,5 @@ ############################################################################### -# Copyright (c) 2018, 2020 Contributors to the Eclipse Foundation +# Copyright (c) 2018, 2021 Contributors to the Eclipse Foundation # # See the NOTICE file(s) distributed with this work for additional # information regarding copyright ownership. @@ -24,7 +24,7 @@ blurb=TM Terminal Control\n\ Version: {featureVersion}\n\ Build id: {0}\n\ \n\ -Copyright (c) 2018, 2020 Contributors to the Eclipse Foundation +Copyright (c) 2018, 2021 Contributors to the Eclipse Foundation \n\ See the NOTICE file(s) distributed with this work for additional\n\ information regarding copyright ownership.\n\ diff --git a/terminal/plugins/org.eclipse.tm.terminal.control/src/org/eclipse/tm/internal/terminal/emulator/VT100Emulator.java b/terminal/plugins/org.eclipse.tm.terminal.control/src/org/eclipse/tm/internal/terminal/emulator/VT100Emulator.java index 03baff99903..b82f38fd01f 100644 --- a/terminal/plugins/org.eclipse.tm.terminal.control/src/org/eclipse/tm/internal/terminal/emulator/VT100Emulator.java +++ b/terminal/plugins/org.eclipse.tm.terminal.control/src/org/eclipse/tm/internal/terminal/emulator/VT100Emulator.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2003, 2018 Wind River Systems, Inc. and others. + * Copyright (c) 2003, 2021 Wind River Systems, Inc. and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License 2.0 * which accompanies this distribution, and is available at @@ -403,7 +403,8 @@ public class VT100Emulator implements ControlListener { break; case ANSISTATE_EXPECTING_PARAMETER_OR_COMMAND: - if (character == '?') { + // characters `<=>?` mark private commands + if (character >= '\u003c' && character <= '\u003f') { ansiState = ANSISTATE_EXPECTING_DEC_PRIVATE_COMMAND; break; } @@ -411,8 +412,7 @@ public class VT100Emulator implements ControlListener { // Parameters can appear after the '[' in an escape sequence, but they // are optional. - if (character == '@' || (character >= 'A' && character <= 'Z') - || (character >= 'a' && character <= 'z')) { + if (character >= '\u0040' && character < '\u007f') { ansiState = ANSISTATE_INITIAL; processAnsiCommandCharacter(character); } else { @@ -435,8 +435,7 @@ public class VT100Emulator implements ControlListener { // Parameters can appear after the '[?' in an escape sequence, but they // are optional. - if (character == '@' || (character >= 'A' && character <= 'Z') - || (character >= 'a' && character <= 'z')) { + if (character >= '\u0040' && character < '\u007f') { ansiState = ANSISTATE_INITIAL; processDecPrivateCommandCharacter(character); } else {