Aucbvax.1599 fa.info-cpm utzoo!duke!mhtsa!ucbvax!fylstra.tsca@Sri-Unix Wed Jun 10 12:48:05 1981 bugs in SUBMIT/XSUB I have noticed the following bugs in SUBMIT and XSUB: 1. XSUB chokes on empty lines and dies a miserable death. I noticed this while trying to spoon feed a number of answers to prompts that Small C (Codeworks version) was asking. My intention was to reply (from the .SUB file) with a carriage return. A systems programmer from Digital Research acknowledged this at the recent West Coast Comp Faire. He said that they knew it was a kludge but "it's better than nothing..." 2. When a transient program returns to the CCP via a RET instruction rather than doing a warm boot, the CCP fails to restore the DMA address to TBUFF at 80h. If a .SUB file is active, the CCP will try to read the next command line from the file into some random buffer (most likely in the TPA someplace), and will then attempt to parse whatever is left in TBUFF. Sigh... This explains why so many CPMUG programs do a SETDMA(TBUFF) before exiting to CP/M. 3. When expanding the arguments in the .SUB file, the SUBMIT command actually writes the command lines, one per record, in reverse order!!! The CCP notices the $$$.SUB file, opens it, reads the high-water-mark record, deletes it from the FCB, and closes the $$$.SUB file. In reading thru the CCP, I get the feeling that $$$.SUB files won't work if they are larger than one extent, but I haven't verified this. Anyone have experience with this? All in all, the SUBMIT/XSUB system would best be served up for dinner on Thanksgiving day. Dave Fylstra ----------------------------------------------------------------- gopher://quux.org/ conversion by John Goerzen of http://communication.ucsd.edu/A-News/ This Usenet Oldnews Archive article may be copied and distributed freely, provided: 1. There is no money collected for the text(s) of the articles. 2. The following notice remains appended to each copy: The Usenet Oldnews Archive: Compilation Copyright (C) 1981, 1996 Bruce Jones, Henry Spencer, David Wiseman.