From 651ba956dc1b5f257fef00f757bc8ec61bd1414e Mon Sep 17 00:00:00 2001 From: Ken Moore Date: Wed, 13 Apr 2016 13:31:20 -0400 Subject: Get the new terminal in a more functional state - highlight/copy/paste are now functional as well. --- desktop-utilities/lumina-terminal/TtyProcess.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'desktop-utilities/lumina-terminal/TtyProcess.cpp') 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