From owner-freebsd-bugs@FreeBSD.ORG Fri Nov 12 10:00:23 2010 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 541F5106564A for ; Fri, 12 Nov 2010 10:00:23 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 107E28FC0C for ; Fri, 12 Nov 2010 10:00:23 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id oACA0MTP006086 for ; Fri, 12 Nov 2010 10:00:22 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id oACA0MlO006060; Fri, 12 Nov 2010 10:00:22 GMT (envelope-from gnats) Resent-Date: Fri, 12 Nov 2010 10:00:22 GMT Resent-Message-Id: <201011121000.oACA0MlO006060@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, crocket Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C17361065696 for ; Fri, 12 Nov 2010 09:56:42 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id AE89B8FC0C for ; Fri, 12 Nov 2010 09:56:42 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id oAC9ugU9056127 for ; Fri, 12 Nov 2010 09:56:42 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id oAC9ugSF056125; Fri, 12 Nov 2010 09:56:42 GMT (envelope-from nobody) Message-Id: <201011120956.oAC9ugSF056125@www.freebsd.org> Date: Fri, 12 Nov 2010 09:56:42 GMT From: crocket To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: misc/152162: On syscons, pressing delete key results in pressing backspace. X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Nov 2010 10:00:23 -0000 >Number: 152162 >Category: misc >Synopsis: On syscons, pressing delete key results in pressing backspace. >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Nov 12 10:00:22 UTC 2010 >Closed-Date: >Last-Modified: >Originator: crocket >Release: 8.1-RELEASE >Organization: >Environment: FreeBSD elisa.muffinplace.com 8.1-RELEASE-p1 FreeBSD 8.1-RELEASE-p1 #2: Fri Nov 12 17:01:06 KST 2010 root@elisa.muffinplace.com:/usr/obj/usr/src/sys/ELISA amd64 >Description: For every keymap in /usr/share/syscons/keymaps, none is capable of outputting \E[3~. I investigated and concluded that syscons is not capable of outputting \E[3~. Since \E[3~ is not available in syscons and keymaps, delete key is forced to match ASCII DEL(^?), which is essentially the same as backspace in the majority of programs including /bin/sh, /bin/csh, and other shells. Therefore pressing delete key on syscons effects backspace. Application settings can be configured to cooperate with syscons, but we have to configure so many applications just for one console driver, syscons. As not everyone knows how to configure settings, some people would end up with delete key acting as backspace. If syscons became capable of outputting \E[3~ for delete key, then delete key would just work on every application out of the box or without any configuration. Thus, it's good to modify syscons so that it becomes capable of outputting \E[3~. After modifying syscons, matching del key with \E[3~ in keymaps would finish the problem. How does any of you think? >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: