home *** CD-ROM | disk | FTP | other *** search
/ CP/M / CPM_CDROM.iso / cpm / utils / txtutl / format.inf < prev    next >
Encoding:
Text File  |  1994-07-13  |  37.4 KB  |  879 lines

  1.  
  2.  
  3.  
  4.  
  5. Comments on text format programs.         22 March 1988           page 1
  6.  
  7. INTRODUCTION:
  8. ------------
  9. There are at least three  public domain (free) text formatting programs:
  10.  
  11.         ALPHATXT
  12.         RNF13
  13.         ROFF4
  14.  
  15.     They all have quite a bit in common, using ".dot" commands. They all
  16. can reformat, by "filling lines" as close as possible to  your requested
  17. line width.  They can  quit at that point, or also  justify to even mar-
  18. gins.
  19.  
  20.         Note:   There is one  additional  program written
  21.                 by Irv Hoff that merely justifies to even
  22.                 margins.  It makes no effort to reformat.
  23.                 It needs no ".dot commands".  It is named
  24.                 "JUSTIFY.COM".  It can be used with ASCII
  25.                 files produced by any normal text editor.
  26.  
  27.  
  28. JUSTIFYING:
  29. ----------
  30.  
  31.     This is illustrated in the examples  at the end of this review.  Re-
  32. sults of these various programs are included:
  33.  
  34.         ALPHATXT        - Rich Abbot's p.d. program, Turbo PASCAL
  35.         JUSTIFY         - Irv Hoff's program, assembly language
  36.         RNF13           - C.B. Falconer's program, special PASCAL
  37.         ROFF4           - Ernest Bergmann's program in 'C'
  38.         WordStar 3.3    - Sold by MicroPro
  39.         WordStar 4.0    - Sold by MicroPro
  40.  
  41.  
  42. SUMMARY OF EACH SYSTEM:
  43. ----------------------
  44.  
  45.    WORDSTAR 4.0 -  This is  (by some margin)  the least suitable
  46.         of all.  If the line needs only one fill blank it ALWAYS
  47.         goes between the last two words.  If two fill blanks are
  48.         needed, the second one always goes between the first two
  49.         words.  If three are needed the third is always included
  50.         at the right side.  If the line had ended with something
  51.         like this:
  52.  
  53.               xxxxxxxxxat the right side.  If
  54.                                          ^^
  55.                                          2 blanks after a period.
  56.  
  57.         and you  needed at least three fill blanks, WordStar 4.0
  58.         would always wind up with this:
  59.  
  60.               xxxxxxxxxat the right side.    If
  61.                                          ^^^^
  62.                                             2 extra blanks added
  63.  
  64.  
  65.  
  66.  
  67. Comments on text format programs.         22 March 1988           page 2
  68.  
  69.         Thus WordStar 4.0 always  starts at the right side, then
  70.         alternates blanks from right side, left side, right side
  71.         left side, etc. It can (and often does) leave outlandish
  72.         gaping holes at the end of sentences that correctly ter-
  73.         inate with two spaces following the punctuation.
  74.  
  75.  
  76.    WORDSTAR 3.3 - Marginally  better than WordStar 4.0.  If only
  77.         one blank fill is needed, it alternates between the last
  78.         two words and the  first two.  If two blanks are needed,
  79.         it comes  out identical  to WordStar 4.0.  If  three are
  80.         needed, the first line would have  two at the right side
  81.         and one at the left side, the second line would have two
  82.         at the left side and one at the right side.
  83.  
  84.         Thus WordStar 3.3 is identical  to WordStar 4.0 if there
  85.         are an even number of fill characters needed, putting an
  86.         equal number on both the left side and right side of the
  87.         line.  With  an odd number, the greater  number will al-
  88.         ternate from right side to left side.
  89.  
  90.     RNF13
  91.     ROFF4 - These  are a noticeable  improvement  over WordStar.
  92.         However, if  only one  blank is needed, both  do it just
  93.         like WordStar 3.3.  (First line puts  the  blank between
  94.         the last  two words, second  line puts the blank between
  95.         the first two words.)
  96.  
  97.         With two or more blanks, the first line puts them all on
  98.         the right side, the second  line  puts  them all  on the
  99.         left side, etc.  Not  very  imaginative, but  does  look
  100.         substantially better than WordStar, which  can have some
  101.         "holes" on every  line on both  sides, assuming  for now
  102.         that each line would require at least two blanks.
  103.  
  104.         Like WordStar, both of these programs can easily put two
  105.         extra blanks in an area that already has two blanks:
  106.  
  107.               xxxxxxxxxat the right side.    If
  108.                                          ^^^^
  109.                                             2 extra blanks added
  110.  
  111.     ALPHATXT - Very imaginative.  Appears to use a random system
  112.         that is  difficult to  predict, to  insert blanks in the
  113.         line.  It is very likely the best of all such justifica-
  114.         tion programs with the possible  exception of Irv Hoff's
  115.         JUSTIFY.  I say  "possible exception"  as ALPHATXT  also
  116.         suffers from  the same weakness  all those  already men-
  117.         tioned have, of putting  extra fill characters where two
  118.         might already exist, easily  making up to  four at those
  119.         locations:
  120.  
  121.               xxxxxxxxxat the right side.    If
  122.                                          ^^^^
  123.                                             2 extra blanks added
  124.  
  125.  
  126.  
  127.  
  128. Comments on text format programs.         22 March 1988           page 3
  129.  
  130.         NOTE:   When formatting, WordStar  and  ALPHATXT
  131.                 leave the text as they found it, but at-
  132.                 tempt to fill the line as closely to the
  133.                 requested length as they can.  Generally
  134.                 this works just fine but if reformatting
  135.                 files that have 'fill blanks' already in
  136.                 them from a prior justification, they do
  137.                 a very poor job.  Not only are those re-
  138.                 tained but additional ones added to make
  139.                 the present line the correct width.  The
  140.                 result can be rather grotesque, although
  141.                 it is fair to say few  people would have
  142.                 any incentive to reformat such an exist-
  143.                 ing file.  Other programs such as ROFF4,
  144.                 for example, make this quite easy to do.
  145.  
  146.  
  147.     JUSTIFY - This program  has several features  that are some-
  148.         what unusual.  Instead of only using the right end, then
  149.         the left end, it als  uses the  middle.  In addition, it
  150.         never puts  any fill blanks between  the first two words
  151.         or the last two (uness they are the only locations left)
  152.         as do all  the other programs  with the exception of the
  153.         random fill routine used by ALPHATXT.
  154.  
  155.         With one  fill character, JUSTIFY puts  it in the middle
  156.         of the first  line, to the right side of the second line
  157.         (but indented  one word  from  the last two)  and to the
  158.         left side of the third line  (but indented one word from
  159.         the first two.)
  160.  
  161.         This keeps the extreme ends looking normal especially by
  162.         using the center for every third line.
  163.  
  164.         This program  also NEVER puts ANY additional fill blanks
  165.         if two blanks already exist at that location. JUSTIFY is
  166.         the only program known to have such a feature.
  167.  
  168.         It also  has an  additional unique  feature where a line
  169.         that ends a paragraph  (and normally would  thus  not be
  170.         justified) will still be justified IF it needs only 3 or
  171.         fewer additional  fill  characters.  The author  of this
  172.         program  always thought it  looked pretty  silly to have
  173.         nice even  margins, but then see a line that  was one or
  174.         two columns shy of the others.
  175.  
  176.         Thus JUSTIFY  has  several  features  that  minimize the
  177.         "empty" areas most  of  the other  programs often  have:
  178.  
  179.            1) Instead of alternating from extreme left and
  180.               right ends of the line JUSTIFY alterates be-
  181.               tween middle, right  (indented 1 extra word)
  182.               left (indented 1 extra word.)
  183.  
  184.                  a) With this scheme, the extreme ends
  185.                     always look  normal, quite differ-
  186.                     from WordStar.
  187.  
  188.  
  189.  
  190.  
  191. Comments on text format programs.         22 March 1988           page 4
  192.  
  193.            2) Unlike all the others JUSTIFY never puts ad-
  194.               ditional fill blanks in a location where two
  195.               blanks already  exist.  All  the rest  could
  196.               have up to  four  blanks in such  locations,
  197.               three being  very common - even though  many
  198.               other areas on the same line  only  have one
  199.               blank  and could  have  been used for better
  200.               appearance.
  201.  
  202.            3) JUSTIFY is the only such program  that fills
  203.               out lines at the end of a paragraph that are
  204.               within 3-4 columns of normal length.
  205.  
  206. ------------------------------------------------------------------------
  207.  
  208. NOTE:  Perhaps a comment  should be added that MicroPro  (owners
  209.        of WordStar) claim everybody using justification for even
  210.        margins likely has a printer with microjustificaiton any-
  211.        way, so "who cares" what the CRT display looks like?
  212.  
  213.        Well they are wrong.  Not everybody  makes a printed copy
  214.        of all the files they look at, in addition to which a lot
  215.        of non-professional computer owners  do not have printers
  216.        with microjustification.
  217.  
  218.        Consequently, having a program  that can  justify to even
  219.        margins in  the least  obvious manner is of immediate in-
  220.        terest to at least a portion of computer users.
  221.  
  222.        To this end, the  JUSTIFY  program likely succeeds better
  223.        than pehaps any other mentioned in this review.
  224.  
  225.              It might be fair to mention at this time that
  226.              NO method of obtaining even margins by merely
  227.              adding extra "fill blanks" here and there can
  228.              really give comparable results to the type of
  229.              results you see  in magazines  or newspapers.
  230.  
  231.  
  232. ------------------------------------------------------------------------
  233.  
  234.  
  235.  
  236.  
  237. Comments on text format programs.         22 March 1988           page 5
  238.  
  239. Review so far:
  240. -------------
  241.  
  242. Sec. 1 discussed  the results  obtained  from the examples which are in-
  243. cluded at the end of  this review.  It had additional comments regarding
  244. handling  areas  where two  blanks already  exist, for punctuation after
  245. end of sentences.
  246.  
  247. Sec. 2 (this section) will  discuss some of the  various  advantages and
  248. disadvantages of  the format programs.  These comments will only involve
  249. the topics the author  has observed - many features  of the programs not
  250. having been  evaluated at  this  time.  (Such as underlining, footnotes,
  251. subscripts, etc.)
  252.  
  253. Sec. 3 has  examples  of the way  various word processors  justify ASCII
  254. text.  Each program was run for 1, 2 and then 3 fill characters.
  255.  
  256.  
  257.    ALPHATXT - by  Rich Abbott.  Sometimes called ALPHAT20.  Easy
  258.        program to  use, but needs a lot  of "hand-holding".  Re-
  259.        ires a  new dot command  at the completion of  each para-
  260.        graph, even for a blank  line.  This does give the author
  261.        complete control of the program.
  262.  
  263.        Defaults to  column 5 for the  left margin and column 75.
  264.        There is no convenient method of permanently changing the
  265.        default parameters.  In  this day and age, where  you can
  266.        easily set  the  margins  on the printer  to anything you
  267.        like, "nobody" wants a permanent default to some indented
  268.        column.
  269.  
  270.        When reformatting, it  leaves  all blanks  as they origi-
  271.        nall appeared, making  the program totally  worthless for
  272.        reformatting a  WordStar file to a different line length,
  273.        for example.
  274.  
  275.        It never heard of two  blanks  after punctuation to end a
  276.        sentence.  As previously mentioned, when  reformatting it
  277.        does not  change any  existing text, so if  there was one
  278.        blank after  a period, it  retains that one blank.  If it
  279.        had four blanks from  a previous  format, it  would  keep
  280.        the four  blanks.  This  makes  the  program  essentially
  281.        worthless (to this reviewer) for re-format purposes.
  282.  
  283.        It has a serious, major  flaw in that it cannot recognize
  284.        lines that  are already  the  correct  length.  It thinks
  285.        such lines  are  one column too  long and reformats them.
  286.        Thus every line it processes  winds up with  at least one
  287.        fill character.  (ROFF4 has  a comparable  problem, also,
  288.        when using  the justify mode on lines already the desired
  289.        length.)
  290.  
  291.  
  292.  
  293.  
  294. Comments on text format programs.         22 March 1988           page 6
  295.  
  296.        Rich Abbot,  the author, assures me this was fixed in the
  297.        commercial version  sold by  Cranberry Software Tools for
  298.        $35.  (That includes a text editor  and a  large spelling
  299.        dictionary.  The package  is available for either CP/M or
  300.        for MS-DOS.)
  301.  
  302.        It also  leaves a trailing blank  at  the end of all text
  303.        lines, ala WordStar and RNF13.
  304.  
  305.        There are  two .DOC  files  included in the ALPHAT20.LBR.
  306.        One is the "before", showing all the ".dot"  commands and
  307.        the other  shows  the "after" and is ready  for printing.
  308.        This tutorial and  the .DOC  file are  excellent  and are
  309.        perhaps the  best features  of  the program.  Other  word
  310.        processor programs  should include similar "how to do it"
  311.        files of the "before and after" variety.
  312.  
  313.  
  314.    RNF13 - by Charles  Falconer, professor of  computer science,
  315.         Yale University.  This  is  a  very interesting program.
  316.         VERY slow.  It took 42 minutes to  process  a  140k file
  317.         that took  ROFF4  9-1/2 minutes.  It is written in Prof.
  318.         Falconer's own  special  version  of PASCAL.  (ROFF4 was
  319.         written in 'C'.)  "RNF" likely is another  name  for the
  320.         UNIX "RUNOFF"  format program from which it was adapted.
  321.  
  322.         It is easily the most  sophisticated of the various for-
  323.         mat programs, offering all sorts of .dot  commands, many
  324.         of which the typical user may never attempt to incorpor-
  325.         ate.  It has  an  excellent  "progress" reporting system
  326.         showing the current page  and  line number it is working
  327.         on.  It has perhaps the finest error-reporting system of
  328.         any program I have ever used.
  329.  
  330.         Most such programs only look  in  the first column for a
  331.         ".dot" command.  RNF13  seems  to  look  ANYWHERE, which
  332.         seems quite unfortunate.  On  the  lengthy  program that
  333.         took 42 minutes, some 250 errors were posted, a vast ma-
  334.         jority because things like " .COM file" or " .LBR file",
  335.         etc. appeared  quite often in the body of the text.  The
  336.         errors are printed in  a most impressive manner, showing
  337.         the page, line number, actual  line  of  text,  an arrow
  338.         pointing to  the  exact character that caused the error,
  339.         and then a description  of  the error.  However, it is a
  340.         nuisance not to be able to use "(space).COM", etc.
  341.  
  342.         This program even barfed with things like:
  343.  
  344.                     INDEX ................ pg 22
  345.  
  346.         as it thought the  (space)....  was  some sort of ".dot"
  347.         command. One does not expect to see errors for this sort
  348.         of text.
  349.  
  350.  
  351.  
  352.  
  353. Comments on text format programs.         22 March 1988           page 7
  354.  
  355.         RNF13 does an outstanding job of re-formatting programs.
  356.         It puts two spaces after  punctuation to end a sentence.
  357.         something ALPHATXT and WordStar never heard  of.  If for
  358.         some reason you don't WANT to do this, there is a ".dot"
  359.         command you  can  use wherever you like, in the text, to
  360.         preserve a location where just  one blank after a period
  361.         might be preferred, such as: Mr. Alfred Jones, etc.  Of-
  362.         fering this dot command does present a tremendous amount
  363.         of versatility  in an area neither ALPHATXT nor WordStar
  364.         would even know what you were talking about...
  365.  
  366.         This program does an  excellent job of reformatting text
  367.         that is indented.  Some people  indent  paragraphs  - it
  368.         will reformat those to non-indented.  Some text has sec-
  369.         tions that are indentend.  It will reformat those to the
  370.         left margin unless you include a ".dot" command to leave
  371.         the indent area intact.
  372.  
  373.         The program  does  leave  a trailing  space  on all text
  374.         lines, a minor nuisance.  Unlike  ROFF4 and ALPHATXT, it
  375.         recognizes lines already the proper  length,  so results
  376.         are what  you expect - other than a line justified to 72
  377.         columns is really 73 columns  long, as each line has the
  378.         unwanted trailing space that is not observed,  but pres-
  379.         ent.  Thus asking  for  justified  text  79 columns long
  380.         could give double line  feeds  on  normal 80 column dis-
  381.         plays with auto line-wrap.
  382.  
  383.         The program is by far the  most awkward to use, since it
  384.         requires a special runtime program in addition.  It is a
  385.         nuisance insuring both programs are present and makes it
  386.         difficult to use "flow  control"  while  on  a different
  387.         d/u.  The following  method has to be used, intact, else
  388.         the system might lock up,  requiring  a cold boot to re-
  389.         gain control:
  390.  
  391.               B>RUNPCD RNF (HELLO.TXT, HELLO.DOC) <ret>
  392.  
  393.         The actual  justification  scheme  seems  identical with
  394.         that of ROFF4 other than RNF13 can recognize a  line al-
  395.         ready the correct length while ROFF4 (and ALPHATXT) can-
  396.         not.
  397.  
  398.         Once underway, there is no method (known to thie review-
  399.         er) to halt the  program  other  than to cold reboot the
  400.         computer.  (Then manually erase the  partially completed
  401.         output file.)  This is considered a most important over-
  402.         sight.
  403.  
  404.  
  405.  
  406.  
  407. Comments on text format programs.         22 March 1988           page 8
  408.  
  409.    ROFF4 - by Ernest  Bergmann  in 1983.  Written in  'C', it is
  410.         much faster than either RNF13 or ALPHATXT.
  411.  
  412.         The program has some very convenient features as well as
  413.         some annoying things.  The 'C'  source code is included,
  414.         although it is difficult even for a good  'C' programmer
  415.         to follow the progression of the program.  For instance,
  416.         it puts  out  CR,CR,CR,LF  at the end of nearly all text
  417.         lines.  So far, none of the  the people I have talked to
  418.         have any idea how  to  eliminate  this  unusual feature.
  419.         When reformatting,  it puts two spaces after exclamation
  420.         marks, question marks,  colons  and even semicolons.  It
  421.         handles periods at the end of a sentence in  a most per-
  422.         plexing manner  -  if you used one blank after a period,
  423.         it retains just that one blank.  If you used two blanks,
  424.         it will keep a  maximum of two blanks.  (If reformatting
  425.         WordStar  files which  might have  three  and  even four
  426.         blanks after an occasional period, it will use a maximum
  427.         of two.)
  428.  
  429.          NOTE: We have a special version of ROFF4 now which
  430.                puts only  one blank  after a  semicolon and
  431.                which  puts two blanks after any period that
  432.                ends a sentence.  It also defaults to format
  433.                72 actual columns, matching JUSTIFY.COM.
  434.  
  435.         ROFF4 is the easiest format program to use, by some wide
  436.         margin.  If the line is indented, it leaves the line in-
  437.         dented with  no special ".dot" command.  (On  the  other
  438.         hand it cannot reformat text all of which may be indent-
  439.         ed in a given area, RNF13, etc. would be needed for this
  440.         purpose.)
  441.  
  442.         It cannot recognize a line already the correct width. If
  443.         used to reformat  without  justification,  it is off one
  444.         column on the right  margin  counter.  For  instance you
  445.         want lines  of  up to 72 characters,  but  no more.  You
  446.         must set the right  margin  command  to 73 in this case.
  447.         However, if you want to reformat and justify  both, then
  448.         you would  set it to 72, but now each line will be basi-
  449.         cally 72 with one fill  blank added somewhere to make it
  450.         72.  Nuisance.  This is similar to ALPHATXT.
  451.  
  452.         ROFF4 does not leave trailing  spaces at the end of text
  453.         lines, like RNF13 and ALPHATXT  (and  WordStar), though.
  454.  
  455.         It can normally be aborted with a CTL-C.
  456.  
  457.         It is easy to use.  If  paragraphs are indented, the re-
  458.         format will retain the original indentation  without any
  459.         special paragraph commands such as the ".pp" required by
  460.         all the  other  programs.  You  can intentionally indent
  461.         paragraphs that were  not  originally  indented, with an
  462.         ".in" command.
  463.  
  464.  
  465.  
  466.  
  467. Comments on text format programs.         22 March 1988           page 9
  468.  
  469.         Centering a group  of  lines is ridiculously simple.  If
  470.         you have 8-10-15 lines to center you needn't bother with
  471.         counting them or using a separate centering  command for
  472.         each line.  Just use: ".ce 100" on the line ahead of the
  473.         first line to be centered, then move  all  the  lines to
  474.         start in  the  first  column.  After the last one, type:
  475.         ".ce 0" and it will stop centering. This makes centering
  476.         a group of lines so simple to accomplish, you may indeed
  477.         use this feature more than you normally otherwise might.
  478.         (ALPHATXT requires a  separeate  ".ce  ;(text)" for each
  479.         line that is to centered.)
  480.  
  481.         It is very easy to run.  Say you have a program which is
  482.         named HELLO.TXT and you want to format to HELLO.DOC:
  483.  
  484.                 B>ROFF4 HELLO.TXT >HELLO.DOC
  485.  
  486.         The '>' tells the program to generate a new disk file of
  487.         that name.  If you merely want to look at the results on
  488.         the CRT, just use:
  489.  
  490.                 B>ROFF4 HELLO.TXT
  491.  
  492.         or if you wish to see the results on the CRT while it is
  493.         making a disk file:
  494.  
  495.                 B>ROFF4 HELLO.TXT +>HELLO.DOC
  496.  
  497.         You can also recieve the output on the printer, in addi-
  498.         tion to either of the other possibilities.
  499.  
  500.  
  501.         SUMMARY - ROFF4, with  the  special  version, is by some
  502.         margin the easiest of the format programs  to use.  That
  503.         is, it  requires far less ".dot" commands than any other
  504.         comparable program.  It still has the problem of not re-
  505.         cognizing lines already of the proper length, but if you
  506.         are planning to  only  use  it for reformatting existing
  507.         text files (without justification), it's likely the most
  508.         convenient of all the programs to use,  by  some margin.
  509.  
  510.         The special version (developed  by Norman Beeler at this
  511.         reviewer's request)  makes  this  program very simple to
  512.         use.  It defaults to:
  513.  
  514.               .nf    -  does not justify
  515.               .fi    -  does fill lines to maximum lenth
  516.               .rm 73 -  right magin to 72 columns  (counter
  517.                            is off one column when filling)
  518.               .ow 73 -  fills headers, etc., to same length
  519.  
  520.  
  521.  
  522.  
  523. Comments on text format programs.         22 March 1988         page 10
  524.  
  525. CONCLUSION:
  526. ----------
  527.     These comments  do not represent  any sort of exhaustive comparison
  528. or analysis  of the programs.  They only  represent  intial impressions
  529. this reviewer wanted to jot down while fresh  in mind.  As soon  as the
  530. programs were used  the first time, they all seemed to have glaring de-
  531. ficiencies  in the methods used to add  fill blanks to justify for even
  532. margins.  Therefore  the reviewer  plans  to use  them just to reformat
  533. existing ASCII text files and will use the  JUSTIFY  program  to obtain
  534. even margins.
  535.  
  536.     It took  JUSTIFY  46 seconds  to add fill characters to justify the
  537. 144k program that it took RNF13 42 minutes to reformat.
  538.  
  539.     The next step might be to write ".dot" command into  JUSTIFY  so it
  540. could become a self-standing format program.  This is quite unlikely to
  541. ever happen, since nearly all printers  (regardless of cost)  will soon
  542. have microjustification and since we have only discussed CP/M programs.
  543. Fewer people each year are even using CP/M.  Most of those who do, have
  544. expressed minimal  interest in a  separate format program from WordStar
  545. which they have been using since getting on CP/M.
  546.  
  547.     Thus JUSTIFY and perhaps  even ROFF4, etc. are such  speciality pro-
  548. grams only a nominal few readers will be interested enough in this topic
  549. to even read these notes. This is perhaps proven by the difficulty I had
  550. in even obtaining a copy of the RNF13 program.  Even  after I found such
  551. a program existed, it  was some  time  before I found somebody near Yale
  552. University that was able to find a copy of  the free program.  Obviously
  553. only a few RCPM systems in the country even carry ROFF4, ALPHAT20 and/or
  554. RNF13.  I do not anticipate JUSTIFY will receive widespread distribution
  555. or interest, when  released.  However as an available utility program it
  556. does serve a worthwhile purpose for those who do not care for the method
  557. WordStar uses for justification of ASCII text files.
  558. to anyone interested.
  559.  
  560.                                         - Irv Hoff
  561.                                           (415)  948-2166  voice
  562.                                           (415) 948-2512  PRACSA RCPM
  563.  
  564. ------------------------------------------------------------------------
  565.  
  566.  
  567.  
  568.  
  569. Comments on text format programs.         22 March 1988          page 11
  570.  
  571. ------------------------------------------------------------------------
  572.  
  573.     Samples of various  format programs, showing the method they
  574.     use to justify  consecutive, identical  lines, when  pulling
  575.     such lines to 1, 2 or 3 extra columns.  Note only Irv's pro-
  576.     gram fills the last line  out to the  requested  length, the
  577.     others assume  the last line  is the end of a paragraph  and
  578.     leave it whatever  it  was, originally.  Irv's  program does
  579.     that also, if the line is not  within  3-4 columns of normal
  580.     length, otherwise it is also left alone.
  581.  
  582.     Irv's program is the only one that uses the center area on a
  583.     normal rotation basis.
  584.  
  585.     You can readily  see that WordStar 3.3 does a  poor job, but
  586.     WordStar 4.0 does a just  plain  lousy job of justification.
  587.     On even number of fills needed, both are identical.
  588.  
  589.     Note:  All these programs are free, except for WordStar. All
  590.            can be found on the PRACSA RCPM.  (415) 948-2513.
  591.  
  592. -------------
  593.  
  594.  
  595. Irv's program, +1
  596.  
  597. hello hello hello hello hello  hello hello hello hello hello hello
  598. hello hello hello hello hello hello hello hello hello  hello hello
  599. hello hello  hello hello hello hello hello hello hello hello hello
  600. hello hello hello hello hello  hello hello hello hello hello hello
  601. hello hello hello hello hello hello hello hello hello  hello hello
  602. hello hello  hello hello hello hello hello hello hello hello hello
  603.  
  604. Irv's program, +2
  605.  
  606. hello hello hello hello hello  hello  hello hello hello hello hello
  607. hello hello hello hello hello hello hello hello  hello  hello hello
  608. hello hello  hello  hello hello hello hello hello hello hello hello
  609. hello hello hello hello hello  hello  hello hello hello hello hello
  610. hello hello hello hello hello hello hello hello  hello  hello hello
  611. hello hello  hello  hello hello hello hello hello hello hello hello
  612.  
  613. Irv's program, +3
  614.  
  615. hello hello hello hello  hello  hello  hello hello hello hello hello
  616. hello hello hello hello hello hello hello  hello  hello  hello hello
  617. hello hello  hello  hello  hello hello hello hello hello hello hello
  618. hello hello hello hello  hello  hello  hello hello hello hello hello
  619. hello hello hello hello hello hello hello  hello  hello  hello hello
  620. hello hello  hello  hello  hello hello hello hello hello hello hello
  621.  
  622. -------------
  623.  
  624.  
  625.  
  626.  
  627. Comments on text format programs.         22 March 1988          page 12
  628.  
  629.  
  630. ALPHATXT +1
  631.  
  632. hello hello hello  hello hello hello hello hello hello hello hello
  633. hello hello hello hello hello hello hello hello hello  hello hello
  634. hello hello hello hello hello hello  hello hello hello hello hello
  635. hello hello hello hello  hello hello hello hello hello hello hello
  636. hello hello hello hello hello hello hello hello hello hello  hello
  637. hello hello hello hello hello hello hello hello hello hello hello
  638.  
  639. ALPHATXT +2
  640.  
  641. hello hello hello  hello hello hello hello hello hello  hello hello
  642. hello hello hello hello  hello hello  hello hello hello hello hello
  643. hello hello hello hello hello hello hello hello  hello hello  hello
  644. hello  hello hello hello hello  hello hello hello hello hello hello
  645. hello hello  hello hello hello hello hello  hello hello hello hello
  646. hello hello hello hello hello hello hello hello hello hello hello
  647.  
  648. ALPHATXT +3
  649.  
  650. hello hello hello  hello hello hello  hello hello hello  hello hello
  651. hello hello hello hello  hello hello hello hello  hello hello  hello
  652. hello  hello hello hello hello  hello hello  hello hello hello hello
  653. hello hello  hello  hello hello hello hello hello hello  hello hello
  654. hello hello hello hello  hello hello  hello hello hello hello  hello
  655. hello hello hello hello hello hello hello hello hello hello hello
  656.  
  657. -------------
  658.  
  659. RNF13 +1
  660.  
  661. hello hello hello hello hello hello hello hello hello hello  hello
  662. hello  hello hello hello hello hello hello hello hello hello hello
  663. hello hello hello hello hello hello hello hello hello hello  hello
  664. hello  hello hello hello hello hello hello hello hello hello hello
  665. hello hello hello hello hello hello hello hello hello hello  hello
  666. hello hello hello hello hello hello hello hello hello hello hello
  667.  
  668. RNF13 +2
  669.  
  670. hello hello hello hello hello hello hello hello hello  hello  hello
  671. hello  hello  hello hello hello hello hello hello hello hello hello
  672. hello hello hello hello hello hello hello hello hello  hello  hello
  673. hello  hello  hello hello hello hello hello hello hello hello hello
  674. hello hello hello hello hello hello hello hello hello  hello  hello
  675. hello hello hello hello hello hello hello hello hello hello hello
  676.  
  677.  
  678.  
  679.  
  680. Comments on text format programs.         22 March 1988          page 13
  681.  
  682. RNF13 +3
  683.  
  684. hello hello hello hello hello hello hello hello  hello  hello  hello
  685. hello  hello  hello  hello hello hello hello hello hello hello hello
  686. hello hello hello hello hello hello hello hello  hello  hello  hello
  687. hello  hello  hello  hello hello hello hello hello hello hello hello
  688. hello hello hello hello hello hello hello hello  hello  hello  hello
  689. hello hello hello hello hello hello hello hello hello hello hello
  690.  
  691. ---------------
  692.  
  693. ROFF4 +1
  694.  
  695. hello  hello hello hello hello hello hello hello hello hello hello
  696. hello hello hello hello hello hello hello hello hello hello  hello
  697. hello  hello hello hello hello hello hello hello hello hello hello
  698. hello hello hello hello hello hello hello hello hello hello  hello
  699. hello  hello hello hello hello hello hello hello hello hello hello
  700. hello hello hello hello hello hello hello hello hello hello hello
  701.  
  702. ROFF4 +2
  703.  
  704. hello  hello  hello hello hello hello hello hello hello hello hello
  705. hello hello hello hello hello hello hello hello hello  hello  hello
  706. hello  hello  hello hello hello hello hello hello hello hello hello
  707. hello hello hello hello hello hello hello hello hello  hello  hello
  708. hello  hello  hello hello hello hello hello hello hello hello hello
  709. hello hello hello hello hello hello hello hello hello hello hello
  710.  
  711. ROFF4 +3
  712.  
  713. hello  hello  hello  hello hello hello hello hello hello hello hello
  714. hello hello hello hello hello hello hello hello  hello  hello  hello
  715. hello  hello  hello  hello hello hello hello hello hello hello hello
  716. hello hello hello hello hello hello hello hello  hello  hello  hello
  717. hello  hello  hello  hello hello hello hello hello hello hello hello
  718. hello hello hello hello hello hello hello hello hello hello hello
  719.  
  720.  
  721. WordStar 3.3 +1
  722.  
  723. hello hello hello hello hello hello hello hello hello hello  hello
  724. hello  hello hello hello hello hello hello hello hello hello hello
  725. hello hello hello hello hello hello hello hello hello hello  hello
  726. hello  hello hello hello hello hello hello hello hello hello hello
  727. hello hello hello hello hello hello hello hello hello hello  hello
  728. hello hello hello hello hello hello hello hello hello hello hello
  729.  
  730. -------------
  731.  
  732.  
  733.  
  734.  
  735. Comments on text format programs.         22 March 1988          page 14
  736.  
  737. WordStar 3.3 +2
  738.  
  739. hello  hello hello hello hello hello hello hello hello hello  hello
  740. hello  hello hello hello hello hello hello hello hello hello  hello
  741. hello  hello hello hello hello hello hello hello hello hello  hello
  742. hello  hello hello hello hello hello hello hello hello hello  hello
  743. hello  hello hello hello hello hello hello hello hello hello  hello
  744. hello hello hello hello hello hello hello hello hello hello hello
  745.  
  746. WordStar 3.3 +3
  747.  
  748. hello  hello hello hello hello hello hello hello hello  hello  hello
  749. hello  hello  hello hello hello hello hello hello hello hello  hello
  750. hello  hello hello hello hello hello hello hello hello  hello  hello
  751. hello  hello  hello hello hello hello hello hello hello hello  hello
  752. hello  hello hello hello hello hello hello hello hello  hello  hello
  753. hello hello hello hello hello hello hello hello hello hello hello
  754.  
  755. ---------------
  756.  
  757.  
  758. WordStar 4.0 +1
  759.  
  760. hello hello hello hello hello hello hello hello hello hello  hello
  761. hello hello hello hello hello hello hello hello hello hello  hello
  762. hello hello hello hello hello hello hello hello hello hello  hello
  763. hello hello hello hello hello hello hello hello hello hello  hello
  764. hello hello hello hello hello hello hello hello hello hello  hello
  765. hello hello hello hello hello hello hello hello hello hello hello
  766.  
  767. WordStar 4.0 +2
  768.  
  769. hello  hello hello hello hello hello hello hello hello hello  hello
  770. hello  hello hello hello hello hello hello hello hello hello  hello
  771. hello  hello hello hello hello hello hello hello hello hello  hello
  772. hello  hello hello hello hello hello hello hello hello hello  hello
  773. hello  hello hello hello hello hello hello hello hello hello  hello
  774. hello hello hello hello hello hello hello hello hello hello hello
  775.  
  776. WordStar 4.0 +3
  777.  
  778. hello  hello hello hello hello hello hello hello hello  hello  hello
  779. hello  hello hello hello hello hello hello hello hello  hello  hello
  780. hello  hello hello hello hello hello hello hello hello  hello  hello
  781. hello  hello hello hello hello hello hello hello hello  hello  hello
  782. hello  hello hello hello hello hello hello hello hello  hello  hello
  783. hello hello hello hello hello hello hello hello hello hello hello
  784.  
  785. ---------------
  786.  
  787.  
  788.  
  789.  
  790. Comments on text format programs.         22 March 1988          page 15
  791.  
  792. This example  was used for each of the four format programs.  It clearly
  793. shows how the various programs handle text with 1 space after the end of
  794. a sentence and how they handle 2 or more.  RNF13 and the special version
  795. of ROFF4 do an ideal job in this regard.  Both ALPHATXT and WordStar use
  796. whatever the text already had.  They are basically worthless with regard
  797. to reformatting  existing text that may already be justified i.e., which
  798. has fill characters that would need to be removed.
  799.  
  800.  
  801. This    is a   small format  test. Do you
  802. think it   will work? Just checking  to
  803. see
  804. how   it may handle punctuation! Some  of
  805. these have
  806. one space;  some have two. A good     format
  807. program   should   put   two  spaces  after
  808. a period
  809. to   end  a sentence.     We'll put the   other
  810. programs to work shortly, ok?     Should tell
  811. us what; we want to know.          Bye for
  812. now. Roger and out.
  813.  
  814. ---------------
  815.  
  816.  
  817. ALPHATXT
  818.  
  819. This    is a   small format  test Do you think it   will work? Just
  820. checking  to see how   it may handle punctuation! Some  of these have
  821. one space;  some have two. A good     format program   should   put
  822. two  spaces  after a period to   end  a sentence.     We'll put the
  823. other programs to work shortly, ok?     Should tell us what; we want to
  824. know.          Bye for now. Roger and out.
  825.  
  826.  
  827. ---------------
  828.  
  829.  
  830. RNF13
  831.  
  832. This is a small format test.  Do you think it will work?  Just checking
  833. to see how it may handle punctuation!  Some of these have one space;
  834. some have two.  A good format program should put two spaces after a
  835. period to end a sentence.  We'll put the other programs to work shortly,
  836. ok?  Should tell us what; we want to know.  Bye for now.  Roger and out.
  837.  
  838. ---------------
  839.  
  840.  
  841.  
  842.  
  843. Comments on text format programs.         22 March 1988          page 16
  844.  
  845. ROFF4
  846.  
  847. This is a small format test.  Do you think it will work?  Just checking
  848. to see how it may handle punctuation!  Some of these have one space;
  849. some have two.  A good format program should put two spaces after a
  850. period to end a sentence.  We'll put the other programs to work shortly,
  851. ok?  Should tell us what; we want to know.  Bye for now.  Roger and
  852. out.
  853.  
  854. ---------------
  855.  
  856.  
  857. WORDSTAR 4.0
  858.  
  859. This    is a   small format  test. Do you think it   will work? Just
  860. checking  to see how   it may handle punctuation! Some  of these have
  861. one space;  some have two. A good     format program   should   put
  862. two  spaces  after a period to   end  a sentence.     We'll put the
  863. other programs to work shortly, ok?     Should tell us what; we want to
  864. know.          Bye for now. Roger and out.
  865.  
  866.  
  867.         Note:  Before WordStar could be used on the sample
  868.                text, we had to convert the "hard CR" char-
  869.                acters to "soft CR" by changing them to 8D.
  870.                When the program was then run through Word-
  871.                Star it had:
  872.  
  873.                  72 high bits set
  874.                   9 trailing spaces
  875.                   5 soft CR's
  876.  
  877.                            - end -
  878.  
  879.