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

Bug#605777: workaround for backspace key deletes forwards on the kFreeBSD console



Hello,

On pirmadienis 10 Sausis 2011 13:27:51 Petr Salinger wrote:
> > The change for freebsd-utils will be some new script like
> > 
> >   kbdcontrol -d | sed ... | kbdcontrol -l
> >   kbdcontrol -f 61 ESC[3~
> >   TERM=cons25-debian
> 
> Attached is the mentioned script. It have to be run directly on console
> or by "sh keymap-policy.sh < /dev/console"
> The keymap is altered system wide, i.e. on all virtual consoles.
> And you have to manually set "TERM=cons25-debian" aftewards.
> 
> The (current) reset back is
>    /etc/init.d/kbdcontrol start
>    kbdcontrol -F
>    TERM=cons25
> 
> Please could you test whether it work with your
> native national keymap as expected ?

It works fine. Both shell and vim behave as I expect now.

> The expected installed (and running) packages versions are:
>   freebsd-utils 8.1-3.1
>   kfreebsd-8 8.1+dfsg-7.1
>   ncurses 5.7+20100313-5
> 
> RFC part:
> The integration should be into /etc/init.d/kbdcontrol,
> by adding two targets, like keymap-native and keymap-debian.
> 
> May be it can be run even semi-automatically, by
> detecting whether the /etc/inittab uses cons25 or cons25-debian
> and noop or alter keymap.

Yes, I like the latter (auto detection) part. Another solution could be a 
debconf question in kbdcontrol (though it might be too late for this).

What's more, I think this issue (with short instructions whatever the final 
integration part ends up being) warrants a note in release notes.

-- 
Modestas Vainius <modax@debian.org>

Attachment: signature.asc
Description: This is a digitally signed message part.


Reply to: