ietf-822
[Top] [All Lists]

Re: Algorithm for splitting long lines

1996-07-23 10:26:07
On Mon, 22 Jul 1996, Mike Macgirvin wrote:

      There are even better ways. Start with a line table. -- I thought 40
column text went out with the Commodore-64. Same with composers that limit you
to 72 columns or less, trying to anticipate how many reply prefixes will get
added. We live in an 80 column world (and this too will pass). Let's figure 
out
how to exist in that world rather than impose arbitrary limits that take days
to explain to normal humans. The following is from a public domain MUA:

Jack and Jill went up the hill. Jack fell down and Jill came tumbling
after. This is the second line of the original text which was split
because of line length into several lines as shown above.

Your algorithm will combine words from different lines onto the same
line. My algorithm did not do that, and thus violated the original
text less than your algorithm. My assumption was that the code
which had to split lines did not know enough about the original
text to allow combining words from more than one line onto one
line.

------------------------------------------------------------------------
Jacob Palme <jpalme(_at_)dsv(_dot_)su(_dot_)se> (Stockholm University and KTH)
for more info see URL: http://www.dsv.su.se/~jpalme

<Prev in Thread] Current Thread [Next in Thread>