NetBSD Problem Report #49205

From kefren@rpi.localdomain  Tue Sep 16 08:37:51 2014
Return-Path: <kefren@rpi.localdomain>
Received: from ( [])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "", Issuer "Postmaster" (verified OK))
	by (Postfix) with ESMTPS id 89D34CE16E
	for <>; Tue, 16 Sep 2014 08:37:51 +0000 (UTC)
Message-Id: <20140916075403.517DFF2323@rpi.localdomain>
Date: Tue, 16 Sep 2014 10:54:03 +0300 (EEST)
From: kefren@rpi.localdomain
Subject: vi ignores ~/.[n]exrc in some circumstances
X-Send-Pr-Version: 3.95

>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 evbarm
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 but
	vi manpage should document this behaviour - especially the silent ignoring




NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD:,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2014 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.