NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

bin/44006: vi: CTRL-A does not handle end-of-word correctly



>Number:         44006
>Category:       bin
>Synopsis:       vi: CTRL-A does not handle end-of-word correctly
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Oct 28 17:45:01 +0000 2010
>Originator:     Ralph G
>Release:        NetBSD 5.0
>Organization:
>Environment:
NetBSD myname.net 5.0 NetBSD 5.0 (GENERIC) #0: Sun Apr 26 18:50:08 UTC 2009  
builds%b6.netbsd.org@localhost:/home/builds/ab/netbsd-5-0-RELEASE/i386/200904260229Z-obj/home/builds/ab/netbsd-5-0-RELEASE/src/sys/arch/i386/compile/GENERIC
 i386
>Description:
It seems that the search pattern does not include the word end.    
I.e. pressing CTRL-A with the cursor on 'asd' matches 'asdf', too.

>How-To-Repeat:
echo asd fgh jkl mno asdf asd >/tmp/vitest

vi /tmp/vitest

Then press CTRL-A

>Fix:
Debian has a fix for the problem. 
Locate the file nvi_1.81.6-8.1.diff.gz,
it should be available on any debian mirror.
(Look for '15search_word.dpatch')



Home | Main Index | Thread Index | Old Index