Steps to reproduce: 1. Open the attached text file with nvi 2. Set tabstop to a large number. For example, :set tabstop=1000 3. Scroll forward by control-f 4. Scroll backward by control-b The attached patch fixed the segmentation fault. But I don't know if this is proper fix.
Hi Kusanagi, I could not reproduce this problem on Debian Unstable with nvi 1.81.6-14 installed. Could you please try again and see if the problem is fixed? Thanks!