Include wget shell command in "standard" shell environments.
This commit is contained in:
parent
7aa23e002a
commit
c109e102c4
4 changed files with 11 additions and 6 deletions
|
@ -28,7 +28,7 @@
|
|||
*
|
||||
* This file is part of the Contiki desktop OS.
|
||||
*
|
||||
* $Id: gui-shell.c,v 1.5 2008/02/28 23:50:02 oliverschmidt Exp $
|
||||
* $Id: gui-shell.c,v 1.6 2008/11/10 22:10:32 oliverschmidt Exp $
|
||||
*
|
||||
*/
|
||||
|
||||
|
@ -120,6 +120,7 @@ PROCESS_THREAD(shell_gui_process, ev, data)
|
|||
shell_run_init();
|
||||
shell_text_init();
|
||||
shell_time_init();
|
||||
shell_wget_init();
|
||||
|
||||
ctk_window_open(&window);
|
||||
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
*
|
||||
* This file is part of the Contiki desktop OS.
|
||||
*
|
||||
* $Id: telnetd-gui.c,v 1.5 2008/02/29 00:07:03 oliverschmidt Exp $
|
||||
* $Id: telnetd-gui.c,v 1.6 2008/11/10 22:10:33 oliverschmidt Exp $
|
||||
*
|
||||
*/
|
||||
|
||||
|
@ -87,6 +87,7 @@ telnetd_gui_init(void)
|
|||
shell_run_init();
|
||||
shell_text_init();
|
||||
shell_time_init();
|
||||
shell_wget_init();
|
||||
|
||||
ctk_window_new(&window, XSIZE, YSIZE, "Shell server");
|
||||
CTK_WIDGET_ADD(&window, &loglabel);
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
*
|
||||
* This file is part of the Contiki operating system.
|
||||
*
|
||||
* $Id: telnet-server.c,v 1.2 2008/02/28 23:12:47 oliverschmidt Exp $
|
||||
* $Id: telnet-server.c,v 1.3 2008/11/10 22:10:33 oliverschmidt Exp $
|
||||
*/
|
||||
|
||||
/**
|
||||
|
@ -54,7 +54,8 @@ PROCESS_THREAD(shell_init_process, ev, data)
|
|||
shell_run_init();
|
||||
shell_text_init();
|
||||
shell_time_init();
|
||||
|
||||
shell_wget_init();
|
||||
|
||||
PROCESS_END();
|
||||
}
|
||||
/*---------------------------------------------------------------------------*/
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
#
|
||||
# Author: Oliver Schmidt <ol.sc@web.de>
|
||||
#
|
||||
# $Id: Makefile,v 1.8 2008/02/09 18:56:26 oliverschmidt Exp $
|
||||
# $Id: Makefile,v 1.9 2008/11/10 22:10:33 oliverschmidt Exp $
|
||||
#
|
||||
|
||||
PRGS = about calc dhcp directory email ftp irc netconf processes shell \
|
||||
|
@ -43,7 +43,9 @@ appname = ${subst processes,process-list,${subst www,webbrowser,$(1)}}
|
|||
|
||||
# Omit all the target and network stack specific shell commands
|
||||
SHELL_SOURCEFILES = shell.c shell-file.c shell-ps.c shell-run.c \
|
||||
shell-text.c shell-time.c list.c random.c
|
||||
shell-text.c shell-time.c shell-wget.c \
|
||||
http-strings.c http-user-agent-string.c \
|
||||
webclient.c list.c random.c
|
||||
|
||||
# Use gui-shell.c instead of serial-shell.c to get CTK support
|
||||
override shell_src = gui-shell.c ctk-textentry-cmdline.c \
|
||||
|
|
Loading…
Add table
Reference in a new issue