kern/152162: [syscons] On syscons, pressing delete key results
in pressing backspace.
Jilles Tjoelker
jilles at stack.nl
Sun Nov 21 15:40:12 UTC 2010
The following reply was made to PR kern/152162; it has been noted by GNATS.
From: Jilles Tjoelker <jilles at stack.nl>
To: bug-followup at FreeBSD.org, crockabiscuit at yahoo.com
Cc:
Subject: Re: kern/152162: [syscons] On syscons, pressing delete key results
in pressing backspace.
Date: Sun, 21 Nov 2010 16:32:13 +0100
With the new "libteken" terminal emulator code in 9-current, syscons is
now much like xterm. It appears that Backspace is still ^H, but Delete
is now ^[[3~ instead of ^?.
A while ago, I changed 9-current libedit (and therefore programs like sh
and ftp) to recognize ^[[3~. I encourage you to ask tcsh upstream to fix
this as well (either by hardcoding ^[[3~ somewhere or by using the
appropriate termcap/terminfo field).
Making the Backspace key send ^? may be slightly dangerous as it is
rather annoying if Backspace does Delete (more annoying than Delete
doing Backspace, IMHO). On the other hand, vte-based terminal programs
such as gnome-terminal and xfce4's Terminal send ^? by default and it
seems to work fine.
--
Jilles Tjoelker
More information about the freebsd-bugs
mailing list