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

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



On 2010-12-22 08:41 +0100, Petr Salinger wrote:

> It seems that current plain FreeBSD kernel generates events
> that fully corresponds to cons25 entry.
>
> It just uses different definitions for kbs and kdch1 wrt Linux,
>
> Linux:          kbs=\177 kdch1=\E[3~
> FreeBSD/cons25s kbs=^H   kdch1=\177
>
> The problem might be incorect "stty erase" setting,
> programs that do not honor these settings
> or some workarounds in programs.

Emacs, for instance, does not expect ^H to mean "delete previous
character" by default.  Instead it invokes the online help, which is
annoying to no end.  While this can be changed in .emacs, the backspace
key not working out of the box is still a serious problem IMO.

> It seems that upstream FreeBSD plans to switch their $TERM into xterm,
> via TEKEN_XTERM.

Actually the switch to xterm has happened already, more than one year
ago: http://svn.freebsd.org/viewvc/base?view=revision&revision=199250.

Note that Debian uses kbs=\177 in the xterm terminfo entry, while xterm
upstream has kbs=^H.

Cheers,
       Sven




Reply to: