home *** CD-ROM | disk | FTP | other *** search
/ ftp.whtech.com / ftp.whtech.com.tar / ftp.whtech.com / articles / archives / limanews.exe / LARGETIW.TXT < prev    next >
Text File  |  2006-10-19  |  5KB  |  87 lines

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