[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#607662: ncurses-base: backspace key deletes forwards on the kFreeBSD console



Package: ncurses-base
Version: 5.7+20100313-4
Severity: serious
X-Debbugs-CC: debian-bsd@lists.debian.org

The changes to the kFreeBSD console and the kbdcontrol package (see
#605065 and #605777) need to be accompanied by changing the cons25
terminfo entry accordingly, otherwise ncurses-based programs severely
misbehave.

In particular, the backspace key deletes forwards instead of backwards
which is totally unacceptable.  In Emacs, the delete key malfunctions as
well, inserting a tilde (~) instead of deleting the character under the
cursor.

The fix is to use the same definitions for kbs and kdch1 as on Linux,
namely kbs=\177 and kdch1=\E[3~ (stock FreeBSD uses kbs=^H and
kdch1=\177 which has been identified as a PITA in #605065).


-- System Information:
Debian Release: 6.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (101, 'experimental')
Architecture: i386 (x86_64)

Kernel: Linux 2.6.37-rc6-nouveau+ (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash



Reply to: