Here's what I have in my .emacs file to make everything work in all 
environments,
including dialed in terminals.  
You probably need to replace "cons25" with the termcap name for your
console window:

; When on a real terminal or in a terminal window, assume the big key is 
; Backspace and therefore swap Backspace and Del
(if (or (string= (getenv "TERM") "cons25")
        (string= (getenv "TERM") "vt100")
        (string= (getenv "TERM") "ansi")
        (and (string= (getenv "TERM") "xterm")
             (string= window-system "nil")))
    (progn
      (keyboard-translate ?\C-? ?\C-h)
      (keyboard-translate ?\C-h ?\C-?)))


        /gary

-- 
Gary L. Grebus          [EMAIL PROTECTED]       Brookline, NH
-----
They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety. -- Benjamin Franklin, 1759




**********************************************************
To unsubscribe from this list, send mail to
[EMAIL PROTECTED] with the following text in the
*body* (*not* the subject line) of the letter:
unsubscribe gnhlug
**********************************************************

Reply via email to