Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUwe Stieber2014-11-05 12:12:48 +0000
committerUwe Stieber2014-11-05 12:12:48 +0000
commit33aceb0e2bd0909824eddb225260899f6d77e655 (patch)
treebdba58455c718c0ca9a8938118c6c9ff2f56d0aa
parentf76f28619d0f09e25c86dc8f5346a3526bebb808 (diff)
downloadorg.eclipse.tcf-33aceb0e2bd0909824eddb225260899f6d77e655.tar.gz
org.eclipse.tcf-33aceb0e2bd0909824eddb225260899f6d77e655.tar.xz
org.eclipse.tcf-33aceb0e2bd0909824eddb225260899f6d77e655.zip
Target Explorer: Switch default terminal type used to "xterm"
-rw-r--r--target_explorer/plugins/org.eclipse.tcf.te.runtime/src/org/eclipse/tcf/te/runtime/utils/Env.java2
-rw-r--r--target_explorer/plugins/org.eclipse.tcf.te.tcf.processes.core/src/org/eclipse/tcf/te/tcf/processes/core/launcher/ProcessLauncher.java4
2 files changed, 3 insertions, 3 deletions
diff --git a/target_explorer/plugins/org.eclipse.tcf.te.runtime/src/org/eclipse/tcf/te/runtime/utils/Env.java b/target_explorer/plugins/org.eclipse.tcf.te.runtime/src/org/eclipse/tcf/te/runtime/utils/Env.java
index 54d344fa8..8e3d6159b 100644
--- a/target_explorer/plugins/org.eclipse.tcf.te.runtime/src/org/eclipse/tcf/te/runtime/utils/Env.java
+++ b/target_explorer/plugins/org.eclipse.tcf.te.runtime/src/org/eclipse/tcf/te/runtime/utils/Env.java
@@ -57,7 +57,7 @@ public class Env {
// the cached environment
Map<String, String> env = new LinkedHashMap<String, String>(nativeEnv);
// Set the TERM environment variable if in terminal mode
- if (terminal) env.put("TERM", "ansi"); //$NON-NLS-1$ //$NON-NLS-2$
+ if (terminal) env.put("TERM", "xterm"); //$NON-NLS-1$ //$NON-NLS-2$
// On Windows, the environment variable names are not case-sensitive. However,
// we desire to preserve the original case. Build up a translation map between
diff --git a/target_explorer/plugins/org.eclipse.tcf.te.tcf.processes.core/src/org/eclipse/tcf/te/tcf/processes/core/launcher/ProcessLauncher.java b/target_explorer/plugins/org.eclipse.tcf.te.tcf.processes.core/src/org/eclipse/tcf/te/tcf/processes/core/launcher/ProcessLauncher.java
index 8bf1a5c8c..ae5c7fa1d 100644
--- a/target_explorer/plugins/org.eclipse.tcf.te.tcf.processes.core/src/org/eclipse/tcf/te/tcf/processes/core/launcher/ProcessLauncher.java
+++ b/target_explorer/plugins/org.eclipse.tcf.te.tcf.processes.core/src/org/eclipse/tcf/te/tcf/processes/core/launcher/ProcessLauncher.java
@@ -898,8 +898,8 @@ public class ProcessLauncher extends PlatformObject implements IProcessLauncher
boolean processConsole = properties.getBooleanProperty(IProcessLauncher.PROP_PROCESS_ASSOCIATE_CONSOLE);
if (processConsole) {
- // Assure that the TERM variable is set to "ansi"
- processEnv.put("TERM", "ansi"); //$NON-NLS-1$ //$NON-NLS-2$
+ // Assure that the TERM variable is set to "xterm"
+ processEnv.put("TERM", "xterm"); //$NON-NLS-1$ //$NON-NLS-2$
}
boolean attach = properties.getBooleanProperty(IProcessLauncher.PROP_PROCESS_ATTACH);

Back to the top