NetBSD-Bugs archive

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

bin/49205: vi ignores ~/.[n]exrc in some circumstances

>Number:         49205
>Category:       bin
>Synopsis:       vi ignores ~/.[n]exrc if [N]EXINIT set
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Sep 16 08:40:00 +0000 2014
>Release:        NetBSD 7.0_BETA
System: NetBSD rpi 7.0_BETA NetBSD 7.0_BETA (RPI.kefrenSD0) #1: Wed Sep 3 
18:42:21 EEST 2014
Architecture: earmhf
Machine: evbarm
        nvi ignores ~/.[n]exrc files in certain undocumented conditions:
         * /etc/vi.exrc not owned by root
         * /etc/vi.exrc parsed with errors
         * NEXINIT or EXINIT set in environment
         * ~/.[n]exrc file not owned by current euid, or writable by group or

        While most of the cases alert the user, the [N]EXINIT env case doesn't.

        Don't know if current nvi does the right thing in all the above cases 
        vi manpage should document this behaviour - especially the silent 



Home | Main Index | Thread Index | Old Index