Accomodate for the now more complex shell output.
This commit is contained in:
parent
b1c748c137
commit
f244bdbf2d
2 changed files with 6 additions and 6 deletions
|
@ -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.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_nl 0x0a
|
||||||
#define ISO_cr 0x0d
|
#define ISO_cr 0x0d
|
||||||
|
|
||||||
#define XSIZE 36
|
#define XSIZE 78
|
||||||
#define YSIZE 12
|
#define YSIZE 30
|
||||||
|
|
||||||
static struct ctk_window window;
|
static struct ctk_window window;
|
||||||
static char log[XSIZE * YSIZE];
|
static char log[XSIZE * YSIZE];
|
||||||
|
|
|
@ -28,7 +28,7 @@
|
||||||
*
|
*
|
||||||
* This file is part of the Contiki desktop OS.
|
* 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);
|
AUTOSTART_PROCESSES(&telnetd_process);
|
||||||
|
|
||||||
#ifndef TELNETD_CONF_LINELEN
|
#ifndef TELNETD_CONF_LINELEN
|
||||||
#define TELNETD_CONF_LINELEN 40
|
#define TELNETD_CONF_LINELEN 80
|
||||||
#endif
|
#endif
|
||||||
#ifndef TELNETD_CONF_NUMLINES
|
#ifndef TELNETD_CONF_NUMLINES
|
||||||
#define TELNETD_CONF_NUMLINES 16
|
#define TELNETD_CONF_NUMLINES 25
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
struct telnetd_line {
|
struct telnetd_line {
|
||||||
|
|
Loading…
Reference in a new issue