]> code.delx.au - gnu-emacs/blobdiff - lisp/bindings.el
(eshell-windows-shell-file): Look for command.com, not command.exe.
[gnu-emacs] / lisp / bindings.el
index d4397edbeaee280fe844f0fbe5f17f9fd9d92ed9..0acdb2a4a7b1e6bec14f9edb81840463031b2c06 100644 (file)
@@ -1,7 +1,7 @@
 ;;; bindings.el --- define standard key bindings and some variables
 
-;; Copyright (C) 1985, 1986, 1987, 1992, 1993, 1994, 1995, 1996, 1999, 2000,
-;;   2001, 2005  Free Software Foundation, Inc.
+;; Copyright (C) 1985, 1986, 1987, 1992, 1993, 1994, 1995, 1996, 1999,
+;;   2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
 
 ;; Maintainer: FSF
 ;; Keywords: internal
@@ -20,8 +20,8 @@
 
 ;; You should have received a copy of the GNU General Public License
 ;; along with GNU Emacs; see the file COPYING.  If not, write to
-;; the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
-;; Boston, MA 02111-1307, USA.
+;; the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
+;; Boston, MA 02110-1301, USA.
 
 ;;; Commentary:
 
@@ -781,6 +781,11 @@ language you are using."
 (define-key global-map [insert]                'overwrite-mode)
 (define-key global-map [C-insert]      'kill-ring-save)
 (define-key global-map [S-insert]      'yank)
+;; `insertchar' is what term.c produces.  Should we change term.c
+;; to produce `insert' instead?
+(define-key global-map [insertchar]    'overwrite-mode)
+(define-key global-map [C-insertchar]  'kill-ring-save)
+(define-key global-map [S-insertchar]  'yank)
 (define-key global-map [undo]          'undo)
 (define-key global-map [redo]          'repeat-complex-command)
 (define-key global-map [again]         'repeat-complex-command) ; Sun keyboard
@@ -791,7 +796,6 @@ language you are using."
 ;; (define-key global-map [clearline]  'function-key-error)
 (define-key global-map [insertline]    'open-line)
 (define-key global-map [deleteline]    'kill-line)
-;; (define-key global-map [insertchar] 'function-key-error)
 (define-key global-map [deletechar]    'delete-char)
 ;; (define-key global-map [backtab]    'function-key-error)
 ;; (define-key global-map [f1]         'function-key-error)