aboutsummaryrefslogtreecommitdiff
path: root/desktop-utilities/lumina-terminal/TtyProcess.cpp
diff options
context:
space:
mode:
authorKen Moore <moorekou@gmail.com>2016-04-13 13:31:20 -0400
committerKen Moore <moorekou@gmail.com>2016-04-13 13:31:20 -0400
commit651ba956dc1b5f257fef00f757bc8ec61bd1414e (patch)
tree00e0259a7f50f455595816e028f5986d6e974e4c /desktop-utilities/lumina-terminal/TtyProcess.cpp
parentMinor cleanup of some build system files. No real changes. (diff)
downloadlumina-651ba956dc1b5f257fef00f757bc8ec61bd1414e.tar.gz
lumina-651ba956dc1b5f257fef00f757bc8ec61bd1414e.tar.bz2
lumina-651ba956dc1b5f257fef00f757bc8ec61bd1414e.zip
Get the new terminal in a more functional state - highlight/copy/paste are now functional as well.
Diffstat (limited to 'desktop-utilities/lumina-terminal/TtyProcess.cpp')
-rw-r--r--desktop-utilities/lumina-terminal/TtyProcess.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/desktop-utilities/lumina-terminal/TtyProcess.cpp b/desktop-utilities/lumina-terminal/TtyProcess.cpp
index 7a68a7d1..542af93d 100644
--- a/desktop-utilities/lumina-terminal/TtyProcess.cpp
+++ b/desktop-utilities/lumina-terminal/TtyProcess.cpp
@@ -18,8 +18,10 @@ bool TTYProcess::startTTY(QString prog, QStringList args, QString workdir){
if(workdir=="~"){ workdir = QDir::homePath(); }
QDir::setCurrent(workdir);
QProcessEnvironment env = QProcessEnvironment::systemEnvironment();
- setenv("TERM","lumina-terminal",1);
- setenv("TERMCAP","",1); //see /etc/termcap as well
+ setenv("TERM","vt102",1); //VT102 emulation support
+ unsetenv("TERMCAP");
+ /*setenv("TERMCAP","mvterm|vv100|mvterm emulator with ANSI colors:\
+ :pa#64:Co#8:AF=\E[3%dm:AB=\E[4%dm:op=\E[100m:tc=vt102:",1); //see /etc/termcap as well*/
QStringList filter = env.keys().filter("XTERM");
for(int i=0; i<filter.length(); i++){ unsetenv(filter[i].toLocal8Bit().data()); }
//if(env.contains("TERM")){ unsetenv("TERM"); }
bgstack15