vi: odd behaviour when editing files

Denys Vlasenko vda.linux at googlemail.com
Fri Dec 21 13:31:38 PST 2007


On Tuesday 18 December 2007 18:46, Cristian Ionescu-Idbohrn wrote:
> As I did not get any reaction on this post:
>
>   http://busybox.net/lists/busybox/2007-December/029525.html
>
> I'll start a new thread.  Please refer to the link above.
> Please find attached a minimal .config and a data file which can help
> reproduce the problem.  Edit that file and place the cursor on lines with
> length beyond 255 characters.  That will produce various artifacts,
> depending on the terminal (I tested xterm, aterm and pterm).

Try this one.

It should support nearly arbitrarily long lines.
--
vda
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vi.c
Type: text/x-csrc
Size: 109520 bytes
Desc: not available
Url : http://busybox.net/lists/busybox/attachments/20071221/8dfda236/attachment-0001.c 


More information about the busybox mailing list