home *** CD-ROM | disk | FTP | other *** search
/ DP Tool Club 15 / CD_ASCQ_15_070894.iso / vrac / lineends.zip / LINEENDS.DOC < prev    next >
Text File  |  1994-06-08  |  8KB  |  212 lines

  1.  
  2.                                     FIXUP
  3.                                By Peter Zicari
  4.                                   June 1994
  5.  
  6. A reformatter for stripped-ASCII files.
  7.  
  8.                                  WHAT IT DOES
  9.  
  10. FIXUP converts files saved by word processors such as Xywrite in "stripped
  11. ASCII" format -- that is, without line endings -- to lines with carriage
  12. return-linefeed at the ends.
  13.  
  14. Many bulletin boards and network services such as SprintMail limit line
  15. lengths or reformat them automatically in strange ways.
  16.  
  17. FIXUP will format your file almost instantly, and spares you from having to
  18. change print settings you use in Xywrite.  It also eliminates non-printing
  19. characters that may cause the mail service to stumble.
  20.  
  21.      It can be set to skip un-transmittable headings inserted by a word
  22.      processor. Type an at sign (@) at the top.
  23.  
  24. It also strips out non-ASCII characters and command codes that might
  25. be in the text.
  26.  
  27. An indent is placed in the first line of each graf that ends with a hard
  28. return.
  29.  
  30.  
  31.                          INSTRUCTIONS FOR FIXUP
  32. If this is your first time using FIXUP and you are going to use it on a
  33. hard drive, please follow the INSTALLATION INSTRUCTIONS before proceeding.
  34.  
  35. 1. Process the text, spell-check it, do whatever you need to do. Save it
  36. (as a DOS text or ASCII file) from Xywrite and quit the program.
  37.  
  38. If you are not using FIXUP on a hard drive, skip to ALTERNATE INSTRUCTIONS
  39. below.
  40.  
  41. 2. At a DOS prompt (C:>) Type FIXUP and the name of the file you plan to
  42. transmit. Fixup will reply:
  43.  
  44. Reading  filename.ext (your filename appears here)
  45. Checking filename.OUT (a new filename is automatically created to receive
  46.                        the changed text)
  47.  
  48. 3. A message appears asking if you want to change the default line length
  49. (75) or the default paragraph indent (5). Press enter to go on.
  50.  
  51. 4. Fixup will reply:
  52.           Done!
  53.           Press enter to go on.
  54.  
  55. Press Enter. You're done.
  56.  
  57. When you send the file to SprintMail, send filename.OUT rather than the
  58. original.
  59.  
  60.  
  61.                           ALTERNATE INSTRUCTIONS:
  62. These instructions are written for use with a floppy system.
  63.  
  64. 1. Put the FIXUP disk in the A: drive.
  65. 2. At an A:> prompt . . .
  66.    Type FIXUP.
  67.    Press Enter.
  68.  
  69. FIXUP will reply:
  70. Please enter Input file
  71. Press Enter to choose from list; to quit, press Esc.
  72.  
  73. 3. Take the FIXUP disk out of the A: drive and insert the disk with your
  74. file.
  75.  
  76. 4. Type the filename you want.
  77.  
  78. FIXUP will reply:
  79.      Please enter Output file
  80.      Press enter to write to A:\filename.OUT. To quit, press Esc.
  81.      Press Enter.
  82.  
  83. 5. A message appears asking if you want to change the default line length
  84. (75) or the default paragraph indent (5). Press enter to go on.
  85.  
  86.  
  87. FIXUP will reply:
  88.      Done!
  89. Press enter to go on.
  90.  
  91. Press Enter.  You're finished.
  92. When you transmit the file to Sprintmail, send filename.OUT rather than the
  93. original file.
  94.  
  95.  
  96.                         VARIATIONS & ERROR MESSAGES
  97.  
  98. I. When you aren't sure of the filename, begin the program with FIXUP
  99. alone.
  100. Then:
  101. 1. Pressing Enter on the blank line of the first prompt.
  102.    Fixup produces a directory of the files on the default drive/directory.
  103.    Use the cursor keys to move the selector bar up and down to select a
  104.    filename from the box.
  105. 2. Press enter to process the filename of your choice.
  106.  
  107.       To see more of the directory, use PageUp and PageDown.
  108.       To change the directory sort order or specify another directory:
  109.           1. Press F2.
  110.           2. Type the letter of your choice.
  111.              (You can also select by moving the bar up or down and pressing
  112.               enter).
  113.           3. If you select "d", type the new directory specification in the
  114.              box that appears next. Press Enter when you're through.
  115.              (If the directory box goes blank, press PageUp a couple of
  116.               times to return to the top.)
  117.  
  118. II. To send the output of FIXUP to some file other than Filename.OUT, you
  119. may either . . .
  120.  
  121. Type FIXUP filename1 filename2 on the command line
  122.  
  123.  or . . .
  124.  
  125. Enter the new name after "Please enter Output file.''
  126.  
  127. This is how you would put the output file on the b: disk, for example:
  128.  
  129.                a:\>FIXUP filename1 b:filename2
  130.  
  131. III. If the output filename you use is already on the disk, FIXUP will
  132. report:
  133.      Filename1.OUT already exists. Press Y or y to rewrite it.
  134.  
  135. Do what it says. If you don't want to overwrite Filename1.OUT, press n and
  136. enter a new filename at the prompt.
  137.  
  138. IV. To change the line length or size of the paragraph indent:
  139.     1. Type Y when the box appears with the option of making the change.
  140.     2. Type the new figure for the line length.  The maximum is 255, and
  141.        the minimum is 11.
  142.        or...
  143.        Accept the default length by pressing enter.
  144.     3. Type the new figure for the indent.  The maximum is 10, the minimum
  145.        is 0.
  146.        or...
  147.        Accept the default indent by pressing enter.
  148.  
  149.  
  150. V.  Error messages ("File not found," "You must enter a number," etc.)
  151.     appear in boxes at center screen. Press enter to acknowledge and
  152.     clear them.
  153.  
  154. VI. You should be able to quit the program at any point by pressing Esc
  155. several times.
  156.  
  157. VII. Some editing programs insist on putting data at the top of a file as
  158. it is saved on disk.  To avoid trying to transmit such material, type an @
  159. (at) sign at the top of the text.
  160.      It follows that if you type an @ sign in the text somewhere, every-
  161.      thing to that point will be skipped.  Therefore, while the @ at the
  162.      top is optional, it is required if you put one somewhere else in the
  163.      text.
  164.  
  165.                          INSTALLATION INSTRUCTIONS
  166.  
  167. Before you use FIXUP, install it somewhere convenient on your hard drive.
  168. Get a DOS prompt: C:\ Type this command: Path Press enter. A list of
  169. directories will appear that looks something like this:
  170.  
  171.           PATH=C:\;C:\DOS;C:\WINDOWS;C:\WP51\LEARN
  172.  
  173. Every hard drive is different, so yours will be unique. Individual
  174. directory names appear between semicolons. Choose a directory to keep FIXUP
  175. in.
  176. C:\ or C:\DOS are good choices, if they're on the list.
  177.  
  178. Put the FIXUP disk in your A: drive.
  179. Type this command: Copy a:fixup.* {enter the directory you chose here}
  180. Example: Copy a:fixup.* c:\dos Press enter.
  181.  Take out the FIXUP disk. You're done with it.
  182.  
  183.  
  184.                               CHANGE HISTORY
  185.  
  186. 6/94 Fixup3 is special version for bulletin boards with setup option for
  187. line length.
  188. 5/94 Fixup copies to intermediate array so as to delete chars and add
  189. spaces
  190. after #13. Fixed line length.
  191. Fixup2 produces CR without LF with character-by-character algorithm.
  192. Oldfixup takes a char-by-char approach to the algorithm.
  193.  
  194. Further problems:  I can be reached at: PETER_ZICARI@PCOHIO.COM or
  195.                    7170,2575@Cserv.com
  196.  
  197.                                 DISCLAIMER
  198.  
  199. FIXUP is shareware. Individual users may use and copy it freely, subject to
  200. the following:
  201.      -- No charge may be made for distributing it beyond the cost of media.
  202.      -- The program and accompanying documentation must be distributed
  203.         unaltered.
  204.      -- I will accept no responsibility for problems that may arise from
  205.         the use of FIXUP.
  206.  
  207. All other rights are reserved.
  208. No registration is required of invidivual users.  Corporate users may
  209. contact one of the e-mail addresses above.
  210.  
  211.  
  212.