From owner-freebsd-questions@FreeBSD.ORG Thu Dec 16 10:15:00 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C433716A4CE for ; Thu, 16 Dec 2004 10:15:00 +0000 (GMT) Received: from green.rahul.net (green.rahul.net [192.160.13.49]) by mx1.FreeBSD.org (Postfix) with ESMTP id 761FD43D2D for ; Thu, 16 Dec 2004 10:15:00 +0000 (GMT) (envelope-from conover@rahul.net) Received: from green.rahul.net (localhost.localdomain [127.0.0.1]) by green.rahul.net (Postfix) with SMTP id 0C69CBE8D4 for ; Thu, 16 Dec 2004 02:14:56 -0800 (PST) Received: (qmail 18048 invoked by uid 4199); 16 Dec 2004 08:17:43 -0000 Date: 16 Dec 2004 08:17:43 -0000 Message-ID: <20041216081743.18047.qmail@rahul.net> To: freebsd-questions@freebsd.org In-Reply-To: <20041215224126.X54401@goodwill.io.com> References: <20041215214746.5288.qmail@rahul.net> <20041215224126.X54401@goodwill.io.com> From: conover@rahul.net (John Conover) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: ALT key on console25? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: John Conover List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Dec 2004 10:15:00 -0000 Doing the following: mymachine# egrep 014 /usr/share/syscons/keymaps/us.iso.kbd 014 bs bs del del bs bs del del O mymachine# kbdcontrol -l /usr/share/syscons/keymaps/us.iso.kbd should set the backspace and shift backspace key sequence to rub out the character before the cursor on the command line, (it does,) and ctrl-backspace to delete the character under the cursor; it doesn't. The problem is that del = bs, so if /etc/defaults/rc.conf has: keymap="us.iso.kbd" then scan code 103, (the Delete key on a US 104 key keyboard,) will be a backspace key, and there will be no Delete key. Note that if: keymap="NO" the backspace and Delete keys work as they should. But if a keymap is specified, (say, perhaps to map the Alt keys,) then you can't have a Delete key. How do you work around del = bs in the keymaps? Thanks, John -- John Conover, conover@rahul.net, http://www.johncon.com/