[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

AW: Mouse movement - no events?

From: Hohl, Gerrit
Subject: AW: Mouse movement - no events?
Date: Mon, 16 Mar 2015 09:23:55 +0100

Hello Thomas,

I switched the TERM environment variable from "linux" to "xterm-1003" in the 
virtual console. Afterwards I didn't get any mouse events at all.
I also changed the "Terminal-type string" in PuTTY (which can be configured at 
"Connection > Data". And I got the same result: No mouse events at all.

Maybe I should add that my mouse support currently depends on the GPM package. 
I don't know if there are other ways and if GPM supports mouse movement events.


-----Ursprüngliche Nachricht-----
Von: Thomas Dickey [mailto:address@hidden 
Gesendet: Samstag, 14. März 2015 01:05
An: Hohl, Gerrit
Cc: address@hidden
Betreff: Re: Mouse movement - no events?

On Fri, Mar 13, 2015 at 02:34:33PM +0100, Hohl, Gerrit wrote:
> Hello everyone,
> I don't know if it is a bug or just me having the wrong expectations.
> I've written the following small program. I get keyboard key events as 
> well as resize events. I also get mouse key events (after I installed 
> the GPM package in my Ubuntu 14). But I don't get any events about 
> mouse movements.
> I've seen that there is a REPORT_MOUSE_POSITION constant / macro. So I 
> guess there must be a way also to get these events.

It depends upon the terminal description.  (xterm-1003 is one...)

Thomas E. Dickey <address@hidden> http://invisible-island.net 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]