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
>Originator: kefren%netbsd.org@localhost
>Release: NetBSD 7.0_BETA
>Organization:
none
>Environment:
System: NetBSD rpi 7.0_BETA NetBSD 7.0_BETA (RPI.kefrenSD0) #1: Wed Sep 3
18:42:21 EEST 2014
kefren%stargate.girsa.ro@localhost:/data/work/kefren/netbsd-7/src/sys/arch/evbarm/compile/obj/RPI.kefrenSD0
evbarm
Architecture: earmhf
Machine: evbarm
>Description:
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
others
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
but
vi manpage should document this behaviour - especially the silent
ignoring
case.
>How-To-Repeat:
>Fix:
>Unformatted:
Home |
Main Index |
Thread Index |
Old Index