summaryrefslogtreecommitdiff
path: root/core
authorllornkcor <llornkcor>2002-04-28 22:47:19 (UTC)
committer llornkcor <llornkcor>2002-04-28 22:47:19 (UTC)
commit28d8806d21ec8fbc806d80614fd496f6b5ca6b55 (patch) (side-by-side diff)
tree6cfe74bb3ad852662a7e0854d5d589df25fd56ee /core
parent726d985ddb6a5c7eb25a48efdadb189eb38b9a2a (diff)
downloadopie-28d8806d21ec8fbc806d80614fd496f6b5ca6b55.zip
opie-28d8806d21ec8fbc806d80614fd496f6b5ca6b55.tar.gz
opie-28d8806d21ec8fbc806d80614fd496f6b5ca6b55.tar.bz2
whoops
Diffstat (limited to 'core') (more/less context) (ignore whitespace changes)
-rw-r--r--core/apps/embeddedkonsole/konsole.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/core/apps/embeddedkonsole/konsole.cpp b/core/apps/embeddedkonsole/konsole.cpp
index adcfb7f..f13d0c9 100644
--- a/core/apps/embeddedkonsole/konsole.cpp
+++ b/core/apps/embeddedkonsole/konsole.cpp
@@ -147,50 +147,49 @@ static const char *commonCmds[] =
"fuser",
"hostname",
"kill",
"killall",
"ln",
"ping",
"mount",
"more",
"sort",
"touch",
"umount",
"mknod",
"netstat",
*/
"exit",
NULL
};
Konsole::Konsole(QWidget* parent, const char* name, WFlags fl) :
QMainWindow(parent, name, fl)
{
QStrList args;
- init("/bin/ash",args);
-// init("/bin/sh",args);
+ init("/bin/sh",args);
}
Konsole::Konsole(const char* name, const char* _pgm, QStrList & _args, int)
: QMainWindow(0, name)
{
init(_pgm,_args);
}
void Konsole::initCommandList()
{
// qDebug("Konsole::initCommandList");
Config cfg("Konsole");
cfg.setGroup("Commands");
commonCombo->setInsertionPolicy(QComboBox::AtCurrent);
commonCombo->clear();
if (cfg.readEntry("Commands Set","FALSE") == "FALSE") {
for (int i = 0; commonCmds[i] != NULL; i++) {
commonCombo->insertItem(commonCmds[i],i);
}
} else {
for (int i = 0; i < 100; i++) {
if (!(cfg.readEntry( QString::number(i),"")).isEmpty())
commonCombo->insertItem((cfg.readEntry( QString::number(i),"")));
}