Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 06 Mar 1995 14:11:06 -0800
From:      "Justin T. Gibbs" <gibbs@estienne.CS.Berkeley.EDU>
To:        Garrett Wollman <wollman@halloran-eldar.lcs.mit.edu>
Cc:        "Jordan K. Hubbard" <jkh@freefall.cdrom.com>, davidg@Root.COM, "Andrey A. Chernov, Black Mage" <ache@astral.msk.su>, current@FreeBSD.org
Subject:   Re: backspace now broken (proposal) 
Message-ID:  <199503062211.OAA14111@estienne.cs.berkeley.edu>
In-Reply-To: Your message of "Mon, 06 Mar 1995 14:12:44 EST." <9503061912.AA08574@halloran-eldar.lcs.mit.edu> 

next in thread | previous in thread | raw e-mail | index | archive | help
><<On Sat, 04 Mar 1995 11:52:53 -0800, "Jordan K. Hubbard" <jkh@freefall.cdrom.
>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 <bs>/<del> and <clock>/<lctrl>
>> 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
==============================================



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199503062211.OAA14111>