copy some methods from KPty - they are used only here, so they will be

deleted from kdelibs.

svn path=/trunk/KDE/kdebase/apps/konsole/; revision=676799
This commit is contained in:
Oswald Buddenhagen
2007-06-17 18:53:59 +00:00
parent b2ff3cd0dc
commit 87f3afcdd0
4 changed files with 60 additions and 19 deletions

View File

@@ -272,6 +272,7 @@ void Session::run()
if (!_initialWorkingDir.isEmpty())
QDir::setCurrent(_initialWorkingDir);
_shellProcess->setXonXoff(_flowControl);
_shellProcess->setErase(_emulation->getErase());
int result = _shellProcess->start(QFile::encodeName(_program),
arguments,
@@ -287,7 +288,6 @@ void Session::run()
return;
//QTimer::singleShot(0, this, SLOT(ptyError()));
}
_shellProcess->setErase(_emulation->getErase());
if (!_initialWorkingDir.isEmpty())
QDir::setCurrent(cwd_save);