From 7708a5f335c6b3256290775e7f5deb43b681bf03 Mon Sep 17 00:00:00 2001 From: Alexis211 Date: Wed, 21 Oct 2009 17:32:50 +0200 Subject: More work --- Source/Kernel/Shell/KernelShell-fs.class.cpp | 3 ++- Source/Kernel/Shell/KernelShell.class.cpp | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'Source/Kernel/Shell') diff --git a/Source/Kernel/Shell/KernelShell-fs.class.cpp b/Source/Kernel/Shell/KernelShell-fs.class.cpp index cd52810..a13ae6e 100644 --- a/Source/Kernel/Shell/KernelShell-fs.class.cpp +++ b/Source/Kernel/Shell/KernelShell-fs.class.cpp @@ -113,7 +113,8 @@ void KernelShell::run(Vector& args) { if (p == 0) { *m_vt << "Error while launching process.\n"; } else { - p->setVirtualTerminal(m_vt); + p->setInVT(m_vt); + p->setOutVT(m_vt); p->start(); while (p->getState() != P_FINISHED) Task::currThread()->sleep(10); delete p; diff --git a/Source/Kernel/Shell/KernelShell.class.cpp b/Source/Kernel/Shell/KernelShell.class.cpp index d90fc4c..232facf 100644 --- a/Source/Kernel/Shell/KernelShell.class.cpp +++ b/Source/Kernel/Shell/KernelShell.class.cpp @@ -19,7 +19,8 @@ u32int shellRun(void* ks) { void KernelShell::setup(DirectoryNode* cwd, VirtualTerminal *vt) { m_vt = vt; - Task::currProcess()->setVirtualTerminal(vt); + Task::currProcess()->setInVT(vt); + Task::currProcess()->setOutVT(vt); ((ScrollableVT*)m_vt)->map(9); Kbd::setFocus(m_vt); m_cwd = cwd; -- cgit v1.2.3