commands.c: 'echo' now allows 10.000 output tokens

This commit is contained in:
h_vogt 2016-08-21 23:13:47 +02:00
parent 7e7fc9fc5f
commit 8b54de2472
2 changed files with 2 additions and 1 deletions

View File

@ -496,7 +496,7 @@ struct comm spcp_coms[] = {
NULL,
"[-r] [number] : Print command history." } ,
{ "echo", com_echo, FALSE, FALSE,
{ 1, 1, 1, 1 }, E_DEFHMASK, 0, LOTS,
{ 1, 1, 1, 1 }, E_DEFHMASK, 0, NLOTS,
NULL,
"[stuff ...] : Print stuff." } ,
{ "shell", com_shell, FALSE, TRUE,

View File

@ -50,6 +50,7 @@ struct comm {
};
#define LOTS 1000
#define NLOTS 10000
/* The history list. Things get put here after the first (basic) parse.
* The word list will change later, so be sure to copy it.