Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

bug in vi (wrapmargin)

1 view
Skip to first unread message

Nick Stoughton

unread,
Oct 24, 1986, 9:25:52 AM10/24/86
to

I don't know if anyone in the mists of time has noticed and reported this
feature before, but there is a serious bug in the line folding
stuff when wrapmargin is non-zero.

Repeat-by:
Set wrapmargin=10.
Create yourself a small file with the same line copied 3 or 4 times
with each line just shorter than where the line break would occur.
Go to the last word on line 1. Add in some text to cause a line split.
Got to the last word on line 2.
Type '.' to repeat the insert.
Observe

Fix-by:
Don't know...I haven't the time to look just now.

--
--------
Nick Stoughton
ni...@inset.co.uk Hit it with a hammer -- sure to work then!
ni...@inset.UUCP
...!ukc!inset!nick

Paul Sutcliffe Jr.

unread,
Oct 29, 1986, 11:17:42 PM10/29/86
to
In article <10...@inset.UUCP>, ni...@inset.UUCP (Nick Stoughton) writes:
> I don't know if anyone in the mists of time has noticed and reported this
> feature before, but there is a serious bug in the line folding
> stuff when wrapmargin is non-zero.
>
> Repeat-by:
> [ showed what to do ]

Must not be a unique problem. I tried the "repeat-by" steps with
my vi and had the same thing occur (I guess, Nick just says "Observe",
and I assume that what I saw is what he meant).

For the record, I have a Tandy Model 16 using XENIX/68000 3.0; the
version of vi is 3.7.

-Paul
--
Paul Sutcliffe, Jr. UUCP: {seismo,ihnp4,allegra,rutgers}!cbmvax!devon!paul
Devon Computer Services COMPUSERVE: 76176,502
Allentown, Penna. "I love work ..."
+1 215 398 3776 "... I could sit and watch people do it all day!"

0 new messages