From 4b8fca060f9beb11864cc129b1438f1efc5a62ad Mon Sep 17 00:00:00 2001 From: David Schmenk Date: Fri, 19 Jan 2018 14:12:22 -0800 Subject: [PATCH] remove conflict with clock cards and command line arguments --- src/vmsrc/cmd.pla | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/src/vmsrc/cmd.pla b/src/vmsrc/cmd.pla index 0b8e726..8059ded 100755 --- a/src/vmsrc/cmd.pla +++ b/src/vmsrc/cmd.pla @@ -35,7 +35,7 @@ predef execmod(modfile)#1 // word version = $0100 // 01.00 word syspath -word = getlnbuf +word syscmdln word = @execmod // // Working input buffer overlayed with strings table @@ -1308,7 +1308,8 @@ loop // Set system path // strcat(strcpy(@sysmods, $280), "SYS/")) // This is the path to CMD -syspath = @sysmods // Update external interface table +syspath = @sysmods // Update external interface table +syscmdln = @cmdln // // Try to load autorun. // @@ -1324,16 +1325,16 @@ else fin perr = 0 while 1 - if cmdln - when toupper(parsecmd(@cmdln)) + if ^getlnbuf + when toupper(parsecmd(getlnbuf)) is 'Q' reboot() break is 'C' - catalog(@cmdln) + catalog(getlnbuf) break is 'P' - setpfx(@cmdln) + setpfx(getlnbuf) break is '/' repeat @@ -1347,11 +1348,11 @@ while 1 volumes() break is '-' - execsys(@cmdln) + execsys(getlnbuf) break is '+' saveX - execmod(striptrail(@cmdln)) + execmod(striptrail(getlnbuf)) // // Clean up //