Re: vi(1) one line crasher

2023-06-22 Thread Martin Neitzel
> And to be more exhaustive (perhaps it's this) is here my EXINIT: > EXINIT='set nu showmatch ts=8 wl=72' Ah! I can seg-fault vi(1) now, too! It boils down to: a "set nu" alone + "$" causes the crash for me. I run vi(1) without any personal settings in .exrc/.virc/$EXINIT. Also, $DISPLAY wasn'

Re: vi(1) one line crasher

2023-06-22 Thread tlaronde
PR submitted. Thanks! Le Thu, Jun 22, 2023 at 08:54:30PM +0200, Martin Husemann a écrit : > On Thu, Jun 22, 2023 at 08:52:12PM +0200, Martin Husemann wrote: > > env EXINIT='set nu showmatch ts=8 wl=72' vi /tmp/vi_crasher.txt > > > > does crash for me when typing $ > > #2 0x009a54da in

Re: vi(1) one line crasher

2023-06-22 Thread Martin Husemann
On Thu, Jun 22, 2023 at 08:52:12PM +0200, Martin Husemann wrote: > env EXINIT='set nu showmatch ts=8 wl=72' vi /tmp/vi_crasher.txt > > does crash for me when typing $ #2 0x009a54da in vs_paint (sp=sp@entry=0x6fb6f40de000, flags=flags@entry=3) at /work/src/external/bsd/nvi/dist/vi/vs

Re: vi(1) one line crasher

2023-06-22 Thread Martin Husemann
On Thu, Jun 22, 2023 at 08:46:44PM +0200, tlaro...@polynum.com wrote: > So wl=72 and ts=8 may reproduce for you? Yes! env EXINIT='set nu showmatch ts=8 wl=72' vi /tmp/vi_crasher.txt does crash for me when typing $ Martin

vi(1) one line crasher

2023-06-22 Thread tlaronde
And to be more exhaustive (perhaps it's this) is here my EXINIT: EXINIT='set nu showmatch ts=8 wl=72' The problem with wl=72 and the 80 for the size of the window and the 8 expansion for tabs? The "end" of the displayed line is for me the 72th char, the 'l'. So wl=72 and ts=8 may reproduce for

Re: vi(1) one line crasher

2023-06-22 Thread tlaronde
Le Thu, Jun 22, 2023 at 08:00:22PM +0200, Martin Neitzel a écrit : > Hi Thierry, > > > If one opens this one line script in vi, in an xterm with default size, > > using the dollar '$' to go to the end of the line crashes vi(1). > > I cannot reproduce that with: > > % env TERM=xterm LC_ALL=fr_FR.

Re: vi(1) one line crasher

2023-06-22 Thread Martin Neitzel
Hi Thierry, > If one opens this one line script in vi, in an xterm with default size, > using the dollar '$' to go to the end of the line crashes vi(1). I cannot reproduce that with: % env TERM=xterm LC_ALL=fr_FR.ISO8859-15 vi vi_crasher.txt with local (linux) xterm -> ssh netbsd-host -> vi N

Re: vi(1) one line crasher

2023-06-22 Thread tlaronde
Le Thu, Jun 22, 2023 at 06:40:08PM +0200, Martin Husemann a écrit : > On Thu, Jun 22, 2023 at 06:22:42PM +0200, tlaro...@polynum.com wrote: > > If one opens this one line script in vi, in an xterm with default size, > > using the dollar '$' to go to the end of the line crashes vi(1). > > I can't r

Re: vi(1) one line crasher

2023-06-22 Thread Martin Husemann
On Thu, Jun 22, 2023 at 06:22:42PM +0200, tlaro...@polynum.com wrote: > If one opens this one line script in vi, in an xterm with default size, > using the dollar '$' to go to the end of the line crashes vi(1). I can't reproduce this. Which version of NetBSD? The in-tree vi? What is your $TERM? Wh

vi(1) one line crasher

2023-06-22 Thread tlaronde
If one opens this one line script in vi, in an xterm with default size, using the dollar '$' to go to the end of the line crashes vi(1). I had frequently problem with the last character in the vi windows, on the edge of the xterm window not displaying correctly (the previous char is repeated and w