CompuServe Messages

Shell/CLI Questions

    11-Jul-87 09:55:35
Fm: Alfred Aburto 76450,23
To: John Draper 76703,4322
Larry, I'm re-writing the TCB program to handle Upper or Lower case (except for the TaskName input) and to delete trailing spaces in the CLI input string …. I'll upload the revised program (TCB.ARC) …. I don't know what to think of the Alternate characters that appeared at the end of the 'TCB <cr>' listing ….. I know one thing though — the amiga.lib _printf routine will cause a nasty GURU if the string length its trying to print is greater than approximately 180 characters or so. I found this out the hard way (after many GURU's). Actually the last task I get from 'TCB<cr>' is flagged as 'Invalid' in the Task Node Structure. The TaskName pointer is probably also Invalid ( 'GIGO' for the _printf routine ) — I'll fix this too Larry . If the Task is flagged as 'Invalid' I'll just print out a default TaskName ( '*** ( Invalid Task ) ***' ) and otherwise just ignore the TaskName (possibly garbage) pointer in the Task Node Structure. Thanks for the help! Till Later … Al Aburto