OpenCores
URL https://opencores.org/ocsvn/plasma/plasma/trunk

Subversion Repositories plasma

[/] [plasma/] [trunk/] [kernel/] [netutil.c] - Diff between revs 229 and 248

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 229 Rev 248
Line 535... Line 535...
            CommandPtr[CommandIndex] = CommandHistory;
            CommandPtr[CommandIndex] = CommandHistory;
            strcpy(CommandHistory, command);
            strcpy(CommandHistory, command);
         }
         }
         if(strncmp(command, "help", 4) == 0)
         if(strncmp(command, "help", 4) == 0)
         {
         {
            sprintf((char*)bufOut, "Commands: help, exit");
            sprintf((char*)bufOut, "Commands: help, exit, cat, cp, ls, mkdir, rm,");
            for(i = 0; TelnetFuncList[i].name; ++i)
            for(i = 0; TelnetFuncList[i].name; ++i)
            {
            {
               strcat((char*)bufOut, ", ");
               strcat((char*)bufOut, ", ");
               strcat((char*)bufOut, TelnetFuncList[i].name);
               strcat((char*)bufOut, TelnetFuncList[i].name);
            }
            }

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.