NetBSD Problem Report #184
From gnats Thu Mar 31 19:46:26 1994
Received: from cis-ts3-slip4.cis.brown.edu (root@cis-ts3-slip4.cis.brown.edu [128.148.19.58]) by sun-lamp.cs.berkeley.edu (8.6.8/8.6.6) with ESMTP id TAA16856 for <gnats-bugs@sun-lamp.cs.berkeley.edu>; Thu, 31 Mar 1994 19:46:21 -0800
Message-Id: <199404010346.WAA01705@cis-ts3-slip4.cis.brown.edu>
Date: Thu, 31 Mar 1994 22:46:28 -0500
From: Mark_Weaver@brown.edu
Reply-To: Mark_Weaver@brown.edu
To: gnats-bugs@sun-lamp.cs.berkeley.edu
Subject: tn3270 is confused about where map3270 is located
X-Send-Pr-Version: 3.2
>Number: 184
>Category: bin
>Synopsis: tn3270 is confused about where map3270 is located
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: gnats-admin
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Mar 31 19:50:05 +0000 1994
>Closed-Date: Fri Apr 01 04:07:02 +0000 1994
>Last-Modified:
>Originator: Mark Weaver
>Release: current-940331
>Organization:
--------------------------------------------------------------------
Email: Mark_Weaver@brown.edu | Brown University
PGP Key: finger mhw@cs.brown.edu | Dept of Computer Science
>Environment:
System: NetBSD cis-ts3-slip4.cis.brown.edu 0.9a EXCELSIOR#0 i386
>Description:
Some parts of tn3270 think that map3270 is located in /etc.
Other parts realize (correctly) that it is in /usr/share/misc.
>How-To-Repeat:
I forgot how this causes problems. However, the fix is very
straightforward and obvious.
>Fix:
diff -u src/usr.bin/tn3270/ascii/map3270.c.mhw1 src/usr.bin/tn3270/ascii/map3270.c
--- src/usr.bin/tn3270/ascii/map3270.c.mhw1 Fri Dec 17 02:19:01 1993
+++ src/usr.bin/tn3270/ascii/map3270.c Wed Mar 30 22:36:18 1994
@@ -905,7 +905,7 @@
GotIt = Position(environPointer, keybdPointer);
}
if (!GotIt) {
- GotIt = Position("/etc/map3270", keybdPointer);
+ GotIt = Position("/usr/share/misc/map3270", keybdPointer);
}
}
if (!GotIt) {
@@ -913,7 +913,7 @@
GotIt = Position(environPointer, "unknown");
}
if (!GotIt) {
- GotIt = Position("/etc/map3270", keybdPointer);
+ GotIt = Position("/usr/share/misc/map3270", keybdPointer);
}
}
if (!GotIt) {
diff -u src/usr.bin/tn3270/ascii/default.map.mhw1 src/usr.bin/tn3270/ascii/default.map
--- src/usr.bin/tn3270/ascii/default.map.mhw1 Fri Dec 17 02:19:01 1993
+++ src/usr.bin/tn3270/ascii/default.map Wed Mar 30 22:36:19 1994
@@ -35,7 +35,7 @@
/* default.map3270: This file is the system default for the key sequence
* if neither the user's TERM nor "unknown" are found in either of
- * MAP3270 or /etc/map3270.
+ * MAP3270 or /usr/share/misc/map3270.
*
*
*/
diff -u src/usr.bin/tn3270/mset/map3270.5.mhw1 src/usr.bin/tn3270/mset/map3270.5
--- src/usr.bin/tn3270/mset/map3270.5.mhw1 Sat Feb 5 05:16:54 1994
+++ src/usr.bin/tn3270/mset/map3270.5 Wed Mar 30 22:36:19 1994
@@ -231,7 +231,7 @@
.SH A SAMPLE ENTRY
The following entry is used by
tn3270(1) when unable to locate a reasonable version in the
-user's environment and in /etc/map3270:
+user's environment and in /usr/share/misc/map3270:
.sp
.nf
name { # actual name comes from TERM variable
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed
State-Changed-By: cgd
State-Changed-When: Thu Mar 31 20:07:02 PST 1994
State-Changed-Why:
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.