Subject: pkg/7008: screen 3.7.6 has funky keymapping for ^[
To: None <gnats-bugs@gnats.netbsd.org>
From: Rob Windsor <windsor@warthog.com>
List: netbsd-bugs
Date: 02/15/1999 19:46:27
>Number:         7008
>Category:       pkg
>Synopsis:       "^[" is mapped to "^[ha" if initial TERM is "xterm"
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    gnats-admin (GNATS administrator)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Feb 15 17:50:00 1999
>Last-Modified:
>Originator:     Rob Windsor
>Organization:
NosePickers Anonymous
>Release:        1.3.3
>Environment:
System: NetBSD nimh 1.3.3 NetBSD 1.3.3 (NIMH) #8: Sat Feb 13 10:21:58 CST 1999 windsor@nimh:/usr/src/sys/arch/i386/compile/NIMH i386
(also seen on 1.3.3/sparc)


>Description:
	when your TERM is set to xterm, screen maps ^[ to ^[ha, which really
	plays with vi(1) users.
>How-To-Repeat:
	setenv TERM xterm (or export TERM=xterm)
	screen
	vi /tmp/foo
	i C-v <esc>
	You'll see a ^[ha
	(you can also literally type C-[ and see same results)
>Fix:
	beats me.

>Audit-Trail:
>Unformatted: