From owner-freebsd-stable@FreeBSD.ORG Thu Oct 8 16:19:25 2009 Return-Path: Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E0290106568B for ; Thu, 8 Oct 2009 16:19:25 +0000 (UTC) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (lurza.secnetix.de [IPv6:2a01:170:102f::2]) by mx1.freebsd.org (Postfix) with ESMTP id 5F9068FC3B for ; Thu, 8 Oct 2009 16:19:25 +0000 (UTC) Received: from lurza.secnetix.de (localhost [127.0.0.1]) by lurza.secnetix.de (8.14.3/8.14.3) with ESMTP id n98GJ3cS077317; Thu, 8 Oct 2009 18:19:19 +0200 (CEST) (envelope-from oliver.fromme@secnetix.de) Received: (from olli@localhost) by lurza.secnetix.de (8.14.3/8.14.3/Submit) id n98GJ3JE077316; Thu, 8 Oct 2009 18:19:03 +0200 (CEST) (envelope-from olli) Date: Thu, 8 Oct 2009 18:19:03 +0200 (CEST) Message-Id: <200910081619.n98GJ3JE077316@lurza.secnetix.de> From: Oliver Fromme To: freebsd-stable@FreeBSD.ORG, freebsd+stable@esmtp.org In-Reply-To: <20090826154741.GA18965@zardoc.esmtp.org> X-Newsgroups: list.freebsd-stable User-Agent: tin/1.8.3-20070201 ("Scotasay") (UNIX) (FreeBSD/6.4-PRERELEASE-20080904 (i386)) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.1.2 (lurza.secnetix.de [127.0.0.1]); Thu, 08 Oct 2009 18:19:19 +0200 (CEST) Cc: Subject: Re: kbdcontrol: map Backspace key to '\' fails X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-stable@FreeBSD.ORG, freebsd+stable@esmtp.org List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Oct 2009 16:19:26 -0000 Claus Assmann 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;}