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
1 changed files with 7 additions and 1 deletions

View File

@ -28,7 +28,7 @@
*
* 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
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_WIDGET_ADD(&window, &loglabel);
memset(log, 0, sizeof(log));