Matt Schalit wrote:

> There's something wrong with elvis, when I open gatping.c
> At line 177 and 178, all hell breaks loose.  It's the damned
> oddest thing I've ever seen.
> 
>   e3 can display gatping.c correctly
>   vi on UnixWare 7 displays gatping.c correctly.
>   gatping.c is 312 lines long.
>   line 177 is --->      sizeof ( struct sockaddr_in ) ) ;
>   line 178 is --->      if ( n < 0 || n != ping_pkt_size )
>   elvis may or may not agree with the numbering.
>   elivs may shift the lines by one.
>   elivs has SERIOUS problems understanding line 178.
>   If one uses the 'l' key to move the cursor to the right
>      along the line 178, the cursor jumps and does not move
>      accross all the characters!
>   If one deletes the first tab character at the beginnning of
>      line 178, a duplicate of line 177 appears in it's place.
>   gdb also prints out the wrong
> 
> I'm going nuts here.  This is Oxygen-090601, with elvis 1.4-1.

Make sure you're using the newest terminfo for your terminal.  I found
that the terminfo hadn't been updated in a very LONG time - once I
updated it, the screen colors changed to the RIGHT colors.

Easy way to tell: go into ipkg or acfg - if the background is red, you
need an update.  If it's blue, you're okay.

I recompiled elvis-tiny on my Red Hat 6.0 to see what happened on
gatping.c - worked alright.

_______________________________________________
Leaf-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-devel

Reply via email to