Re: [9fans] [9front] mouse handling code on amd64

2025-04-05 Thread Roman Belenov
I ended up with the following patch - http://okturing.com/src/24386/body The default behavior is not changed, but it is possible to use any modifier (described in mtab) for any mouse button swap, e.g. locally I use echo mouseswap shift 231 >/dev/mswapctl echo mouseswap altgr 312 >/dev/mswapctl to

Re: [9fans] github mirror status

2025-04-07 Thread Roman Belenov
Yes, local branches (on local computer) work fine with shithub; however, as far as I see, there is only one branch (front) on shithub server, and I guess it's not intended as a place for local forks for random people. However, I'd like an easy way to store local branch somewhere on the net; gith

Re: [9fans] github mirror status

2025-04-08 Thread Roman Belenov
> So every once a month or so I go in and click the button to continue the >action. I see, thank you! -- 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/T2a9f9f77bdb28cec-M6b7ed9d5b0046b080a0b5a04 Delivery options: https://9fans.topicbox.com

Re: [9fans] [9front] mouse handling code on amd64

2025-04-01 Thread Roman Belenov
But as far as I understand aux/kbdfs is a separate user mode binary, the kernel is not modified. -- 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/T41a0e496bba0c957-M5be57d8eef2bdebdbfed5036 Delivery options: https://9fans.topicbox.com/grou

Re: [9fans] [9front] mouse handling code on amd64

2025-04-01 Thread Roman Belenov
The code moved from the kernel to userspace to be included in special filesystem inside kernel image? It's April 1st, right? Seriously - I see that it's similar to initrd in Linux and rebuilding the kernel works, so now I can use 9front with touchpad with more comfort (there are physical button

[9fans] Re: 9Front and The Future of Platform Support

2025-04-01 Thread Roman Belenov
Why not Alpha? Or it's never-released-for-some-reason successor Iota? -- 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/T82bf787acede8ea1-M4e718e07c68a925214363682 Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

Re: [9fans] Re: 9Front and The Future of Platform Support

2025-04-01 Thread Roman Belenov
Yes, Alpha was not a good name; to fix the issue, they had plan B (Beta), plan 3 (Gamma) to make it even better, and eventually Iota was supposed to be the last word in naming and CPU design, but something went wrong... -- 9fans: 9fans Permalink: https://9

Re: [9fans] git issues

2025-04-01 Thread Roman Belenov
Thank you, that did the trick! "git/merge front" also works now. However, "git/diff -c front" produces huge diffs, looks like front is not interpreted as a branch name. How to compare two branches with 9front git? -- 9fans: 9fans Permalink: https://9fans.t

Re: [9fans] [9front] mouse handling code on amd64

2025-04-01 Thread Roman Belenov
UPD Learned about readstr and added reading of the current state -  https://okturing.com/src/24387/body -- 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/T41a0e496bba0c957-M40c335a5462c0ebe8c2e4023 Delivery options: https://9fans.topicbox.co

[9fans] git issues

2025-04-01 Thread Roman Belenov
Hello, I have some issues with git (after bind -ac /dist/plan9front) 1.git/diff -s produces a lot of messages like R lib/1oct1993/0310.ms What are these files? Is it possible to get rid of it? 2. I've created new branch "local", made some changes in /sys/src and committed them. I had no error

Re: [9fans] github mirror status

2025-04-08 Thread Roman Belenov
PS Looks like dircp/tar should preserve ownership, but I ended up with files owned by glenda instead of sys. -- 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/T2a9f9f77bdb28cec-M0dc526e4c5e8783c5ff606d3 Delivery options: https://9fans.topic

Re: [9fans] github mirror status

2025-04-08 Thread Roman Belenov
Thank's everyone! I didn't consider git usage with different remotes for push and pull; agree that it fits in git commit-centered philosophy, will keep it in mind. -- 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/T2a9f9f77bdb28cec-M7f189a

[9fans] github mirror status

2025-04-07 Thread Roman Belenov
Hello, Just noticed that https://github.com/9front/9front didn't sync for a few days - is it temporary? Looks like it's a handy way to keep/share local changes. Regards, Roman -- 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/T2a9f9f77bd

Re: [9fans] [9front] mouse handling code on amd64

2025-03-31 Thread Roman Belenov
Thank you! I see that sending "buttonmap XYZ" to /dev/mousectl works and swaps the buttons. However, changing the code in /sys/src/cmd/aux/kbfs/kbdfs.c have no effect for me (after changes I did "mk install", checked that /bin/aux/kbdfs is updated and rebooted). Even after changing the string t

Re: [9fans] [9front] mouse handling code on amd64

2025-03-31 Thread Roman Belenov
PS Is it possible that aux/kbdfs started from boot scripts is not the one bound later from /amd64/bin/aux ? -- 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/T41a0e496bba0c957-M4d4be2e166f3f56a6dc3263a Delivery options: https://9fans.topicb

Re: [9fans] [9front] mouse handling code on amd64

2025-04-03 Thread Roman Belenov
Will the keys remapped this way still work as regular keyboard modifiers? -- 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/T41a0e496bba0c957-M5adcdd287ddf415c110f4818 Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

Re: [9fans] [9front] mouse handling code on amd64

2025-04-02 Thread Roman Belenov
UPD2 Switched to (probably) better names and created proper git diff New patch available at https://okturing.com/src/24408/body  New customization syntax: echo altgr 312 >/dev/buttonmapctl Regards, Roman -- 9fans: 9fans Permalink: https://9fans.topicbox.com

Re: [9fans] A challenge for all of you out there ...

2025-06-05 Thread Roman Belenov
I found that on touchpad it's easier to use only single tap with keyboard modifiers for anything else - see  https://9fans.topicbox.com/groups/9fans/T41a0e496bba0c957-M311e614337a8b380b3aab971/9front-mouse-handling-code-on-amd64  Agree we Ori's comments that my solution is a bit too complex, but w