-rw-r--r-- | core/apps/embeddedkonsole/konsole.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/apps/embeddedkonsole/konsole.cpp b/core/apps/embeddedkonsole/konsole.cpp index 1016885..d54fa1f 100644 --- a/core/apps/embeddedkonsole/konsole.cpp +++ b/core/apps/embeddedkonsole/konsole.cpp | |||
@@ -93,64 +93,65 @@ public: | |||
93 | void removeTab(QWidget* w) | 93 | void removeTab(QWidget* w) |
94 | { | 94 | { |
95 | removePage(w); | 95 | removePage(w); |
96 | ((EKNumTabBar*)tabBar())->numberTabs(); | 96 | ((EKNumTabBar*)tabBar())->numberTabs(); |
97 | } | 97 | } |
98 | }; | 98 | }; |
99 | 99 | ||
100 | // This could be configurable or dynamicly generated from the bash history | 100 | // This could be configurable or dynamicly generated from the bash history |
101 | // file of the user | 101 | // file of the user |
102 | static const char *commonCmds[] = | 102 | static const char *commonCmds[] = |
103 | { | 103 | { |
104 | "ls ", // I left this here, cause it looks better than the first alpha | 104 | "ls ", // I left this here, cause it looks better than the first alpha |
105 | "cardctl eject", | 105 | "cardctl eject", |
106 | "cat ", | 106 | "cat ", |
107 | "cd ", | 107 | "cd ", |
108 | "chmod ", | 108 | "chmod ", |
109 | "clear", | 109 | "clear", |
110 | "cp ", | 110 | "cp ", |
111 | "dc ", | 111 | "dc ", |
112 | "df ", | 112 | "df ", |
113 | "dmesg", | 113 | "dmesg", |
114 | "echo ", | 114 | "echo ", |
115 | "env", | 115 | "env", |
116 | "find ", | 116 | "find ", |
117 | "free", | 117 | "free", |
118 | "grep ", | 118 | "grep ", |
119 | "ifconfig ", | 119 | "ifconfig ", |
120 | "ipkg ", | 120 | "ipkg ", |
121 | "mkdir ", | 121 | "mkdir ", |
122 | "mv ", | 122 | "mv ", |
123 | "nc localhost 7776", | 123 | "nc localhost 7776", |
124 | "nc localhost 7777", | 124 | "nc localhost 7777", |
125 | "netstat ", | ||
125 | "nslookup ", | 126 | "nslookup ", |
126 | "ping ", | 127 | "ping ", |
127 | "ps aux", | 128 | "ps aux", |
128 | "pwd ", | 129 | "pwd ", |
129 | "rm ", | 130 | "rm ", |
130 | "rmdir ", | 131 | "rmdir ", |
131 | "route ", | 132 | "route ", |
132 | "set ", | 133 | "set ", |
133 | "traceroute", | 134 | "traceroute", |
134 | 135 | ||
135 | /* | 136 | /* |
136 | "gzip", | 137 | "gzip", |
137 | "gunzip", | 138 | "gunzip", |
138 | "chgrp", | 139 | "chgrp", |
139 | "chown", | 140 | "chown", |
140 | "date", | 141 | "date", |
141 | "dd", | 142 | "dd", |
142 | "df", | 143 | "df", |
143 | "dmesg", | 144 | "dmesg", |
144 | "fuser", | 145 | "fuser", |
145 | "hostname", | 146 | "hostname", |
146 | "kill", | 147 | "kill", |
147 | "killall", | 148 | "killall", |
148 | "ln", | 149 | "ln", |
149 | "ping", | 150 | "ping", |
150 | "mount", | 151 | "mount", |
151 | "more", | 152 | "more", |
152 | "sort", | 153 | "sort", |
153 | "touch", | 154 | "touch", |
154 | "umount", | 155 | "umount", |
155 | "mknod", | 156 | "mknod", |
156 | "netstat", | 157 | "netstat", |