As adding some commands to the telnet server shell doesn't seem to be desirable in the application it's now done in the gui-specific code.

This commit is contained in:
oliverschmidt 2008-02-29 00:07:03 +00:00
parent aa7ba44fb1
commit c4250420ce

View file

@ -28,7 +28,7 @@
* *
* This file is part of the Contiki desktop OS. * This file is part of the Contiki desktop OS.
* *
* $Id: telnetd-gui.c,v 1.4 2008/02/09 18:51:56 oliverschmidt Exp $ * $Id: telnetd-gui.c,v 1.5 2008/02/29 00:07:03 oliverschmidt Exp $
* *
*/ */
@ -82,6 +82,12 @@ telnetd_gui_quit(void)
void void
telnetd_gui_init(void) telnetd_gui_init(void)
{ {
shell_file_init();
shell_ps_init();
shell_run_init();
shell_text_init();
shell_time_init();
ctk_window_new(&window, XSIZE, YSIZE, "Shell server"); ctk_window_new(&window, XSIZE, YSIZE, "Shell server");
CTK_WIDGET_ADD(&window, &loglabel); CTK_WIDGET_ADD(&window, &loglabel);
memset(log, 0, sizeof(log)); memset(log, 0, sizeof(log));