NetBSD Problem Report #359
From gnats Thu Jul 21 21:56:55 1994
Received: from nic.near.net (nic.near.net [192.52.71.4]) by sun-lamp.cs.berkeley.edu (8.6.9/8.6.9) with SMTP id VAA06095 for <gnats-bugs@sun-lamp.cs.berkeley.edu>; Thu, 21 Jul 1994 21:56:54 -0700
Message-Id: <9407220457.AA14943@cthulhu>
Date: Fri, 22 Jul 94 00:57:11 EDT
From: Mike Long <mike.long@analog.com>
Reply-To: Mike Long <Mike.Long@analog.com>
To: gnats-bugs@sun-lamp.cs.berkeley.edu
Subject: K2 & K3 are reversed in termcap.5 and termcap.src
X-Send-Pr-Version: 3.2
>Number: 359
>Category: misc
>Synopsis: K2 & K3 are reversed in termcap.5 and termcap.src
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: gnats-admin
>State: closed
>Class: doc-bug
>Submitter-Id: net
>Arrival-Date: Thu Jul 21 22:05:05 +0000 1994
>Closed-Date: Fri Aug 05 22:44:48 +0000 1994
>Last-Modified: Wed Sep 05 00:20:06 +0000 2001
>Originator: Mike Long
>Release: 1.0-Alpha (Jul 13 bindist)
>Organization:
Disorganization, Ultd.
>Environment:
System: NetBSD azathoth.boston.ma.us 1.0-ALPHA NetBSD 1.0-ALPHA (GENERICBT) #1: Tue Jul 12 18:45:33 PDT 1994 cgd@sun-lamp.cs.berkeley.edu:/usr/src/sys/arch/i386/compile/GENERICBT i386
>Description:
The K2 and K3 capabilities are reversed in the termcap.5 manpage and
the ibmpc3 terminal description in /usr/share/misc/termcap. In two
other systems that I've looked at (SunOS 4.1.3 and HP-UX 9.01) and in
GNU termcap, the K2 capability describes the center keypad key (5)
while the K3 capability describes the upper-right keypad key (9). The
termcap(5) manpage and the entry for ibmpc3 in /usr/share/misc/termcap
use K2 as the capability for the upper-right keypad key and K3 as the
capability for the center key, which is the opposite.
>How-To-Repeat:
man 5 termcap
OR (the way I found it)
emacs
C-h k [kp-5]
emacs comes back with "kp-9 is undefined."
>Fix:
swap K2 & K3 in /usr/src/share/man/man5/termcap.5 and in the ibmpc3
entry in /usr/src/share/termcap/termcap.src. I'd give you a patch, but
I don't have a source tree at the moment.
--
Mike Long Mike.Long@Analog.com
VLSI Design Engineer (PGP 2.6 public key available)
Analog Devices, CPD Division
Norwood, MA 02062 USA assert(*this!=opinionof(Analog));
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed
State-Changed-By: jtc
State-Changed-When: Fri Aug 5 22:44:48 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.