Accomodate for the now more complex shell output.

This commit is contained in:
oliverschmidt 2008-02-09 18:51:56 +00:00
parent b1c748c137
commit f244bdbf2d
2 changed files with 6 additions and 6 deletions

View file

@ -28,7 +28,7 @@
*
* This file is part of the Contiki desktop OS.
*
* $Id: telnetd-gui.c,v 1.3 2008/02/09 17:15:58 oliverschmidt Exp $
* $Id: telnetd-gui.c,v 1.4 2008/02/09 18:51:56 oliverschmidt Exp $
*
*/
@ -44,8 +44,8 @@
#define ISO_nl 0x0a
#define ISO_cr 0x0d
#define XSIZE 36
#define YSIZE 12
#define XSIZE 78
#define YSIZE 30
static struct ctk_window window;
static char log[XSIZE * YSIZE];

View file

@ -28,7 +28,7 @@
*
* This file is part of the Contiki desktop OS.
*
* $Id: telnetd.c,v 1.8 2008/02/09 17:15:58 oliverschmidt Exp $
* $Id: telnetd.c,v 1.9 2008/02/09 18:51:56 oliverschmidt Exp $
*
*/
@ -52,10 +52,10 @@ PROCESS(telnetd_process, "Shell server");
AUTOSTART_PROCESSES(&telnetd_process);
#ifndef TELNETD_CONF_LINELEN
#define TELNETD_CONF_LINELEN 40
#define TELNETD_CONF_LINELEN 80
#endif
#ifndef TELNETD_CONF_NUMLINES
#define TELNETD_CONF_NUMLINES 16
#define TELNETD_CONF_NUMLINES 25
#endif
struct telnetd_line {