From owner-freebsd-current Mon Mar 6 14:11:49 1995 Return-Path: current-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id OAA19922 for current-outgoing; Mon, 6 Mar 1995 14:11:49 -0800 Received: from estienne.cs.berkeley.edu (estienne.CS.Berkeley.EDU [128.32.42.147]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id OAA19916; Mon, 6 Mar 1995 14:11:46 -0800 Received: from localhost (localhost [127.0.0.1]) by estienne.cs.berkeley.edu (8.6.9/8.6.9) with SMTP id OAA14111; Mon, 6 Mar 1995 14:11:07 -0800 Message-Id: <199503062211.OAA14111@estienne.cs.berkeley.edu> X-Authentication-Warning: estienne.cs.berkeley.edu: Host localhost didn't use HELO protocol To: Garrett Wollman cc: "Jordan K. Hubbard" , davidg@Root.COM, "Andrey A. Chernov, Black Mage" , current@FreeBSD.org Subject: Re: backspace now broken (proposal) In-reply-to: Your message of "Mon, 06 Mar 1995 14:12:44 EST." <9503061912.AA08574@halloran-eldar.lcs.mit.edu> Date: Mon, 06 Mar 1995 14:11:06 -0800 From: "Justin T. Gibbs" Sender: current-owner@FreeBSD.org Precedence: bulk ><com> said: > >> HOWEVER. I would like to do so with the following stipulation: We >> make it a priority of the 2.1 installation that SOME way of selecting >> from canned keymaps (including a / and / >> swapped version of the standard US keyboard) be provided at >> installation time, and that this keymap also having the option of >> becoming the new *default* (it could be placed in /etc/rc.local >> automatically). > >Well, here's one that I use which does the right thing for Emacs (and >has that key with the arrow on it generating delete like God, erm, RMS >intended)... The automatic selection mechanism should, of course, >also allow national keyboards to be selected. > >Considering how trivial this modification is to do mechanically (but >took me half an hour to write by hand), perhaps there should be a >`kbdcontrol -emacs' option to do the right thing automatically (and >set the TTY erase character correctly as well). > I disagree with the whole Emacs argument. The best way to fix Emacs so it will always work regardless of the environment you are running it under is to make it indifferent to what the backspace character is, so I stick this in my .emacs: ;; key bindings (global-set-key "\C-h" 'backward-delete-char) (setq search-delete-char (string-to-char "\C-h")) (global-set-key "\C-_" 'help-command) (setq help-char (string-to-char "\C-_")) Now my .emacs is totally portable. I've always thought that makeing ^H bound to help a stupid and anoying default anyway. > >-GAWollman > >-- >Garrett A. Wollman | Shashish is simple, it's discreet, it's brief. ... >wollman@lcs.mit.edu | Shashish is the bonding of hearts in spite of distance. >Opinions not those of| It is a bond more powerful than absence. We like peopl >e >MIT, LCS, ANA, or NSA| who like Shashish. - Claude McKenzie + Florent Vollant -- Justin T. Gibbs ============================================== TCS Instructional Group - Programmer/Analyst 1 Cory | Po | Danube | Volga | Parker | Torus ==============================================