ORIGINALLY PUBLISHED IN LIMA NEWSLETTER MAY 1994 HOW TO FIT VERY LARGE TEXT FILES INTO TI WRITER by Charles Good Lima Ohio User Group Text files ported over from other types of computers and converted into DV80 format for use with the TI are sometimes enormous, occupying several hundred sectors. Examples are Mike Wright's CYC and the Sherlock Holmes stories I have recently converted to DV80. Sometimes these large DV80 files are too big to fit into MYWORD on a Geneve, and they are certainly too big to completely fit into the memory available to 40 column 99/4A users. Users of 40 column systems can use DM1000 or DSKU to view these files on screen because only little pieces are loaded into memory at one time, but the view leaves something to be desired. Each 80 column line wraps around to a second line on the 40 column display and words are often split in odd places in the middle of a line. If only 40 column users could load these very large DV80 files into the Funnelweb editor, or other version of Ti Writer. Then the text could be viewed in 80 columns by scrolling left/right. This can be done! I did it with the CYC. What you need to do is break the large DV80 files down into a series of smaller files, each small enough to fit into the TI Writer text buffer. Here is how to do this. The key is to use the format "number space number space filename" when using L(oad)F(ile), S(ave)F(ile), and P(rint)F(ile) to split the large DV80 file into smaller pieces. This means, "The first line number of the text in the disk file or edit buffer, a space, the last line number of the text in the disk file or edit buffer, a space, the file name." Another thing to remember is that no version of TI Writer will handle line numbers greater then 9999. I am going to assume you are using any version of the Funnelweb text editor to split a file called TEXT into smaller TI-Writer sized pieces. These instructions will work with any other version of TI-Writer as well. 1- Put a disk with the large TEXT file in DSK1. Put a blank initialized disk in DSK2. (You can use any other drive numbers you if you want.). 2- Boot the Funnelweb text editor and from the command line type "LF" and . Then type "0001 9999 DSK1.TEXT" for a file name, complete with spaces, and press . TEXT will load into memory until you get a BUFFER FULL message. 3- From the command line goto the end of the text in memory by typing "E" or "9999" followed by . 4- Probably the text in memory ends in the middle of a sentence. Move backwards through the text until you find a convenient place to end the small text file you are about to create. This can be at the end of a chapter, end of a paragraph, etc. Note the last line number of the part you want to save. Write it down. Lets call it LASTNUMBER. 5- Go to the command line and type PF and . (If you use PF rather than SF, then the original LF name stays in memory when using Funnelweb). Type "1 LASTNUMBER DSK2.TEXT-A" for the file name and press . Of course LASTNUMBER is a line number, not the letters L A S T etc. This will save the first chunk of your large DV80 file as a smaller DV80 file that will fit into TI-Writer's edit buffer. 6- Go to the command line and type "LF". The previous LF name "0001 9999 DSK1.TEXT" should appear if you are using Funnelweb. Change this to "LASTNUMBER 9999 DSK1.TEXT" and press . The computer count through the lines of the large file until it gets to line LASTNUMBER, and it will then load the next part of the large file into memory until you get a BUFFER FULL message. 7- Again go to the end of the text in memory by typing "E" or "9999" from the command line and pressing . 8- Move back through the text until you find a convenient end point (paragraph or chapter end) and write down this line number, calling it NEWLASTNUMBER. 9- Go back to the command line, type "PF" and , and type "1 NEWLASTNUMBER DSK2.TEXT-B" as the next file name before pressing enter. 10- This is important! You have to calculate the starting line number at which you will begin loading in the next segment of your large TEXT file. Use the formula LASTNUMBER = LASTNUMBER + NEWLASTNUMBER. Add these two numbers together to get the next LASTNUMBER. 11- Go to step 6 above and repeat steps 6-10 as many times as are needed to split TEXT up into TEXT-A, TEXT-B, TEXT-C, TEXT-D etc. This is how I converted the BIBLE and the CYC into small files after using PC TRANSVER to convert large text files on a 360K IBM disk to a DSDD TI disk. You may want to do the same thing with some of the Sherlock Holmes stories and other book length manuscripts that are appearing in the Lima User Group software library. .PL 1