* [9fans] Drawterm Trouble
@ 2009-11-24 11:52 Martin Gansel
2009-11-25 10:08 ` yy
0 siblings, 1 reply; 2+ messages in thread
From: Martin Gansel @ 2009-11-24 11:52 UTC (permalink / raw)
To: 9fans
Drawterm for Linux(I currently run Arch Linux) doesn't allow me to use
the middle mouse button emulation(Shift + right mouse button).
For example if I run Acme, I can't exec any command via middle button
emulation. There is simply no reaction. Is there any known bug?
Drawterm for Windows works perfectly.
Martin Gansel
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [9fans] Drawterm Trouble
2009-11-24 11:52 [9fans] Drawterm Trouble Martin Gansel
@ 2009-11-25 10:08 ` yy
0 siblings, 0 replies; 2+ messages in thread
From: yy @ 2009-11-25 10:08 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
2009/11/24 Martin Gansel <ganselmartin@googlemail.com>:
> Drawterm for Linux(I currently run Arch Linux) doesn't allow me to use
> the middle mouse button emulation(Shift + right mouse button).
> For example if I run Acme, I can't exec any command via middle button
> emulation. There is simply no reaction. Is there any known bug?
> Drawterm for Windows works perfectly.
>
> Martin Gansel
>
>
It is not implemented, but it has an easy solution. I sent the fix
for 9vx to this list some time ago
(http://9fans.net/archive/2009/03/250). I will send to Russ patches
for 9vx and drawterm fixing this issue, but I cannot guarantee when
(or even if) they will be applied.
This was the fix for 9vx:
diff -r a18e9872164b src/9vx/x11/x11-itrans.c
--- a/src/9vx/x11/x11-itrans.c Wed Dec 10 03:29:15 2008 -0800
+++ b/src/9vx/x11/x11-itrans.c Mon Mar 09 16:29:39 2009 +0100
@@ -229,7 +229,7 @@
if(s & Button2Mask)
m->buttons |= 2;
if(s & Button3Mask)
- m->buttons |= 4;
+ m->buttons |= s & ShiftMask ? 2 : 4;
if(s & Button4Mask)
m->buttons |= 8;
if(s & Button5Mask)
You want to apply a similar patch to gui-x11/screen.c
--
- yiyus || JGL . 4l77.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-11-25 10:08 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-11-24 11:52 [9fans] Drawterm Trouble Martin Gansel
2009-11-25 10:08 ` yy
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).