diff --git a/src/bin/shell/commands.c b/src/bin/shell/commands.c index 116d13e..8a901c1 100755 --- a/src/bin/shell/commands.c +++ b/src/bin/shell/commands.c @@ -30,7 +30,7 @@ int commands(inputBuffer *data) { int cPid = 0x0,i = 0x0; - printf("Test: [%s]\n",data->argv[1]); + //printf("Test: [%s]\n",data->argv[1]); if (0 == memcmp(data->argv[1], "uname", 5)) { printf("UbixOS v0.01a " __DATE__" " __TIME__ " \n"); return(1); @@ -57,9 +57,12 @@ } } else if (memcmp(data->argv[1],"echo",4) == 0) { - for (i=2;i<=(int)data->argv[0];i++) { - printf("%s",data->argv[i]); - } + printf("Sorry Command Is Broken\n"); + /* + for (i=2;i<(int)data->argv[0];i++) { + printf("%s",data->argv[i]); + } + */ } else if (memcmp(data->argv[1],"about",5) == 0) { printf("UbixOS Shell v0.99 (C) 2002\n"); diff --git a/src/bin/shell/input.c b/src/bin/shell/input.c index 87c921d..ccc1160 100755 --- a/src/bin/shell/input.c +++ b/src/bin/shell/input.c @@ -42,7 +42,9 @@ } } buffer->argv[0] = (char *)&buffer->argc; + /* for (i=1;i<=buffer->argc;i++) { printf("Data: (%i)[%s]\n",i,buffer->argv[i]); } + */ } \ No newline at end of file diff --git a/src/sys/include/drivers/video.h b/src/sys/include/drivers/video.h index 31105ae..acac6a5 100755 --- a/src/sys/include/drivers/video.h +++ b/src/sys/include/drivers/video.h @@ -24,7 +24,7 @@ #ifndef _VIDEO_H #define _VIDEO_H -#define defaultColor 0x1F +#define defaultColor 0x9E extern int printColor;