----- Original Message ----- From: John R. Hogerhuis Sent: Tuesday, March 22, 2016 3:29 PM
> I think maybe we're mixing in different conversions. Renaming files to match > their actual file type isn't really a conversion it is just a rename. That > solves the mismatch problem no matter the software. That's what I said, that it's not actually necessary to convert; just rename them (if they truly are plaintext .BA files). > Laddiealpha doesn't physically rename files it just detects files misnamed as > ba and presents them to tsdos with a do extension whenever tsdos enumerates > the directory or asks to open a file. > I don't think anything does this except Laddiealpha. I put it there to make > these problems magically never happen and the clueless newb none the wiser. > But this magic is not in DLPlus or NADSBox or mcomm as far as I can recall. Yes, I guess I could have made it clearer that instead of converting the files it was instead decided to modify the latest TS-DOS server side (LaddieAlpha) to avoid the issue, but I thought the NADSBox also does that; am I mistaken? > Pre tokenizing is cool if you're aware of the problem. But if you're aware of > the problem renaming the ba to do is even easier and then if you want a fast > load in the future you can just do what Joseph did and save a tokenized copy. IIRC it took about five minutes to convert all the files in the BBS libraries section and another 15 minutes or so to convert them back and check for discrepancies. ISTR that Bob Pigford also helped out at the time with resolving the odd discrepancy. > Ultimately this is a few hour job on club100 with some scripts to go through > and convert all files to proper extensions with a bash script. I guess the > problem is the catalog and any documentation will no longer match the > filenames. Not really an issue in the libraries but certainly something to look out for elsewhere. BTW, it is sometimes necessary to rename the file itself, e.g. when there already is a .DO file containing documentation; another issue is different versions named .100 and .200 for the respective models. m -- John. On Tuesday, March 22, 2016, Mike Stein <[email protected]> wrote: ----- Original Message ----- From: "Joseph Remy" <[email protected]> To: "Model 100 Discussion" <[email protected]> Sent: Tuesday, March 22, 2016 1:30 PM Subject: Re: [M100] Question about TS-DOS/Desklink loaded files corrupted > I'm in the process of converting some of the programs from .DO to .BA > via load from TS-DOS, LOAD .DO, SAVE .BA, save back to TS-DOS. Am I > doing this the completely hard way? > > Thanks! > ~Joe Probably ;-) First of all it isn't really necessary to convert them anyway, as long as you rename the (plaintext!) .BA files to .DO; note that some .BA files really are tokenized .BA files and should be left alone. The advantage of .BA files is that they are smaller and load faster, the disadvantage is that you can no longer read them in a text editor or transfer them with a text-only program (e.g. TELCOM). Second, if you do want to convert them manually it will be much faster if you use the most excellent VT emulator and do it on a (presumably much faster) PC, without the back and forth TS-DOS transfer. Note that the ModelT will load a .DO file by default if it does not find a .BA file, and the save default is .BA. Thus, LOAD "FILENM, SAVE "FILENM (without extensions) is all you need. Third, there are standalone programs to convert .DO >> .BA (and .BA >> .DO) on a (DOS/WIN) PC, either individually or in batch mode. One such program is ENTOKE(B).EXE in my member upload folder on Club100; IIRC it has a little bug that affects around one in 50 programs, but since at the time it was decided that it would be better instead to modify the TS-DOS servers to handle the issue I never took the time to fix it. I'll leave it for you ;-) Finally, which files are you converting? At one time it was planned to convert all the files on the Club100 site and most of the files were indeed converted; unfortunately the fellow who had volunteered to update the web site never followed through. Have fun! m
