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

Subversion Repositories mlite

[/] [mlite/] [trunk/] [kernel/] [netutil.c] - Diff between revs 248 and 252

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

Rev 248 Rev 252
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, cat, cp, ls, mkdir, rm,");
            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.