annotate lisp/term/sun.el @ 93898:d44db694f2b3

Fix typo.
author Glenn Morris <rgm@gnu.org>
date Wed, 09 Apr 2008 07:13:43 +0000
parents 107ccd98fa12
children 606f2d163a64 f3ab0c2464f5
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
17517
8f952e921136 Comment change.
Richard M. Stallman <rms@gnu.org>
parents: 14170
diff changeset
1 ;;; sun.el --- keybinding for standard default sunterm keys
2140
c049f2ca31f6 Added headers, removed function-key bindings.
Eric S. Raymond <esr@snark.thyrsus.com>
parents: 498
diff changeset
2
64701
34bd8e434dd7 Update years in copyright notice; nfc.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents: 64651
diff changeset
3 ;; Copyright (C) 1987, 2001, 2002, 2003, 2004,
79718
f1713f61ee49 Add 2008 to copyright years.
Glenn Morris <rgm@gnu.org>
parents: 78226
diff changeset
4 ;; 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
14170
23cc3f54e536 Update FSF's office address.
Erik Naggum <erik@naggum.no>
parents: 5029
diff changeset
5
2140
c049f2ca31f6 Added headers, removed function-key bindings.
Eric S. Raymond <esr@snark.thyrsus.com>
parents: 498
diff changeset
6 ;; Author: Jeff Peck <peck@sun.com>
c049f2ca31f6 Added headers, removed function-key bindings.
Eric S. Raymond <esr@snark.thyrsus.com>
parents: 498
diff changeset
7 ;; Keywords: terminals
c049f2ca31f6 Added headers, removed function-key bindings.
Eric S. Raymond <esr@snark.thyrsus.com>
parents: 498
diff changeset
8
14170
23cc3f54e536 Update FSF's office address.
Erik Naggum <erik@naggum.no>
parents: 5029
diff changeset
9 ;; This file is part of GNU Emacs.
23cc3f54e536 Update FSF's office address.
Erik Naggum <erik@naggum.no>
parents: 5029
diff changeset
10
23cc3f54e536 Update FSF's office address.
Erik Naggum <erik@naggum.no>
parents: 5029
diff changeset
11 ;; GNU Emacs is free software; you can redistribute it and/or modify
23cc3f54e536 Update FSF's office address.
Erik Naggum <erik@naggum.no>
parents: 5029
diff changeset
12 ;; it under the terms of the GNU General Public License as published by
78226
030ae62d5c57 Switch license to GPLv3 or later.
Glenn Morris <rgm@gnu.org>
parents: 75347
diff changeset
13 ;; the Free Software Foundation; either version 3, or (at your option)
14170
23cc3f54e536 Update FSF's office address.
Erik Naggum <erik@naggum.no>
parents: 5029
diff changeset
14 ;; any later version.
466
a5749ca987d0 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
15
14170
23cc3f54e536 Update FSF's office address.
Erik Naggum <erik@naggum.no>
parents: 5029
diff changeset
16 ;; GNU Emacs is distributed in the hope that it will be useful,
23cc3f54e536 Update FSF's office address.
Erik Naggum <erik@naggum.no>
parents: 5029
diff changeset
17 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
23cc3f54e536 Update FSF's office address.
Erik Naggum <erik@naggum.no>
parents: 5029
diff changeset
18 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23cc3f54e536 Update FSF's office address.
Erik Naggum <erik@naggum.no>
parents: 5029
diff changeset
19 ;; GNU General Public License for more details.
23cc3f54e536 Update FSF's office address.
Erik Naggum <erik@naggum.no>
parents: 5029
diff changeset
20
23cc3f54e536 Update FSF's office address.
Erik Naggum <erik@naggum.no>
parents: 5029
diff changeset
21 ;; You should have received a copy of the GNU General Public License
23cc3f54e536 Update FSF's office address.
Erik Naggum <erik@naggum.no>
parents: 5029
diff changeset
22 ;; along with GNU Emacs; see the file COPYING. If not, write to the
64084
a8fa7c632ee4 Update FSF's address.
Lute Kamstra <lute@gnu.org>
parents: 62249
diff changeset
23 ;; Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
a8fa7c632ee4 Update FSF's address.
Lute Kamstra <lute@gnu.org>
parents: 62249
diff changeset
24 ;; Boston, MA 02110-1301, USA.
466
a5749ca987d0 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
25
2140
c049f2ca31f6 Added headers, removed function-key bindings.
Eric S. Raymond <esr@snark.thyrsus.com>
parents: 498
diff changeset
26 ;;; Commentary:
466
a5749ca987d0 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
27
a5749ca987d0 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
28 ;; The function key sequences for the console have been converted for
a5749ca987d0 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
29 ;; use with function-key-map, but the *tool stuff hasn't been touched.
a5749ca987d0 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
30
2140
c049f2ca31f6 Added headers, removed function-key bindings.
Eric S. Raymond <esr@snark.thyrsus.com>
parents: 498
diff changeset
31 ;;; Code:
466
a5749ca987d0 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
32
a5749ca987d0 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
33 (defun scroll-down-in-place (n)
a5749ca987d0 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
34 (interactive "p")
84795
6aed7b3522e4 * term/w32-win.el (w32-drag-n-drop): Use mapc instead of mapcar.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 84728
diff changeset
35 (forward-line (- n))
466
a5749ca987d0 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
36 (scroll-down n))
a5749ca987d0 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
37
a5749ca987d0 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
38 (defun scroll-up-in-place (n)
a5749ca987d0 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
39 (interactive "p")
84795
6aed7b3522e4 * term/w32-win.el (w32-drag-n-drop): Use mapc instead of mapcar.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 84728
diff changeset
40 (forward-line n)
466
a5749ca987d0 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
41 (scroll-up n))
a5749ca987d0 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
42
a5749ca987d0 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
43 (defun kill-region-and-unmark (beg end)
a5749ca987d0 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
44 "Like kill-region, but pops the mark [which equals point, anyway.]"
a5749ca987d0 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
45 (interactive "r")
a5749ca987d0 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
46 (kill-region beg end)
a5749ca987d0 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
47 (setq this-command 'kill-region-and-unmark)
a5749ca987d0 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
48 (set-mark-command t))
a5749ca987d0 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
49
a5749ca987d0 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
50 (defun rerun-prev-command ()
a5749ca987d0 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
51 "Repeat Previous-complex-command."
a5749ca987d0 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
52 (interactive)
a5749ca987d0 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
53 (eval (nth 0 command-history)))
a5749ca987d0 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
54
a5749ca987d0 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
55 (defvar grep-arg nil "Default arg for RE-search")
a5749ca987d0 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
56 (defun grep-arg ()
a5749ca987d0 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
57 (if (memq last-command '(research-forward research-backward)) grep-arg
a5749ca987d0 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
58 (let* ((command (car command-history))
a5749ca987d0 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
59 (command-name (symbol-name (car command)))
a5749ca987d0 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
60 (search-arg (car (cdr command)))
49599
5ade352e8d1c Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents: 38475
diff changeset
61 (search-command
466
a5749ca987d0 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
62 (and command-name (string-match "search" command-name)))
a5749ca987d0 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
63 )
a5749ca987d0 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
64 (if (and search-command (stringp search-arg)) (setq grep-arg search-arg)
49599
5ade352e8d1c Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents: 38475
diff changeset
65 (setq search-command this-command
466
a5749ca987d0 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
66 grep-arg (read-string "REsearch: " grep-arg)
a5749ca987d0 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
67 this-command search-command)
a5749ca987d0 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
68 grep-arg))))
a5749ca987d0 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
69
a5749ca987d0 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
70 (defun research-forward ()
a5749ca987d0 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
71 "Repeat RE search forward."
a5749ca987d0 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
72 (interactive)
a5749ca987d0 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
73 (re-search-forward (grep-arg)))
a5749ca987d0 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
74
a5749ca987d0 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
75 (defun research-backward ()
a5749ca987d0 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
76 "Repeat RE search backward."
a5749ca987d0 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
77 (interactive)
a5749ca987d0 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
78 (re-search-backward (grep-arg)))
a5749ca987d0 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
79
38475
916f157c7118 (ignore-key, sun-esc-bracket, meta-flag): Remove.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 17517
diff changeset
80 ;;
916f157c7118 (ignore-key, sun-esc-bracket, meta-flag): Remove.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 17517
diff changeset
81 ;; handle sun's extra function keys
916f157c7118 (ignore-key, sun-esc-bracket, meta-flag): Remove.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 17517
diff changeset
82 ;; this version for those who run with standard .ttyswrc and no emacstool
916f157c7118 (ignore-key, sun-esc-bracket, meta-flag): Remove.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 17517
diff changeset
83 ;;
49599
5ade352e8d1c Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents: 38475
diff changeset
84 ;; sunview picks up expose and open on the way UP,
38475
916f157c7118 (ignore-key, sun-esc-bracket, meta-flag): Remove.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 17517
diff changeset
85 ;; so we ignore them on the way down
916f157c7118 (ignore-key, sun-esc-bracket, meta-flag): Remove.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 17517
diff changeset
86 ;;
466
a5749ca987d0 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
87
85548
a91afd109e55 (sun-raw-prefix): Fill as part of declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 84795
diff changeset
88 (defvar sun-raw-prefix
a91afd109e55 (sun-raw-prefix): Fill as part of declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 84795
diff changeset
89 (let ((map (make-sparse-keymap)))
a91afd109e55 (sun-raw-prefix): Fill as part of declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 84795
diff changeset
90 (define-key map "210z" [r3])
a91afd109e55 (sun-raw-prefix): Fill as part of declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 84795
diff changeset
91 (define-key map "213z" [r6])
a91afd109e55 (sun-raw-prefix): Fill as part of declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 84795
diff changeset
92 (define-key map "214z" [r7])
a91afd109e55 (sun-raw-prefix): Fill as part of declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 84795
diff changeset
93 (define-key map "216z" [r9])
a91afd109e55 (sun-raw-prefix): Fill as part of declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 84795
diff changeset
94 (define-key map "218z" [r11])
a91afd109e55 (sun-raw-prefix): Fill as part of declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 84795
diff changeset
95 (define-key map "220z" [r13])
a91afd109e55 (sun-raw-prefix): Fill as part of declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 84795
diff changeset
96 (define-key map "222z" [r15])
a91afd109e55 (sun-raw-prefix): Fill as part of declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 84795
diff changeset
97 (define-key map "193z" [redo])
a91afd109e55 (sun-raw-prefix): Fill as part of declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 84795
diff changeset
98 (define-key map "194z" [props])
a91afd109e55 (sun-raw-prefix): Fill as part of declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 84795
diff changeset
99 (define-key map "195z" [undo])
a91afd109e55 (sun-raw-prefix): Fill as part of declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 84795
diff changeset
100 ;; (define-key map "196z" 'ignore) ; Expose-down
a91afd109e55 (sun-raw-prefix): Fill as part of declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 84795
diff changeset
101 ;; (define-key map "197z" [put])
a91afd109e55 (sun-raw-prefix): Fill as part of declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 84795
diff changeset
102 ;; (define-key map "198z" 'ignore) ; Open-down
a91afd109e55 (sun-raw-prefix): Fill as part of declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 84795
diff changeset
103 ;; (define-key map "199z" [get])
a91afd109e55 (sun-raw-prefix): Fill as part of declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 84795
diff changeset
104 (define-key map "200z" [find])
a91afd109e55 (sun-raw-prefix): Fill as part of declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 84795
diff changeset
105 ;; (define-key map "201z" 'kill-region-and-unmark) ; Delete
a91afd109e55 (sun-raw-prefix): Fill as part of declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 84795
diff changeset
106 (define-key map "224z" [f1])
a91afd109e55 (sun-raw-prefix): Fill as part of declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 84795
diff changeset
107 (define-key map "225z" [f2])
a91afd109e55 (sun-raw-prefix): Fill as part of declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 84795
diff changeset
108 (define-key map "226z" [f3])
a91afd109e55 (sun-raw-prefix): Fill as part of declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 84795
diff changeset
109 (define-key map "227z" [f4])
a91afd109e55 (sun-raw-prefix): Fill as part of declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 84795
diff changeset
110 (define-key map "228z" [f5])
a91afd109e55 (sun-raw-prefix): Fill as part of declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 84795
diff changeset
111 (define-key map "229z" [f6])
a91afd109e55 (sun-raw-prefix): Fill as part of declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 84795
diff changeset
112 (define-key map "230z" [f7])
a91afd109e55 (sun-raw-prefix): Fill as part of declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 84795
diff changeset
113 (define-key map "231z" [f8])
a91afd109e55 (sun-raw-prefix): Fill as part of declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 84795
diff changeset
114 (define-key map "232z" [f9])
a91afd109e55 (sun-raw-prefix): Fill as part of declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 84795
diff changeset
115 (define-key map "233z" [f10])
a91afd109e55 (sun-raw-prefix): Fill as part of declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 84795
diff changeset
116 (define-key map "234z" [f11])
a91afd109e55 (sun-raw-prefix): Fill as part of declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 84795
diff changeset
117 (define-key map "235z" [f12])
a91afd109e55 (sun-raw-prefix): Fill as part of declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 84795
diff changeset
118 (define-key map "A" [up]) ; R8
a91afd109e55 (sun-raw-prefix): Fill as part of declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 84795
diff changeset
119 (define-key map "B" [down]) ; R14
a91afd109e55 (sun-raw-prefix): Fill as part of declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 84795
diff changeset
120 (define-key map "C" [right]) ; R12
a91afd109e55 (sun-raw-prefix): Fill as part of declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 84795
diff changeset
121 (define-key map "D" [left]) ; R10
a91afd109e55 (sun-raw-prefix): Fill as part of declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 84795
diff changeset
122 map))
466
a5749ca987d0 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
123
38475
916f157c7118 (ignore-key, sun-esc-bracket, meta-flag): Remove.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 17517
diff changeset
124 ;; Since .emacs gets loaded before this file, a hook is supplied
916f157c7118 (ignore-key, sun-esc-bracket, meta-flag): Remove.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 17517
diff changeset
125 ;; for you to put your own bindings in.
466
a5749ca987d0 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
126
498
b8f4bc96f789 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 466
diff changeset
127 (defvar sun-raw-prefix-hooks nil
b8f4bc96f789 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 466
diff changeset
128 "List of forms to evaluate after setting sun-raw-prefix.")
466
a5749ca987d0 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
129
a5749ca987d0 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
130
a5749ca987d0 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
131
64651
af1c58687bdd * term/apollo.el (terminal-init-apollo): New function containing
Dan Nicolaescu <dann@ics.uci.edu>
parents: 64084
diff changeset
132 (defun terminal-init-sun ()
af1c58687bdd * term/apollo.el (terminal-init-apollo): New function containing
Dan Nicolaescu <dann@ics.uci.edu>
parents: 64084
diff changeset
133 "Terminal initialization function for sun."
85548
a91afd109e55 (sun-raw-prefix): Fill as part of declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 84795
diff changeset
134 (define-key input-decode-map "\e[" sun-raw-prefix)
64651
af1c58687bdd * term/apollo.el (terminal-init-apollo): New function containing
Dan Nicolaescu <dann@ics.uci.edu>
parents: 64084
diff changeset
135
af1c58687bdd * term/apollo.el (terminal-init-apollo): New function containing
Dan Nicolaescu <dann@ics.uci.edu>
parents: 64084
diff changeset
136 (global-set-key [r3] 'backward-page)
af1c58687bdd * term/apollo.el (terminal-init-apollo): New function containing
Dan Nicolaescu <dann@ics.uci.edu>
parents: 64084
diff changeset
137 (global-set-key [r6] 'forward-page)
af1c58687bdd * term/apollo.el (terminal-init-apollo): New function containing
Dan Nicolaescu <dann@ics.uci.edu>
parents: 64084
diff changeset
138 (global-set-key [r7] 'beginning-of-buffer)
af1c58687bdd * term/apollo.el (terminal-init-apollo): New function containing
Dan Nicolaescu <dann@ics.uci.edu>
parents: 64084
diff changeset
139 (global-set-key [r9] 'scroll-down)
af1c58687bdd * term/apollo.el (terminal-init-apollo): New function containing
Dan Nicolaescu <dann@ics.uci.edu>
parents: 64084
diff changeset
140 (global-set-key [r11] 'recenter)
af1c58687bdd * term/apollo.el (terminal-init-apollo): New function containing
Dan Nicolaescu <dann@ics.uci.edu>
parents: 64084
diff changeset
141 (global-set-key [r13] 'end-of-buffer)
af1c58687bdd * term/apollo.el (terminal-init-apollo): New function containing
Dan Nicolaescu <dann@ics.uci.edu>
parents: 64084
diff changeset
142 (global-set-key [r15] 'scroll-up)
af1c58687bdd * term/apollo.el (terminal-init-apollo): New function containing
Dan Nicolaescu <dann@ics.uci.edu>
parents: 64084
diff changeset
143 (global-set-key [redo] 'redraw-display) ;FIXME: collides with default.
af1c58687bdd * term/apollo.el (terminal-init-apollo): New function containing
Dan Nicolaescu <dann@ics.uci.edu>
parents: 64084
diff changeset
144 (global-set-key [props] 'list-buffers)
af1c58687bdd * term/apollo.el (terminal-init-apollo): New function containing
Dan Nicolaescu <dann@ics.uci.edu>
parents: 64084
diff changeset
145 (global-set-key [put] 'sun-select-region)
af1c58687bdd * term/apollo.el (terminal-init-apollo): New function containing
Dan Nicolaescu <dann@ics.uci.edu>
parents: 64084
diff changeset
146 (global-set-key [get] 'sun-yank-selection)
af1c58687bdd * term/apollo.el (terminal-init-apollo): New function containing
Dan Nicolaescu <dann@ics.uci.edu>
parents: 64084
diff changeset
147 (global-set-key [find] 'exchange-point-and-mark)
af1c58687bdd * term/apollo.el (terminal-init-apollo): New function containing
Dan Nicolaescu <dann@ics.uci.edu>
parents: 64084
diff changeset
148 (global-set-key [f3] 'scroll-down-in-place)
af1c58687bdd * term/apollo.el (terminal-init-apollo): New function containing
Dan Nicolaescu <dann@ics.uci.edu>
parents: 64084
diff changeset
149 (global-set-key [f4] 'scroll-up-in-place)
af1c58687bdd * term/apollo.el (terminal-init-apollo): New function containing
Dan Nicolaescu <dann@ics.uci.edu>
parents: 64084
diff changeset
150 (global-set-key [f6] 'shrink-window)
af1c58687bdd * term/apollo.el (terminal-init-apollo): New function containing
Dan Nicolaescu <dann@ics.uci.edu>
parents: 64084
diff changeset
151 (global-set-key [f7] 'enlarge-window)
af1c58687bdd * term/apollo.el (terminal-init-apollo): New function containing
Dan Nicolaescu <dann@ics.uci.edu>
parents: 64084
diff changeset
152
af1c58687bdd * term/apollo.el (terminal-init-apollo): New function containing
Dan Nicolaescu <dann@ics.uci.edu>
parents: 64084
diff changeset
153 (when sun-raw-prefix-hooks
af1c58687bdd * term/apollo.el (terminal-init-apollo): New function containing
Dan Nicolaescu <dann@ics.uci.edu>
parents: 64084
diff changeset
154 (message "sun-raw-prefix-hooks is obsolete! Use term-setup-hook instead!")
af1c58687bdd * term/apollo.el (terminal-init-apollo): New function containing
Dan Nicolaescu <dann@ics.uci.edu>
parents: 64084
diff changeset
155 (let ((hooks sun-raw-prefix-hooks))
af1c58687bdd * term/apollo.el (terminal-init-apollo): New function containing
Dan Nicolaescu <dann@ics.uci.edu>
parents: 64084
diff changeset
156 (while hooks
af1c58687bdd * term/apollo.el (terminal-init-apollo): New function containing
Dan Nicolaescu <dann@ics.uci.edu>
parents: 64084
diff changeset
157 (eval (car hooks))
84728
04f556b17d19 Remove emacstool-related code.
Glenn Morris <rgm@gnu.org>
parents: 83648
diff changeset
158 (setq hooks (cdr hooks))))))
64651
af1c58687bdd * term/apollo.el (terminal-init-apollo): New function containing
Dan Nicolaescu <dann@ics.uci.edu>
parents: 64084
diff changeset
159
85548
a91afd109e55 (sun-raw-prefix): Fill as part of declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 84795
diff changeset
160 ;; arch-tag: db761d47-fd7d-42b4-aae1-04fa116b6ba6
2140
c049f2ca31f6 Added headers, removed function-key bindings.
Eric S. Raymond <esr@snark.thyrsus.com>
parents: 498
diff changeset
161 ;;; sun.el ends here