summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/apps/embeddedkonsole/konsole.cpp11
1 files changed, 6 insertions, 5 deletions
diff --git a/core/apps/embeddedkonsole/konsole.cpp b/core/apps/embeddedkonsole/konsole.cpp
index efcb1f2..f154bb8 100644
--- a/core/apps/embeddedkonsole/konsole.cpp
+++ b/core/apps/embeddedkonsole/konsole.cpp
@@ -51,9 +51,8 @@
#include "konsole.h"
#include "keytrans.h"
-
class EKNumTabBar : public QTabBar {
public:
void numberTabs()
{
@@ -111,8 +110,9 @@ static const char *commonCmds[] =
"dc ",
"df ",
"dmesg",
"echo ",
+ "env",
"find ",
"free",
"grep ",
"ifconfig ",
@@ -120,9 +120,8 @@ static const char *commonCmds[] =
"mkdir ",
"mv ",
"nc localhost 7776",
"nc localhost 7777",
- "netstat ",
"nslookup ",
"ping ",
"ps aux",
"pwd ",
@@ -296,12 +295,14 @@ void Konsole::init(const char* _pgm, QStrList & _args)
secondToolBar->setHorizontalStretchable( TRUE );
commonCombo = new QComboBox( secondToolBar );
- if( listHidden)
- secondToolBar->hide();
configMenu->insertItem( "Edit Command List");
-
+ if( listHidden) {
+ secondToolBar->hide();
+ configMenu->setItemEnabled(-20 ,FALSE);
+ }
+
cfg.setGroup("Commands");
commonCombo->setInsertionPolicy(QComboBox::AtCurrent);
for (int i = 0; commonCmds[i] != NULL; i++) {