From <@gimli.Informatik.Uni-Oldenburg.DE:oytix!jelal.hb.north.de!nox@olis.north.de>  Sun May 14 10:21:45 1995
Received: from gimli.Informatik.Uni-Oldenburg.DE (gimli.Informatik.Uni-Oldenburg.DE [134.106.1.10])
          by freefall.cdrom.com (8.6.10/8.6.6) with SMTP id KAA17481
          for <FreeBSD-gnats-submit@freebsd.org>; Sun, 14 May 1995 10:21:37 -0700
Received: by gimli.Informatik.Uni-Oldenburg.DE (Smail3.1.22.1)
	id <m0sAgnL-00009EC>; Sun, 14 May 95 18:45 CES
Received: by olis.north.de (/\==/\ Smail3.1.28.1 #28.13)
	id <m0sAghe-0000HGC@olis.north.de>; Sun, 14 May 95 18:39 MES
Received: from jelal.hb.north.de by oytix.hb.north.de with bsmtp
	(Smail3.1.29.0 #1) id m0sAWNS-0004jVM; Sun, 14 May 95 07:38 MET DST
Received: by jelal.hb.north.de (SMail-ST 0.95gcc/2.5+)
	id AA00944; Sat, 13 May 1995 23:17:00 +0200 (CEDT)
Message-Id: <9505132117.AA00944@jelal.hb.north.de>
Date: Sat, 13 May 1995 23:17:00 +0200 (CEDT)
From: nox@jelal.hb.north.de
Reply-To: nox@jelal.hb.north.de
To: FreeBSD-gnats-submit@freebsd.org
Subject: keypad in xterm (bash, vi...)
X-Send-Pr-Version: 3.2

>Number:         409
>Category:       misc
>Synopsis:       vi etc. get escape sequences from keypad when you'd expect printables
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs (FreeBSD bugs mailing list)
>State:          closed
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun May 14 10:30:00 1995
>Closed-Date:    Sun May 14 16:38:36 PDT 1995
>Last-Modified:
>Originator:     Juergen Lock
>Release:        FreeBSD 2.0-RELEASE i386
>Organization:
me? organized?
>Environment:

	2.0R /usr/share/misc/termcap, XFree86 3.1 with 3.1.1u1 S3 server

>Description:

	Looks like either vi, bash, elvis all put the keypad in the
	wrong mode or the xterm termcap entry is bad.
	(Or this is intentional and i'm not yet enlightened. :)
	NumLock in on btw, and also cons25 does not have the problem.

>How-To-Repeat:

	Try to enter some numbers on the keypad in vi or bash...

>Fix:
	
	If i use a xterm termcap entry with the ks and ke definitions
	swapped the keypad works.  Also if i set TERM=cons25.

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: ache 
State-Changed-When: Sun May 14 16:38:36 PDT 1995 
State-Changed-Why:  
On all VT100-like (xterm included) keypad not supposed to generate numbers 
in keypad-active mode, but generates arrows instead 
>Unformatted:



