1
0
mirror of https://github.com/open-simh/simh.git synced 2026-01-26 04:02:39 +00:00

SCP: Add ECHOF command which takes a quoted string as an argument

This commit is contained in:
Mark Pizzolato
2018-01-03 18:23:28 -08:00
parent 2389f41f5e
commit 72d4622ddf
4 changed files with 75 additions and 4 deletions

View File

@@ -732,6 +732,7 @@ static CTAB allowed_remote_cmds[] = {
{ "DIR", &dir_cmd, 0 },
{ "LS", &dir_cmd, 0 },
{ "ECHO", &echo_cmd, 0 },
{ "ECHOF", &echof_cmd, 0 },
{ "SET", &set_cmd, 0 },
{ "SHOW", &show_cmd, 0 },
{ "HELP", &x_help_cmd, 0 },
@@ -757,6 +758,7 @@ static CTAB allowed_master_remote_cmds[] = {
{ "DIR", &dir_cmd, 0 },
{ "LS", &dir_cmd, 0 },
{ "ECHO", &echo_cmd, 0 },
{ "ECHOF", &echof_cmd, 0 },
{ "SET", &set_cmd, 0 },
{ "SHOW", &show_cmd, 0 },
{ "HELP", &x_help_cmd, 0 },
@@ -785,6 +787,7 @@ static CTAB allowed_single_remote_cmds[] = {
{ "DIR", &dir_cmd, 0 },
{ "LS", &dir_cmd, 0 },
{ "ECHO", &echo_cmd, 0 },
{ "ECHOF", &echof_cmd, 0 },
{ "SHOW", &show_cmd, 0 },
{ "HELP", &x_help_cmd, 0 },
{ NULL, NULL }