Mouse in console

  • Follow


I run emacs (and gnus) on a console.  I have gpm running.

Is there a way of getting the mouse to behave in emacs as described in
the emacs info (i.e. as it worksin xterm etc.), rather than just in
the usual gpm manner?

David

-- 

David Sumbler

Please reply to the newsgroup.

However, if you _really_ want to send me an e-mail,
replace "nospam" in my address with "aeolia".
0
Reply David 1/16/2005 6:04:49 PM

David Sumbler <david@nospam.co.uk> wrote on Sun, 16 Jan 2005 18:04:49 +0000:
> I run emacs (and gnus) on a console.

A man after my own heart.

> I have gpm running.

Me too.

> Is there a way of getting the mouse to behave in emacs as described in
> the emacs info (i.e. as it works in xterm etc.), rather than just in
> the usual gpm manner?

No.  Or more accurately, not until somebody contributes the necessary
code.  There's certainly no reason in principle why this can't be done.

Fancy doing it yourself?  There's an info file describing gpm in detail.
You'd need some glue written in C, and an amount of Emacs Lisp.  Write
this, and you'd make yourself a hero. :-)

> David Sumbler

-- 
Alan Mackenzie (Munich, Germany)
Email: aacm@muuc.dee; to decode, wherever there is a repeated letter
(like "aa"), remove half of them (leaving, say, "a").

0
Reply Alan 1/17/2005 11:09:55 PM


Alan Mackenzie <acm@muc.de> writes:

> David Sumbler <david@nospam.co.uk> wrote on Sun, 16 Jan 2005 18:04:49 +0000:
>> I run emacs (and gnus) on a console.
>> 
>> I have gpm running.
>> 
>> Is there a way of getting the mouse to behave in emacs as described in
>> the emacs info (i.e. as it works in xterm etc.), rather than just in
>> the usual gpm manner?
>
> No.  Or more accurately, not until somebody contributes the necessary
> code.  There's certainly no reason in principle why this can't be done.
>
> Fancy doing it yourself?  There's an info file describing gpm in detail.
> You'd need some glue written in C, and an amount of Emacs Lisp.  Write
> this, and you'd make yourself a hero. :-)

Unfortunately neither my C programming nor my Lisp programming are up
to it - nor the spare time, even if I had the skill.

So is there a way of turning off the pointless menu-bar at the top of
the screen?  It just wastes a line, but I can't seem to find a
variable that has the required effect.

David

-- 

David Sumbler

Please reply with a followup to the newsgroup.

However, if you _really_ want to send me an e-mail,
replace "nospam" in my address with "aeolia".
0
Reply David 1/18/2005 8:58:01 AM

David Sumbler wrote:
> Alan Mackenzie <acm@muc.de> writes:
> 
> 
>>David Sumbler <david@nospam.co.uk> wrote on Sun, 16 Jan 2005 18:04:49 +0000:
>>
>>>I run emacs (and gnus) on a console.
>>>
>>>I have gpm running.
>>>
>>>Is there a way of getting the mouse to behave in emacs as described in
>>>the emacs info (i.e. as it works in xterm etc.), rather than just in
>>>the usual gpm manner?
>>
>>No.  Or more accurately, not until somebody contributes the necessary
>>code.  There's certainly no reason in principle why this can't be done.
>>
>>Fancy doing it yourself?  There's an info file describing gpm in detail.
>>You'd need some glue written in C, and an amount of Emacs Lisp.  Write
>>this, and you'd make yourself a hero. :-)
> 
> 
> Unfortunately neither my C programming nor my Lisp programming are up
> to it - nor the spare time, even if I had the skill.
> 
> So is there a way of turning off the pointless menu-bar at the top of
> the screen?  It just wastes a line, but I can't seem to find a
> variable that has the required effect.
> 
> David
> 

M-x menu-bar-mode is what you need.
Regards

Alfredo
0
Reply Alfedo 1/18/2005 10:38:24 AM

Turn of the menu-bar-mode via 
(menu-bar-mode nil)
-- 
    < >      NVLLA ROSA SINE SPINIS                   
 < > o < >   Sebastian Panknin <doorn@web.de>
    < >      http://www.fsr.physik.uni-goettingen.de/~panknin
0
Reply Sebastian 1/18/2005 11:18:57 AM

David Sumbler <david@nospam.co.uk> writes:

> I run emacs (and gnus) on a console.  I have gpm running.
>
> Is there a way of getting the mouse to behave in emacs as described in
> the emacs info (i.e. as it worksin xterm etc.), rather than just in
> the usual gpm manner?

Yes.  Use the t-mouse library.  The Debian gpm package includes it at
/usr/share/doc/gpm/examples/t-mouse.el.gz
0
Reply John 1/18/2005 7:42:58 PM

5 Replies
338 Views

(page loaded in 0.094 seconds)

Similiar Articles:













7/23/2012 3:42:33 PM


Reply: