misc/152162: On syscons, pressing delete key results in pressing backspace.

crocket crockabiscuit at yahoo.com
Fri Nov 12 10:00:23 UTC 2010


>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 at 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:


More information about the freebsd-bugs mailing list