kbdcontrol: map Backspace key to '\' fails

Oliver Fromme olli at lurza.secnetix.de
Thu Oct 8 16:19:26 UTC 2009


Claus Assmann <freebsd+stable at esmtp.org> wrote:
 > On FreeBSD 7.2-STABLE it seems to be impossible to map the Backspace
 > key to '\' and '|'. Here's what I did:
 > 
 > Change /usr/share/syscons/keymaps/us.unix.kbd:
 > [...]

The diff looks good and should work fine.

 > and run:
 > kbdcontrol -k /dev/console -l /usr/share/syscons/keymaps/us.unix.kbd

That -k options doesn't make sense at all.  Actually I'm
surprised that it doesn't give you an error message.

Please use this command:

  kbdcontrol -l us.unix.kbd < /dev/ttyv0

Best regards
   Oliver

-- 
Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M.
Handelsregister: Registergericht Muenchen, HRA 74606,  Geschäftsfuehrung:
secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün-
chen, HRB 125758,  Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart

FreeBSD-Dienstleistungen, -Produkte und mehr:  http://www.secnetix.de/bsd

PI:
int f[9814],b,c=9814,g,i;long a=1e4,d,e,h;
main(){for(;b=c,c-=14;i=printf("%04d",e+d/a),e=d%a)
while(g=--b*2)d=h*b+a*(i?f[b]:a/5),h=d/--g,f[b]=d%g;}


More information about the freebsd-stable mailing list