reload rc.conf without rebooting
Giorgos Keramidas
keramida at ceid.upatras.gr
Sat Mar 5 14:58:41 PST 2005
On 2005-03-05 13:34, Ben Munat <bent at 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...
More information about the freebsd-questions
mailing list