aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/term
diff options
context:
space:
mode:
authorEric S. Raymond1992-07-16 21:47:34 +0000
committerEric S. Raymond1992-07-16 21:47:34 +0000
commite516799970be4553edae8ca46d5f64852befec77 (patch)
treed43d904ac4a87a1be2f4c0375b3f70928f952cf1 /lisp/term
parentde49a6d37ea9c3111763e38df15e50a7fb9fa5c5 (diff)
downloademacs-e516799970be4553edae8ca46d5f64852befec77.tar.gz
emacs-e516799970be4553edae8ca46d5f64852befec77.zip
*** empty log message ***
Diffstat (limited to 'lisp/term')
-rw-r--r--lisp/term/bg-mouse.el15
-rw-r--r--lisp/term/sun-mouse.el10
-rw-r--r--lisp/term/sup-mouse.el24
3 files changed, 31 insertions, 18 deletions
diff --git a/lisp/term/bg-mouse.el b/lisp/term/bg-mouse.el
index c08ed9ed28d..4496f0ec4fe 100644
--- a/lisp/term/bg-mouse.el
+++ b/lisp/term/bg-mouse.el
@@ -1,13 +1,18 @@
1;;; bg-mouse.el --- GNU Emacs code for BBN Bitgraph mouse. 1;;; bg-mouse.el --- GNU Emacs code for BBN Bitgraph mouse.
2 2
3;; Author: John Robinson <jr@bbn-unix.arpa>
4;; Stephen Gildea <gildea@bbn.com>
5;; Maintainer: FSF
6;; Last-Modified: 14 Jul 1992
7;; Keywords: hardware
8
3;; Copyright (C) Free Software Foundation, Inc. Oct 1985. 9;; Copyright (C) Free Software Foundation, Inc. Oct 1985.
4;; Time stamp <89/03/21 14:27:08 gildea>
5 10
6;; This file is part of GNU Emacs. 11;; This file is part of GNU Emacs.
7 12
8;; GNU Emacs is free software; you can redistribute it and/or modify 13;; GNU Emacs is free software; you can redistribute it and/or modify
9;; it under the terms of the GNU General Public License as published by 14;; it under the terms of the GNU General Public License as published by
10;; the Free Software Foundation; either version 1, or (at your option) 15;; the Free Software Foundation; either version 2, or (at your option)
11;; any later version. 16;; any later version.
12 17
13;; GNU Emacs is distributed in the hope that it will be useful, 18;; GNU Emacs is distributed in the hope that it will be useful,
@@ -19,9 +24,11 @@
19;; along with GNU Emacs; see the file COPYING. If not, write to 24;; along with GNU Emacs; see the file COPYING. If not, write to
20;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. 25;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
21 26
27;;; Code:
22 28
23;;; Original version by John Robinson (jr@bbn-unix.arpa, bbncca!jr), Oct 1985 29;;; Original version by John Robinson (jr@bbn-unix.arpa, bbncca!jr), Oct 1985
24;;; Modularized and enhanced by gildea@bbn.com Nov 1987 30;;; Modularized and enhanced by gildea@bbn.com Nov 1987
31;;; Time stamp <89/03/21 14:27:08 gildea>
25 32
26;;; User customization option: 33;;; User customization option:
27 34
@@ -62,9 +69,9 @@ To reinitialize the mouse if the terminal is reset, type ESC : RET"
62 (interactive "P") 69 (interactive "P")
63 (bg-get-tty-num semicolon) 70 (bg-get-tty-num semicolon)
64 (let* 71 (let*
65 ((screen-mouse-x (min (1- (screen-width)) ;don't hit column 86! 72 ((screen-mouse-x (min (1- (frame-width)) ;don't hit column 86!
66 (/ (bg-get-tty-num semicolon) 9))) 73 (/ (bg-get-tty-num semicolon) 9)))
67 (screen-mouse-y (- (1- (screen-height)) ;assume default font size. 74 (screen-mouse-y (- (1- (frame-height)) ;assume default font size.
68 (/ (bg-get-tty-num semicolon) 16))) 75 (/ (bg-get-tty-num semicolon) 16)))
69 (bg-mouse-buttons (% (bg-get-tty-num ?c) 8)) 76 (bg-mouse-buttons (% (bg-get-tty-num ?c) 8))
70 (bg-mouse-window (bg-window-from-x-y screen-mouse-x screen-mouse-y)) 77 (bg-mouse-window (bg-window-from-x-y screen-mouse-x screen-mouse-y))
diff --git a/lisp/term/sun-mouse.el b/lisp/term/sun-mouse.el
index fad388337e8..ccd48d6af71 100644
--- a/lisp/term/sun-mouse.el
+++ b/lisp/term/sun-mouse.el
@@ -1,12 +1,16 @@
1;;; sun-mouse.el --- mouse handling for Sun windows 1;;; sun-mouse.el --- mouse handling for Sun windows
2 2
3;; Author: Jeff Peck
4;; Maintainer: FSF
5;; Last-Modified: 14 Jul 1992
6
3;; Copyright (C) 1987 Free Software Foundation, Inc. 7;; Copyright (C) 1987 Free Software Foundation, Inc.
4 8
5;; This file is part of GNU Emacs. 9;; This file is part of GNU Emacs.
6 10
7;; GNU Emacs is free software; you can redistribute it and/or modify 11;; GNU Emacs is free software; you can redistribute it and/or modify
8;; it under the terms of the GNU General Public License as published by 12;; it under the terms of the GNU General Public License as published by
9;; the Free Software Foundation; either version 1, or (at your option) 13;; the Free Software Foundation; either version 2, or (at your option)
10;; any later version. 14;; any later version.
11 15
12;; GNU Emacs is distributed in the hope that it will be useful, 16;; GNU Emacs is distributed in the hope that it will be useful,
@@ -18,6 +22,8 @@
18;; along with GNU Emacs; see the file COPYING. If not, write to 22;; along with GNU Emacs; see the file COPYING. If not, write to
19;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. 23;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
20 24
25;;; Commentary:
26
21;;; Jeff Peck, Sun Microsystems, Jan 1987. 27;;; Jeff Peck, Sun Microsystems, Jan 1987.
22;;; Original idea by Stan Jefferson 28;;; Original idea by Stan Jefferson
23 29
@@ -34,6 +40,8 @@
34;;; extra-click-wait, scrollbar-width 40;;; extra-click-wait, scrollbar-width
35;;; 41;;;
36 42
43;;; Code:
44
37(defvar extra-click-wait 150 45(defvar extra-click-wait 150
38 "*Number of milliseconds to wait for an extra click. 46 "*Number of milliseconds to wait for an extra click.
39Set this to zero if you don't want chords or double clicks.") 47Set this to zero if you don't want chords or double clicks.")
diff --git a/lisp/term/sup-mouse.el b/lisp/term/sup-mouse.el
index be7e7f0ff4d..86e7c6eed9c 100644
--- a/lisp/term/sup-mouse.el
+++ b/lisp/term/sup-mouse.el
@@ -1,15 +1,11 @@
1;;; sup-mouse.el --- GNU Emacs code for lambda/supdup mouse 1;;; sup-mouse.el --- supdup mouse support for lisp machines
2 2
3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 3;; Author: Wolfgang Rupprecht
4;; ;; 4;; Maintainer: FSF
5;; File: sup-mouse.el ;; 5;; Created: 21 Nov 1986
6;; Author: Wolfgang Rupprecht ;; 6;; Last-Modified: 16 Mar 1992
7;; Created: Fri Nov 21 19:22:22 1986 ;; 7
8;; Contents: supdup mouse support for lisp machines ;; 8;; (from code originally written by John Robinson@bbn for the bitgraph)
9;; ;;
10;; (from code originally written by John Robinson@bbn for the bitgraph) ;;
11;; ;;
12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
13 9
14;; Copyright (C) Free Software Foundation 1985, 1986 10;; Copyright (C) Free Software Foundation 1985, 1986
15 11
@@ -17,7 +13,7 @@
17 13
18;; GNU Emacs is free software; you can redistribute it and/or modify 14;; GNU Emacs is free software; you can redistribute it and/or modify
19;; it under the terms of the GNU General Public License as published by 15;; it under the terms of the GNU General Public License as published by
20;; the Free Software Foundation; either version 1, or (at your option) 16;; the Free Software Foundation; either version 2, or (at your option)
21;; any later version. 17;; any later version.
22 18
23;; GNU Emacs is distributed in the hope that it will be useful, 19;; GNU Emacs is distributed in the hope that it will be useful,
@@ -29,6 +25,8 @@
29;; along with GNU Emacs; see the file COPYING. If not, write to 25;; along with GNU Emacs; see the file COPYING. If not, write to
30;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. 26;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
31 27
28;;; Code:
29
32;;; User customization option: 30;;; User customization option:
33 31
34(defvar sup-mouse-fast-select-window nil 32(defvar sup-mouse-fast-select-window nil