summaryrefslogtreecommitdiff
path: root/core
authorllornkcor <llornkcor>2002-02-03 14:15:02 (UTC)
committer llornkcor <llornkcor>2002-02-03 14:15:02 (UTC)
commite26c1409462b6c9c4931a5fa13c121f492747c27 (patch) (side-by-side diff)
tree066700138630d3167ac44d8f4e5850a3b294d0ba /core
parentee82c470b34819d24de543b30f150788fb58b2f1 (diff)
downloadopie-e26c1409462b6c9c4931a5fa13c121f492747c27.zip
opie-e26c1409462b6c9c4931a5fa13c121f492747c27.tar.gz
opie-e26c1409462b6c9c4931a5fa13c121f492747c27.tar.bz2
added clear to commandlist
Diffstat (limited to 'core') (more/less context) (ignore whitespace changes)
-rw-r--r--core/apps/embeddedkonsole/konsole.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/apps/embeddedkonsole/konsole.cpp b/core/apps/embeddedkonsole/konsole.cpp
index 653652a..1016885 100644
--- a/core/apps/embeddedkonsole/konsole.cpp
+++ b/core/apps/embeddedkonsole/konsole.cpp
@@ -77,64 +77,65 @@ public:
}
}
};
class EKNumTabWidget : public QTabWidget {
public:
EKNumTabWidget(QWidget* parent) : QTabWidget(parent)
{
}
void addTab(QWidget* w)
{
QTab* t = new QTab(QString::number(tabBar()->count()+1));
QTabWidget::addTab(w,t);
}
void removeTab(QWidget* w)
{
removePage(w);
((EKNumTabBar*)tabBar())->numberTabs();
}
};
// This could be configurable or dynamicly generated from the bash history
// file of the user
static const char *commonCmds[] =
{
"ls ", // I left this here, cause it looks better than the first alpha
"cardctl eject",
"cat ",
"cd ",
"chmod ",
+ "clear",
"cp ",
"dc ",
"df ",
"dmesg",
"echo ",
"env",
"find ",
"free",
"grep ",
"ifconfig ",
"ipkg ",
"mkdir ",
"mv ",
"nc localhost 7776",
"nc localhost 7777",
"nslookup ",
"ping ",
"ps aux",
"pwd ",
"rm ",
"rmdir ",
"route ",
"set ",
"traceroute",
/*
"gzip",
"gunzip",
"chgrp",
"chown",
"date",
"dd",