Commit 75aa4f49 authored by rswindell's avatar rswindell
Browse files

Stop reading/displaying files at Ctrl-Z (CP/M EOF) when using the TYPE/LIST/CAT

command.
Allow Ctrl-A codes in the ECHO comand string.
parent 67df6822
......@@ -121,7 +121,7 @@ function str_cmds(str)
if(word=="LIST" || word=="TYPE" || word=="CAT") {
if(bbs.check_syspass()) {
str=str.substr(4);
console.printfile(get_filename(str));
console.printfile(get_filename(str), P_CPM_EOF);
return;
}
}
......@@ -853,7 +853,7 @@ function get_arg(str, parm, history)
str=str.replace(/^\s+/,"");
if(str=="") {
write(format("%s: ", parm));
str=console.getstr(history);
str=console.getstr(128, K_MSG, history);
}
if(str && history.indexOf(str) < 0)
history.unshift(str);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment