From owner-freebsd-questions@FreeBSD.ORG Sat Mar 5 22:58:41 2005 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 6D68316A4CE for ; Sat, 5 Mar 2005 22:58:41 +0000 (GMT) Received: from kane.otenet.gr (kane.otenet.gr [195.170.0.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2B08843D2F for ; Sat, 5 Mar 2005 22:58:40 +0000 (GMT) (envelope-from keramida@ceid.upatras.gr) Received: from gothmog.gr (patr530-a020.otenet.gr [212.205.215.20]) j25MwMh3006964; Sun, 6 Mar 2005 00:58:23 +0200 Received: from gothmog.gr (gothmog [127.0.0.1]) by gothmog.gr (8.13.3/8.13.3) with ESMTP id j25MwYKI048513; Sun, 6 Mar 2005 00:58:34 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Received: (from giorgos@localhost) by gothmog.gr (8.13.3/8.13.3/Submit) id j25MwXSH048512; Sun, 6 Mar 2005 00:58:33 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Date: Sun, 6 Mar 2005 00:58:33 +0200 From: Giorgos Keramidas To: Ben Munat Message-ID: <20050305225833.GA37527@gothmog.gr> References: <4226AFAD.4040100@munat.com> <20050303101807.GE1127@orion.daedalusnetworks.priv> <20050305110330.GA45280@scode-whitestar.mine.nu> <4229F563.1020809@munat.com> <4229F65E.4060906@mac.com> <4229FBDE.3010606@munat.com> <4229FCE0.7070708@mac.com> <422A2600.5030108@munat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <422A2600.5030108@munat.com> cc: freebsd-questions@freebsd.org Subject: Re: reload rc.conf without rebooting X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Mar 2005 22:58:41 -0000 On 2005-03-05 13:34, Ben Munat wrote: >Chuck Swiger wrote: >>Ben Munat wrote: >>> PS: what keymap should I use anyway? (logitech PC keyboard... US >>>English...) >> >>Perhaps /usr/share/syscons/keymaps/us.emacs.kbd ...? > > Wouldn't that be for emacs users? > > Sigh... I just want my delete key to work... I got a response a while > back to edit the keymap and set it in rc.conf (which is how I got off > on that whole reload rc.conf thing). When I wrote that you can't reload rc.conf I didn't mean that you need a reboot to load a new keymap. These are two different things :-) > I'll read through the man page for keymap... see if I can make sense > out of that. Funny thing is, the delete works in vi (usually... I have > a whole other raft of problems with the way vi is working) but it > doesn't on the command line. Well, little by little.... The delete key sends ^? when in a cons-25 terminal. Depending on what your shell is, this may be remapped to perform whatever you feel suits you best. But this is a shell configuration issue. If you are using /bin/sh, keys like ^? may be remapped in ~/.editrc to perform whatever you want. For instance, to remap ^? to delete the character under the cursor (what most PC users expect to happen when they press DEL), you can use: bind ^? ed-delete-next-char For the GNU bash shell, similar key remapping may be configured in the ~/.inputrc file: "^?": delete-char For the TCSH shell, you can use "bind" commands in your ~/.tcshrc. And so on...