From: David Barr (barr@hardy.u.washington.edu)
Date: 07/28/92


From: barr@hardy.u.washington.edu (David Barr)
Subject: Re: How to use mouse in x11emacs???
Date: 28 Jul 1992 16:38:13 GMT

nolet@concour.cs.concordia.ca (Nolet Richard G.) writes:

>Well.... the Subject says it all. I downloaded the x11emacs binary from
>tsx (or was it banjo? :). I would have thought that an X version of
>emacs would use the mouse for cursor and cut & paste operations. Can
>someone point out what needs to be done to activate the mouse.

Look at x-mouse.el in your emacs lisp directory and you should be able
to figure it out. Basically, you click the left button to set the
point and click the middle button to insert stuff. Clicking the right
button copies from the point to wherever you click. Holding down
control while you click the middle button cuts everything between the
point and where you click.

>Also - is it possible to have only one binary of emacs that figures out
>whether it's executing in X or not.

Sure. If the environmental variable DISPLAY is set, then emacs will
run in X mode unless you use the -nw flag. In all other cases, it
runs in normal, non-X mode.

>Thanks for the pointers. (Great job with everything: OS GCC X etc, etc...)

>--
>+-------------------------------------------------------------------------+
>| Richard Nolet "I am not sure what this is, but |
>| nolet@cs.concordia.ca (Montreal) an `F' would only dignify it." |
>+-------------------------------------------------------------------------+

David