Date: Sun, 6 Mar 2005 00:58:33 +0200 From: Giorgos Keramidas <keramida@ceid.upatras.gr> To: Ben Munat <bent@munat.com> Cc: freebsd-questions@freebsd.org Subject: Re: reload rc.conf without rebooting Message-ID: <20050305225833.GA37527@gothmog.gr> In-Reply-To: <422A2600.5030108@munat.com> 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>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2005-03-05 13:34, Ben Munat <bent@munat.com> 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...
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050305225833.GA37527>