Discussion:
[9fans] Acme button 1 working like button 3
(too old to reply)
Patrick Higgins
2013-03-18 22:56:00 UTC
Permalink
I am trying out Acme after watching rsc's tour at http://research.swtch.com/acme

So far I have been liking it, but I just hit an issue: mouse button 1
now acts the same as button 3. It was working normally just a few
minutes ago. Other X windows including xev still work normally.

I would appreciate some help in understanding/resolving this.

Thanks!

--Patrick
Ruslan Khusnullin
2013-03-19 07:19:20 UTC
Permalink
I'm not a profi in Acme internals but...

Could you try running `visibleclicks=1 acme`, click mouse buttons and
see how libdraw treats them?

On Tue, Mar 19, 2013 at 2:56 AM, Patrick Higgins
Post by Patrick Higgins
I am trying out Acme after watching rsc's tour at http://research.swtch.com/acme
So far I have been liking it, but I just hit an issue: mouse button 1
now acts the same as button 3. It was working normally just a few
minutes ago. Other X windows including xev still work normally.
I would appreciate some help in understanding/resolving this.
Thanks!
--Patrick
dexen deVries
2013-03-19 08:52:30 UTC
Permalink
Post by Patrick Higgins
I am trying out Acme after watching rsc's tour at
http://research.swtch.com/acme
So far I have been liking it, but I just hit an issue: mouse button 1
now acts the same as button 3. It was working normally just a few
minutes ago. Other X windows including xev still work normally.
I would appreciate some help in understanding/resolving this.
there's been a recent commit in p9p
(html)
http://code.swtch.com/plan9port/commits/c1bd38a11c42d18b53ee5d6a6084eccb9728f2c2
(raw)
http://code.swtch.com/plan9port/commits/c1bd38a11c42d18b53ee5d6a6084eccb9728f2c2/raw/


...and i've been suffering from randomly stuck Ctrl or Alt in recent X.org or
KDE.
--
dexen deVries

[[[↓][→]]]
Peter A. Cejchan
2013-03-19 08:58:29 UTC
Permalink
Use native Plan9 ;-)))
++pac
[sorry for being cheeky]
Post by dexen deVries
Post by Patrick Higgins
I am trying out Acme after watching rsc's tour at
http://research.swtch.com/acme
So far I have been liking it, but I just hit an issue: mouse button 1
now acts the same as button 3. It was working normally just a few
minutes ago. Other X windows including xev still work normally.
I would appreciate some help in understanding/resolving this.
there's been a recent commit in p9p
(html)
http://code.swtch.com/plan9port/commits/c1bd38a11c42d18b53ee5d6a6084eccb9728f2c2
(raw)
http://code.swtch.com/plan9port/commits/c1bd38a11c42d18b53ee5d6a6084eccb9728f2c2/raw/
...and i've been suffering from randomly stuck Ctrl or Alt in recent X.org or
KDE.
--
dexen deVries
[[[↓][→]]]
Ruslan Khusnullin
2013-03-19 09:44:51 UTC
Permalink
Post by dexen deVries
there's been a recent commit in p9p
(html)
http://code.swtch.com/plan9port/commits/c1bd38a11c42d18b53ee5d6a6084eccb9728f2c2
(raw)
http://code.swtch.com/plan9port/commits/c1bd38a11c42d18b53ee5d6a6084eccb9728f2c2/raw/
...and i've been suffering from randomly stuck Ctrl or Alt in recent X.org or
KDE.
Looks like I suffer from this too. Just a minute ago I was unable to
change position in file (in window). Fixed only after pressing and
releasing Alt button. Don't think it's related to KDE because I'm
using wmii.
Patrick Higgins
2013-03-19 18:59:47 UTC
Permalink
Yes, that was it. My alt key had gotten stuck.

On Tue, Mar 19, 2013 at 3:44 AM, Ruslan Khusnullin
Post by Ruslan Khusnullin
Post by dexen deVries
there's been a recent commit in p9p
(html)
http://code.swtch.com/plan9port/commits/c1bd38a11c42d18b53ee5d6a6084eccb9728f2c2
(raw)
http://code.swtch.com/plan9port/commits/c1bd38a11c42d18b53ee5d6a6084eccb9728f2c2/raw/
...and i've been suffering from randomly stuck Ctrl or Alt in recent X.org or
KDE.
Looks like I suffer from this too. Just a minute ago I was unable to
change position in file (in window). Fixed only after pressing and
releasing Alt button. Don't think it's related to KDE because I'm
using wmii.
Rudolf Sykora
2013-03-20 14:09:17 UTC
Permalink
Hello
Post by Patrick Higgins
Yes, that was it. My alt key had gotten stuck.
so what must I do to circumvent the problem?
I reckon I should issue some hg command to put some files (from
65969f85ee6c revision?), presumably just src/cmd/devdraw/x11-srv.c,
into the working directory, and then recompile (mk) some subtree of
p9p. What are the relevant commands, please?

Thank you!
Ruda
Ruslan Khusnullin
2013-03-20 15:32:10 UTC
Permalink
There is a bug already
https://bitbucket.org/rsc/plan9port/issue/124/patch-revision-3449-messes-with-keyboard-7
so we can wait for a fix in meantime.

For now you can make a clean clone of specific revision previous to the change:
cd /usr/local
rm -rf plan9
hg clone -r e9cdfa957952 https://bitbucket.org/rsc/plan9port plan9

Or if you want just to checkout the revision in existing tree:
cd /usr/local/plan9
hg checkout -r e9cdfa957952
Post by Rudolf Sykora
Hello
Post by Patrick Higgins
Yes, that was it. My alt key had gotten stuck.
so what must I do to circumvent the problem?
I reckon I should issue some hg command to put some files (from
65969f85ee6c revision?), presumably just src/cmd/devdraw/x11-srv.c,
into the working directory, and then recompile (mk) some subtree of
p9p. What are the relevant commands, please?
Thank you!
Ruda
Rudolf Sykora
2013-03-20 17:07:05 UTC
Permalink
Hello,
Post by Ruslan Khusnullin
cd /usr/local
rm -rf plan9
hg clone -r e9cdfa957952 https://bitbucket.org/rsc/plan9port plan9
cd /usr/local/plan9
hg checkout -r e9cdfa957952
thanks. This worked.
I thought something like hg revert -r <rev> <file>, followed by some
restricted rebuild
could be sufficient, but this is probably easier.

Thanks!
Ruda
Alexander Sychev
2013-04-10 11:52:49 UTC
Permalink
Hi,
I made a variant of a fix of the problem some time ago.
https://codereview.appspot.com/7818049/
It seems Russ is very busy and can't review my changes, so the patch can be
applied by hands.


On Tue, Mar 19, 2013 at 2:56 AM, Patrick Higgins <
Post by Patrick Higgins
I am trying out Acme after watching rsc's tour at
http://research.swtch.com/acme
So far I have been liking it, but I just hit an issue: mouse button 1
now acts the same as button 3. It was working normally just a few
minutes ago. Other X windows including xev still work normally.
I would appreciate some help in understanding/resolving this.
Thanks!
--Patrick
--
Best regards,
santucco
l***@proxima.alt.za
2013-04-10 13:28:49 UTC
Permalink
Post by Alexander Sychev
It seems Russ is very busy
Russ's had a baby.

++L
andrey mirtchovski
2013-04-10 13:29:32 UTC
Permalink
Russ and his wife had a baby, I think he's busy changing diapers
(there was an announcement on golang-dev that he'll be away for a
month).

:)
erik quanstrom
2013-04-10 14:00:49 UTC
Permalink
Post by andrey mirtchovski
Russ and his wife had a baby, I think he's busy changing diapers
(there was an announcement on golang-dev that he'll be away for a
month).
a baby is proof that no matter how obsessive a coder you are,
you can get even less sleep and not code a wink.

- erik
a***@skeeve.com
2013-04-10 19:42:33 UTC
Permalink
Post by erik quanstrom
Post by andrey mirtchovski
Russ and his wife had a baby, I think he's busy changing diapers
(there was an announcement on golang-dev that he'll be away for a
month).
a baby is proof that no matter how obsessive a coder you are,
you can get even less sleep and not code a wink.
- erik
And be in an even more elevated state of happiness.

Arnold

Skip Tavakkolian
2013-04-10 16:58:28 UTC
Permalink
On Wed, Apr 10, 2013 at 6:29 AM, andrey mirtchovski
Post by andrey mirtchovski
Russ and his wife had a baby, I think he's busy changing diapers
inspecting stack dumps? :)
Post by andrey mirtchovski
(there was an announcement on golang-dev that he'll be away for a
month).
:)
Alexander Sychev
2013-04-10 18:03:20 UTC
Permalink
Children are not for a month, children are forever :-)


On Wed, Apr 10, 2013 at 5:29 PM, andrey mirtchovski
Post by andrey mirtchovski
Russ and his wife had a baby, I think he's busy changing diapers
(there was an announcement on golang-dev that he'll be away for a
month).
:)
--
Best regards,
santucco
Continue reading on narkive:
Loading...