NetBSD Problem Report #176
From gnats Tue Mar 22 20:23:46 1994
Received: from dworkin.wustl.edu (dworkin.wustl.edu [128.252.169.2]) by sun-lamp.cs.berkeley.edu (8.6.8/8.6.6) with ESMTP id UAA15950 for <gnats-bugs@sun-lamp.cs.berkeley.edu>; Tue, 22 Mar 1994 20:23:46 -0800
Message-Id: <199403230427.WAA02579@netbsd>
Date: Tue, 22 Mar 1994 22:27:07 -0600
From: chuck@maria.wustl.edu
Reply-To: chuck@maria.wustl.edu
To: gnats-bugs@sun-lamp.cs.berkeley.edu
Subject: "vi -t" doesn't work
X-Send-Pr-Version: 3.2
>Number: 176
>Category: bin
>Synopsis: "vi -t" doesn't work
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: gnats-admin
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Mar 22 20:35:01 +0000 1994
>Closed-Date: Thu Mar 24 16:08:21 +0000 1994
>Last-Modified: Thu Jan 02 18:09:47 +0000 2014
>Originator: Chuck Cranor
>Release:
>Organization:
useless grad student at Washington University, St. Louis MO
>Environment:
System: NetBSD netbsd 0.9a CCRC#8 sparc
-current supped on Mar 21
>Description:
Use "ctags" to make a tags file. Then try to use "vi -t".
It doesn't work.
>How-To-Repeat:
Script started on Tue Mar 22 22:19:20 1994
netbsd> cat x.c
xxx() {
}
netbsd> ctags x.c
netbsd> cat tags
xxx x.c /^xxx() {$/
netbsd> vi -t xxx
Error: tags: Invalid argument.
xxx: tag not found.
Error: /var/db/libc.tags: No such file or directory.
Error: /sys/kern/tags: No such file or directory.
netbsd> exit
Script done on Tue Mar 22 22:20:06 1994
>Fix:
mmap() without a type (MAP_FILE or MAP_ANON) was failing. `vi -t'
uses mmap() to read the tags file. Since the 4.4 mmap() does not
have MAP_FILE, and we are moving in that direction, the proper fix
seems to be having a default type in the kernel for now. - mycroft
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed
State-Changed-By: mycroft
State-Changed-When: Thu Mar 24 08:08:21 PST 1994
State-Changed-Why:
This is arguably a kernel bug, and has been fixed.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.