NetBSD-Bugs archive

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

bin/39545: new nvi doesn't like ":se matchchars"



>Number:         39545
>Category:       bin
>Synopsis:       new nvi doesn't like ":se matchchars"
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Sep 14 17:45:00 +0000 2008
>Originator:     Alan Barrett
>Release:        NetBSD 4.99.72
>Organization:
Not much
>Environment:
System: NetBSD 4.99.72
Architecture: i386
Machine: i386
>Description:
        The new /usr/bin/vi doesn't support the matchchars option.

        I have marked this "critical" because it's a regression
        in functionality that used to work.

>How-To-Repeat:
        Run the new vi, in a context where $HOME/.exrc contains a
        command like

            se matchchars=''""(){}[]

        Observe these error messages:

            set: no matchchars option: 'set all' gives all option values
            Ex command failed: pending commands discarded

        Alternatively, start vi and type

            :se matchchars=''""(){}[]

>Fix:
        1. Add the matchchars logic to the new nvi.

        2. Check whether there are any other options present in old nvi
           but not new nvi, and add them too.



Home | Main Index | Thread Index | Old Index