CompuServe Messages

#Shell/CLI Questions

    11-Jul-87 00:53:14
Sb: #Shell/CLI Questions
Fm: Alfred Aburto 76450,23
To: John Draper 76703,4322
Larry, I found the problem with the TCB program. I was using a TST.W (A0) vice the correct TST.B (A0) command to test for a null CLI input ( the 'TCB<cr>' case ). I fixed that and tested it — it runs OK now. I don't know what to do about the Shell though — The TCB program gets its inputs ( I hope ) just like any other CLI command — Register A0 points to the CLI input string address and D0 contains the strings length in bytes. Apparently when working from a 'Shell' A0 and D0 no longer contain this information and the TCB program gets badly confused. Where do I get the input command string address when running from a Shell? If I know this address then it should be easy to make TCB work correctly either from the CLI or Shell. I've never used the 'shell' ( which 'shell'?) and I don't know much about its operation. I'd like the TCB program to work correctly from the CLI or the Shell, but I need help in figuring out how to do this. Al Aburto