Re: reload rc.conf without rebooting
On Saturday 05 March 2005 22:34, Ben Munat wrote: Sigh... I just want my delete key to work... I put this in my .cshrc: stty erase ^H bindkey ^? delete-char bindkey \e[3~ delete-char bindkey \e[1~ beginning-of-line bindkey \e[4~ end-of-line -- The ability of the OSS process to collect and harness the collective IQ of thousands of individuals across the Internet is simply amazing. - Vinod Vallopillil http://www.opensource.org/halloween/halloween4.php ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: reload rc.conf without rebooting
On Sat, 5 Mar 2005, Ben Munat wrote: 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). This might help: http://www.ibb.net/~anne/keyboard.html -Warren Block * Rapid City, South Dakota USA ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: reload rc.conf without rebooting
How does one cause rc.conf to be reread without rebooting? Under linux I would generally do source somefile.conf. But if I do source rc.conf, I'm told that all my settings are not commands. Generally, you don't. For details, see the explanation of the FAQ: http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/admin.html#REREAD-RC It's worth mentioning that if you're on 5.x and are looking to reload certain specific settings (such as daemon configurations etc), you can run /etc/rc.d/affected-script reload (or the equivalent in /usr/local/etc/rc.d). -- / Peter Schuller, InfiDyne Technologies HB PGP userID: 0xE9758B7D or 'Peter Schuller [EMAIL PROTECTED]' Key retrieval: Send an E-Mail to [EMAIL PROTECTED] E-Mail: [EMAIL PROTECTED] Web: http://www.scode.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: reload rc.conf without rebooting
Peter Schuller wrote: How does one cause rc.conf to be reread without rebooting? Under linux I would generally do source somefile.conf. But if I do source rc.conf, I'm told that all my settings are not commands. Generally, you don't. For details, see the explanation of the FAQ: http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/admin.html#REREAD-RC It's worth mentioning that if you're on 5.x and are looking to reload certain specific settings (such as daemon configurations etc), you can run /etc/rc.d/affected-script reload (or the equivalent in /usr/local/etc/rc.d). Thanks yeah, I figured that. However, in this case I had simply added keymap=us.iso to the rc.conf. So, I had to stop all my daemons just to change my keymap. Now, this was just on my home box, so I don't really care. But I'm running FreeBSD on this home machine as a test to see if I want to put it on my server. This rc.conf thing was another significant strike against it. Someone correct me if I got this wrong... b ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: reload rc.conf without rebooting
Ben Munat wrote: [ ... ] Thanks yeah, I figured that. However, in this case I had simply added keymap=us.iso to the rc.conf. So, I had to stop all my daemons just to change my keymap. Of course you didn't. Why not run: kbdctl -l /usr/share/syscons/keymaps/us.iso.kbd ...or run kbdmap directly? -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: reload rc.conf without rebooting
Chuck Swiger wrote: Ben Munat wrote: Thanks yeah, I figured that. However, in this case I had simply added keymap=us.iso to the rc.conf. So, I had to stop all my daemons just to change my keymap. Of course you didn't. Why not run: kbdctl -l /usr/share/syscons/keymaps/us.iso.kbd ...or run kbdmap directly? Ahah... I thought that seemed awfully harsh to have to go to single-user mode just to change keymap... must have misunderstood the poster who told me that. Will take a look at kbdmap... driving me crazy not to have my delete key... b PS: what keymap should I use anyway? (logitech PC keyboard... US English...) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: reload rc.conf without rebooting
Ben Munat wrote: [ ... ] PS: what keymap should I use anyway? (logitech PC keyboard... US English...) Perhaps /usr/share/syscons/keymaps/us.emacs.kbd ...? -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: reload rc.conf without rebooting
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). 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 b ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: reload rc.conf without rebooting
On 2005-03-05 13:34, Ben Munat [EMAIL PROTECTED] 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... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: reload rc.conf without rebooting
Giorgos Keramidas wrote: On 2005-03-05 13:34, Ben Munat [EMAIL PROTECTED] wrote: 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... YAYY!!! At f-ing last! My delete key works! For the record, I'm using tcsh and it wasn't ^?... this is what worked in my .tcshrc: bindkey ^[[3~ delete-char I got the ^[[3~ with by pressing ctrl-v and then delete key. thnx, b ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: reload rc.conf without rebooting
On 2005-03-02 22:33, Ben Munat [EMAIL PROTECTED] wrote: How does one cause rc.conf to be reread without rebooting? Under linux I would generally do source somefile.conf. But if I do source rc.conf, I'm told that all my settings are not commands. Generally, you don't. For details, see the explanation of the FAQ: http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/admin.html#REREAD-RC ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]