Bug 10321 - vi - repeat search with typing 'n' doesn't work
Summary: vi - repeat search with typing 'n' doesn't work
Status: RESOLVED FIXED
Alias: None
Product: Busybox
Classification: Unclassified
Component: Other (show other bugs)
Version: 1.23.x
Hardware: Other Linux
: P5 normal
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-09-23 13:06 UTC by Frank
Modified: 2020-01-29 13:10 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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