Re: [9fans] p9p mouse problem

2015-04-23 Thread Rudolf Sykora
Hello,

On 31 March 2015 at 15:37, Rudolf Sykora rudolf.syk...@gmail.com wrote:
 I now encounter a problem with my mouse in plan9port.
 Every now and then it happens that my left button starts
 to behave as the right button. What helps is pressing a
 ctrl key on the keyboard: immediately after that things
 are ok again for a while.

 I now see this happen on several machines... (always
 on Slackware)
 Hasn't anybody else seen this? Or does anybody
 have a clue about what could cause it?
 (It only happens in p9p programs [sam, acme], never
 in linux ones.)

Ok, I still haven't passed over the problem. As I see it
on two individual machines with a common system,
I think it might be system related, slackware 14.1. I could
try and upgrade some packages to the current slackware
branch (i.e. substitute probably some X packages) if I
only could guess which part of the system could possibly
be responsible. Is there anybody who could guess?

Thanks
Ruda



Re: [9fans] p9p mouse problem

2015-04-23 Thread Bojan Petrovic
Hi Ruda,


On Thu, Apr 23, 2015, at 11:38 AM, Rudolf Sykora wrote:

 On 31 March 2015 at 15:37, Rudolf Sykora rudolf.syk...@gmail.com wrote:
  I now encounter a problem with my mouse in plan9port.
  Every now and then it happens that my left button starts
  to behave as the right button. What helps is pressing a
  ctrl key on the keyboard: immediately after that things
  are ok again for a while.

I believe I had this problem on FreeBSD.

I have

  setxkbmap -option grp:shifts_toggle,ctrl:nocaps us,rs(latin)

in my .xinitrc, and when I press left shift key, left button starts to behave
as right button.


If I run:

 setxkbmap -option  us,rs(latin)
 setxkbmap -option grp:menu_toggle,ctrl:nocaps us,rs(latin)

Acme behaves normally.

Check out this bug report (I'm not sure why it was marked Invalid):
https://bitbucket.org/rsc/plan9port/issue/135/xkboptions-with-shift-both_capslock_cancel



Regards,
Bojan



Re: [9fans] p9p mouse problem

2015-03-31 Thread Steve Simon
There was a hook to allow you to use 2 button mice with plan9 which used
(as I remember) the shift key to make button 3 bring up the menu normally
used for button 2.

I cannot make this work any more but I have a usb mouse and keyboard,
perhaps it was a feature of the PS2 mouse/keyboard drievr?

Anyway, perhaps your keyboard is the problem, not sending a key-up event
when you release the shift key somtimes?

Just a guess.

-Steve



Re: [9fans] p9p mouse problem

2015-03-31 Thread Rudolf Sykora
Hi everybody,

On 18 February 2015 at 11:14, Rudolf Sykora rudolf.syk...@gmail.com wrote:
 I now encounter a problem with my mouse in plan9port.
 Every now and then it happens that my left button starts
 to behave as the right button. What helps is pressing a
 ctrl key on the keyboard: immediately after that things
 are ok again for a while.

I now see this happen on several machines... (always
on Slackware)
Hasn't anybody else seen this? Or does anybody
have a clue about what could cause it?
(It only happens in p9p programs [sam, acme], never
in linux ones.)


Thanks
Ruda



[9fans] p9p mouse problem

2015-02-18 Thread Rudolf Sykora
Hello,

I now encounter a problem with my mouse in plan9port.
Every now and then it happens that my left button starts
to behave as the right button. What helps is pressing a
ctrl key on the keyboard: immediately after that things
are ok again for a while.

Has anybody fought with this before? Any solution?

Thanks
Ruda