Bug 10321

Summary: vi - repeat search with typing 'n' doesn't work
Product: Busybox Reporter: Frank <frank.musbach>
Component: OtherAssignee: unassigned
Status: RESOLVED FIXED    
Severity: normal CC: busybox-cvs
Priority: P5    
Version: 1.23.x   
Target Milestone: ---   
Hardware: Other   
OS: Linux   
Host: Target:
Build:

Description Frank 2017-09-23 13:06:41 UTC
I experienced the behaviour on busybox 1.23.2 and 1.27.2. I cross compile busybox on Ubuntu 16.04 LTS for armv7 with the toolchain arm-linux-gnueabihf of Ubuntu.

The behaviour is as follows:

I open a file with vi and search with ':/string' for 'string'. Now I want to repeat the search with 'n' but the cursor moves just one position to the right. The expected result should be that the cursor jumps to the next hit.
Comment 1 Denys Vlasenko 2020-01-29 13:10:13 UTC
fixed in git:
commit 16bcd504a32e6a7bf2015ffb241133f9ead6100b
Author: Ron Yorston <rmy@pobox.com>
Date:   Thu Jan 23 15:31:19 2020 +0000

    vi: fixes to string search in colon commands