* [9fans] porting projects... @ 2021-09-03 23:49 Conor Williams 2021-09-04 3:23 ` Lucio De Re ` (4 more replies) 0 siblings, 5 replies; 28+ messages in thread From: Conor Williams @ 2021-09-03 23:49 UTC (permalink / raw) To: Fans of the OS Plan 9 from Bell Labs [-- Attachment #1: Type: text/plain, Size: 322 bytes --] anyone got a list/one project to work on... i'm not too shoddy at the auld porting etc...cw ------------------------------------------ 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/Td6b6b3e98268ecde-M47456a088901e7cc2602266f Delivery options: https://9fans.topicbox.com/groups/9fans/subscription [-- Attachment #2: Type: text/html, Size: 805 bytes --] ^ permalink raw reply [flat|nested] 28+ messages in thread
* Re: [9fans] porting projects... 2021-09-03 23:49 [9fans] porting projects Conor Williams @ 2021-09-04 3:23 ` Lucio De Re 2021-09-04 3:50 ` Jens Staal ` (3 subsequent siblings) 4 siblings, 0 replies; 28+ messages in thread From: Lucio De Re @ 2021-09-04 3:23 UTC (permalink / raw) To: 9fans You're inviting trouble :-) Maybe if you give us some idea of magnitude you are prepared to work on? Or which sphere of interest/expertise you're contemplating? The wish list is long... Lucio. On 9/4/21, Conor Williams <conor.williams@gmail.com> wrote: > anyone got a list/one project to work on... > i'm not too shoddy at the auld porting etc...cw -- Lucio De Re 2 Piet Retief St Kestell (Eastern Free State) 9860 South Africa Ph.: +27 58 653 1433 Cell: +27 83 251 5824 ------------------------------------------ 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/Td6b6b3e98268ecde-M14bcd3076956b659fb6a2ee0 Delivery options: https://9fans.topicbox.com/groups/9fans/subscription ^ permalink raw reply [flat|nested] 28+ messages in thread
* Re: [9fans] porting projects... 2021-09-03 23:49 [9fans] porting projects Conor Williams 2021-09-04 3:23 ` Lucio De Re @ 2021-09-04 3:50 ` Jens Staal 2021-09-04 5:41 ` Conor Williams 2021-09-04 8:04 ` Philip Silva via 9fans ` (2 subsequent siblings) 4 siblings, 1 reply; 28+ messages in thread From: Jens Staal @ 2021-09-04 3:50 UTC (permalink / raw) To: 9fans [-- Attachment #1: Type: text/plain, Size: 915 bytes --] Den lör 4 sep. 2021 01:50Conor Williams <conor.williams@gmail.com> skrev: > anyone got a list/one project to work on... > i'm not too shoddy at the auld porting etc...cw > I really wanted to get NetHack work (using the upstreamed PDCursesMod port). Been too busy and side-tracked by other stuff to try again. *9fans <https://9fans.topicbox.com/latest>* / 9fans / see discussions > <https://9fans.topicbox.com/groups/9fans> + participants > <https://9fans.topicbox.com/groups/9fans/members> + delivery options > <https://9fans.topicbox.com/groups/9fans/subscription> Permalink > <https://9fans.topicbox.com/groups/9fans/Td6b6b3e98268ecde-M47456a088901e7cc2602266f> > ------------------------------------------ 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/Td6b6b3e98268ecde-Ma5b96b6a9c9a6131689df4cf Delivery options: https://9fans.topicbox.com/groups/9fans/subscription [-- Attachment #2: Type: text/html, Size: 1635 bytes --] ^ permalink raw reply [flat|nested] 28+ messages in thread
* Re: [9fans] porting projects... 2021-09-04 3:50 ` Jens Staal @ 2021-09-04 5:41 ` Conor Williams 0 siblings, 0 replies; 28+ messages in thread From: Conor Williams @ 2021-09-04 5:41 UTC (permalink / raw) To: 9fans [-- Attachment #1: Type: text/plain, Size: 1772 bytes --] just finished all of these (mostly... ) and looking for other ones... dicking around with Tcl port of some of these now... cv: software and hardware mostly vnr ta https://sites.google.com/view/d1333/home /c ps: will take a goo at NetHack soon and get back to u on the ramifications of it... -- just trying to work out dopamine (at around a still ridiculous 14 after 20 hours sleep... dear o dear) (sta/a)... and as for placebo well... https://www.youtube.com/watch?v=6kFqFnGXERg and food amount running a little low too... i'd kill 4a agaroph soft drink right this now pps.. anyone know of anyone needing cheap help on the cdiaz/longevity//nanobot secret project over yonder somewhere - i heard a bit about the new tube brusher on /. On Sat, Sep 4, 2021 at 3:51 AM Jens Staal <staal1978@gmail.com> wrote: > > > Den lör 4 sep. 2021 01:50Conor Williams <conor.williams@gmail.com> skrev: > >> anyone got a list/one project to work on... >> i'm not too shoddy at the auld porting etc...cw >> > > I really wanted to get NetHack work (using the upstreamed PDCursesMod > port). > > Been too busy and side-tracked by other stuff to try again. > > *9fans <https://9fans.topicbox.com/latest>* / 9fans / see discussions > <https://9fans.topicbox.com/groups/9fans> + participants > <https://9fans.topicbox.com/groups/9fans/members> + delivery options > <https://9fans.topicbox.com/groups/9fans/subscription> Permalink > <https://9fans.topicbox.com/groups/9fans/Td6b6b3e98268ecde-Ma5b96b6a9c9a6131689df4cf> > ------------------------------------------ 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/Td6b6b3e98268ecde-Ma6269d4667ce9a684488e1ae Delivery options: https://9fans.topicbox.com/groups/9fans/subscription [-- Attachment #2: Type: text/html, Size: 3104 bytes --] ^ permalink raw reply [flat|nested] 28+ messages in thread
* Re: [9fans] porting projects... 2021-09-03 23:49 [9fans] porting projects Conor Williams 2021-09-04 3:23 ` Lucio De Re 2021-09-04 3:50 ` Jens Staal @ 2021-09-04 8:04 ` Philip Silva via 9fans 2021-09-04 15:24 ` Sigrid Solveig Haflínudóttir 2021-09-04 9:22 ` Steve Simon 2021-09-04 14:22 ` ori 4 siblings, 1 reply; 28+ messages in thread From: Philip Silva via 9fans @ 2021-09-04 8:04 UTC (permalink / raw) To: 9fans [-- Attachment #1: Type: text/plain, Size: 529 bytes --] Not sure if it's wasted/duplicate effort but I had been interested in porting QuickJS (it has ES 2020 support) Eventually I stopped doing this since there is Duktape (within Netsurf) and Goja now support some of the most common ES6 features. Also my C knowledge/porting experience is quite limited. Philip ------------------------------------------ 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/Td6b6b3e98268ecde-M067fe527d54128af356daf61 Delivery options: https://9fans.topicbox.com/groups/9fans/subscription [-- Attachment #2: Type: text/html, Size: 1004 bytes --] ^ permalink raw reply [flat|nested] 28+ messages in thread
* Re: [9fans] porting projects... 2021-09-04 8:04 ` Philip Silva via 9fans @ 2021-09-04 15:24 ` Sigrid Solveig Haflínudóttir 2021-09-05 7:53 ` Philip Silva via 9fans 0 siblings, 1 reply; 28+ messages in thread From: Sigrid Solveig Haflínudóttir @ 2021-09-04 15:24 UTC (permalink / raw) To: 9fans On Sat, Sep 4, 2021 at 10:04 AM Philip Silva via 9fans <9fans@9fans.net> wrote: > > Not sure if it's wasted/duplicate effort but I had been interested in porting QuickJS (it has ES 2020 support) Eventually I stopped doing this since there is Duktape (within Netsurf) and Goja now support some of the most common ES6 features. Also my C knowledge/porting experience is quite limited. https://git.sr.ht/~ft/quickjs I have not finished it, ofc, but it successfully ran a few scripts on 9front amd64. Quickjs uses uint128_t which makes everything much more complicated. I don't know if kencc should support 128 bit _just_ to make JS work. ------------------------------------------ 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/Td6b6b3e98268ecde-Ma50a2d9f9260f8529c866dfa Delivery options: https://9fans.topicbox.com/groups/9fans/subscription ^ permalink raw reply [flat|nested] 28+ messages in thread
* Re: [9fans] porting projects... 2021-09-04 15:24 ` Sigrid Solveig Haflínudóttir @ 2021-09-05 7:53 ` Philip Silva via 9fans 0 siblings, 0 replies; 28+ messages in thread From: Philip Silva via 9fans @ 2021-09-05 7:53 UTC (permalink / raw) To: 9fans Awesome, I'll try that! Yeah I realize there is also this Bignum support, that's probably not a very common use case. On Saturday, September 4th, 2021 at 17:24, Sigrid Solveig Haflínudóttir <ftrvxmtrx@gmail.com> wrote: > https://git.sr.ht/~ft/quickjs > > I have not finished it, ofc, but it successfully ran a few scripts on > > 9front amd64. Quickjs uses uint128_t which makes everything much more > > complicated. I don't know if kencc should support 128 bit just to > > make JS work. ------------------------------------------ 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/Td6b6b3e98268ecde-M68c871b8c7a41fd5adcf5c39 Delivery options: https://9fans.topicbox.com/groups/9fans/subscription ^ permalink raw reply [flat|nested] 28+ messages in thread
* Re: [9fans] porting projects... 2021-09-03 23:49 [9fans] porting projects Conor Williams ` (2 preceding siblings ...) 2021-09-04 8:04 ` Philip Silva via 9fans @ 2021-09-04 9:22 ` Steve Simon 2021-09-04 16:17 ` hiro 2021-09-04 14:22 ` ori 4 siblings, 1 reply; 28+ messages in thread From: Steve Simon @ 2021-09-04 9:22 UTC (permalink / raw) To: 9fans i will bite i tried and faild to get cinap’s historic synergy client to work with a current synergy server on windows/linux/osx etc. the biggest pain is the wireshark disector is buggy and there is no real documentation for the protocol. not really selling it am i? -Steve ------------------------------------------ 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/Td6b6b3e98268ecde-M0f403a613eac464f4c7615a3 Delivery options: https://9fans.topicbox.com/groups/9fans/subscription ^ permalink raw reply [flat|nested] 28+ messages in thread
* Re: [9fans] porting projects... 2021-09-04 9:22 ` Steve Simon @ 2021-09-04 16:17 ` hiro 2021-09-04 18:55 ` Michael Misch 0 siblings, 1 reply; 28+ messages in thread From: hiro @ 2021-09-04 16:17 UTC (permalink / raw) To: 9fans > i tried and faild to get cinap’s historic synergy client to work with a > current synergy server on windows/linux/osx etc. the guy behind synergy at some point tried to convert his free software project into a startup for making money. even before that transition he was a hell to send patches to. i don't recommend depending on this rude person in any form at all. instead maybe there's a synergy fork somewhere based on the older free code. that should be no big deal to keep around forever. ------------------------------------------ 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/Td6b6b3e98268ecde-M6295cc17a8a74981f4a3bb04 Delivery options: https://9fans.topicbox.com/groups/9fans/subscription ^ permalink raw reply [flat|nested] 28+ messages in thread
* Re: [9fans] porting projects... 2021-09-04 16:17 ` hiro @ 2021-09-04 18:55 ` Michael Misch 2021-09-04 20:35 ` Steve Simon 0 siblings, 1 reply; 28+ messages in thread From: Michael Misch @ 2021-09-04 18:55 UTC (permalink / raw) To: 9fans [-- Attachment #1: Type: text/plain, Size: 874 bytes --] https://github.com/debauchee/barrier > On Sep 4, 2021, at 9:19 AM, hiro <23hiro@gmail.com> wrote: > > >> >> i tried and faild to get cinap’s historic synergy client to work with a >> current synergy server on windows/linux/osx etc. > > the guy behind synergy at some point tried to convert his free > software project into a startup for making money. > even before that transition he was a hell to send patches to. i don't > recommend depending on this rude person in any form at all. > > instead maybe there's a synergy fork somewhere based on the older free > code. that should be no big deal to keep around forever. ------------------------------------------ 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/Td6b6b3e98268ecde-Mfff2322174718698f16e019a Delivery options: https://9fans.topicbox.com/groups/9fans/subscription [-- Attachment #2: Type: text/html, Size: 2155 bytes --] ^ permalink raw reply [flat|nested] 28+ messages in thread
* Re: [9fans] porting projects... 2021-09-04 18:55 ` Michael Misch @ 2021-09-04 20:35 ` Steve Simon 2021-09-04 21:15 ` hiro 0 siblings, 1 reply; 28+ messages in thread From: Steve Simon @ 2021-09-04 20:35 UTC (permalink / raw) To: 9fans i was going to mention barrier but couldn’t remember it’s name. as far as the plan9 code goes they should both work - the only difference being the initial handshake message. current synergy supports many new features but plan9 is not interested. the problem is really the lack of documentation, the best info is a very simple example client, but even that has bugs it seems. i even considered writing a new plan9 specific protocol but that would mean delving into the internals of osx to hook it in… -Steve ------------------------------------------ 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/Td6b6b3e98268ecde-M214a2733c8807d89a1923923 Delivery options: https://9fans.topicbox.com/groups/9fans/subscription ^ permalink raw reply [flat|nested] 28+ messages in thread
* Re: [9fans] porting projects... 2021-09-04 20:35 ` Steve Simon @ 2021-09-04 21:15 ` hiro 2021-09-04 21:56 ` Stuart Morrow 0 siblings, 1 reply; 28+ messages in thread From: hiro @ 2021-09-04 21:15 UTC (permalink / raw) To: 9fans it's worth doing the plan9 specific protocol anyway. mainly bec. it could be very simple to implement, between multiple plan9, given that /dev/mouse is already network transparent. also, when you want other systems, with drawterm the /dev/mouse of the alien OS window is already made available. should be easy enough to extend this and allow a full-screen mouse grab... On 9/4/21, Steve Simon <steve@quintile.net> wrote: > > i was going to mention barrier but couldn’t remember it’s name. as far as > the plan9 code goes they should both work - the only difference being the > initial handshake message. > > current synergy supports many new features but plan9 is not interested. > > the problem is really the lack of documentation, the best info is a very > simple example client, but even that has bugs it seems. > > i even considered writing a new plan9 specific protocol but that would mean > delving into the internals of osx to hook it in… > > -Steve > ------------------------------------------ 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/Td6b6b3e98268ecde-M5f0eaa770713abcbe3549725 Delivery options: https://9fans.topicbox.com/groups/9fans/subscription ^ permalink raw reply [flat|nested] 28+ messages in thread
* Re: [9fans] porting projects... 2021-09-04 21:15 ` hiro @ 2021-09-04 21:56 ` Stuart Morrow 2021-09-05 6:16 ` Conor Williams ` (3 more replies) 0 siblings, 4 replies; 28+ messages in thread From: Stuart Morrow @ 2021-09-04 21:56 UTC (permalink / raw) To: 9fans On 04/09/2021, hiro <23hiro@gmail.com> wrote: > it's worth doing the plan9 specific protocol anyway. > mainly bec. it could be very simple to implement, between multiple > plan9, given that /dev/mouse is already network transparent. I can't think how Plan 9 would work as a server (as in, the machine with the mouse plugged in) for this (either for Synergy or an invented-here thing). /dev/mouse doesn't emit when you're off the screen. Maybe this is even the reason cinap never did a server, only a client. ------------------------------------------ 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/Td6b6b3e98268ecde-M0feff3e2659e016d8f423fa9 Delivery options: https://9fans.topicbox.com/groups/9fans/subscription ^ permalink raw reply [flat|nested] 28+ messages in thread
* Re: [9fans] porting projects... 2021-09-04 21:56 ` Stuart Morrow @ 2021-09-05 6:16 ` Conor Williams 2021-09-05 8:11 ` hiro ` (2 subsequent siblings) 3 siblings, 0 replies; 28+ messages in thread From: Conor Williams @ 2021-09-05 6:16 UTC (permalink / raw) To: 9fans [-- Attachment #1: Type: text/plain, Size: 890 bytes --] lot's of good stuff there.... /c:ta On Sat, Sep 4, 2021 at 9:57 PM Stuart Morrow <morrow.stuart@gmail.com> wrote: > On 04/09/2021, hiro <23hiro@gmail.com> wrote: > > it's worth doing the plan9 specific protocol anyway. > > mainly bec. it could be very simple to implement, between multiple > > plan9, given that /dev/mouse is already network transparent. > > I can't think how Plan 9 would work as a server (as in, the machine > with the mouse plugged in) for this (either for Synergy or an > invented-here thing). /dev/mouse doesn't emit when you're off the > screen. Maybe this is even the reason cinap never did a server, only > a client. ------------------------------------------ 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/Td6b6b3e98268ecde-M431cf9bc0995fc671bfd8c0e Delivery options: https://9fans.topicbox.com/groups/9fans/subscription [-- Attachment #2: Type: text/html, Size: 2232 bytes --] ^ permalink raw reply [flat|nested] 28+ messages in thread
* Re: [9fans] porting projects... 2021-09-04 21:56 ` Stuart Morrow 2021-09-05 6:16 ` Conor Williams @ 2021-09-05 8:11 ` hiro 2021-09-06 11:29 ` cinap_lenrek 2021-09-06 17:12 ` Skip Tavakkolian 3 siblings, 0 replies; 28+ messages in thread From: hiro @ 2021-09-05 8:11 UTC (permalink / raw) To: 9fans > I can't think how Plan 9 would work as a server (as in, the machine > with the mouse plugged in) for this (either for Synergy or an > invented-here thing). /dev/mouse doesn't emit when you're off the > screen. Maybe this is even the reason cinap never did a server, only > a client. you'd either have to change rio or build another simpler mouserio, that you mount before you start the first rio. it's not a big deal. ------------------------------------------ 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/Td6b6b3e98268ecde-Meb05362afbcf1f19fd006ebb Delivery options: https://9fans.topicbox.com/groups/9fans/subscription ^ permalink raw reply [flat|nested] 28+ messages in thread
* Re: [9fans] porting projects... 2021-09-04 21:56 ` Stuart Morrow 2021-09-05 6:16 ` Conor Williams 2021-09-05 8:11 ` hiro @ 2021-09-06 11:29 ` cinap_lenrek 2021-09-06 17:12 ` Skip Tavakkolian 3 siblings, 0 replies; 28+ messages in thread From: cinap_lenrek @ 2021-09-06 11:29 UTC (permalink / raw) To: 9fans > I can't think how Plan 9 would work as a server (as in, the machine > with the mouse plugged in) for this (either for Synergy or an > invented-here thing). /dev/mouse doesn't emit when you're off the > screen. Maybe this is even the reason cinap never did a server, only > a client. doesnt matter, you can run like a filter on /dev/mouse before starting rio... -- cinap ------------------------------------------ 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/Td6b6b3e98268ecde-M2ea5a7fd524a4bf3b4851b54 Delivery options: https://9fans.topicbox.com/groups/9fans/subscription ^ permalink raw reply [flat|nested] 28+ messages in thread
* Re: [9fans] porting projects... 2021-09-04 21:56 ` Stuart Morrow ` (2 preceding siblings ...) 2021-09-06 11:29 ` cinap_lenrek @ 2021-09-06 17:12 ` Skip Tavakkolian 2021-09-06 19:32 ` Stuart Morrow 3 siblings, 1 reply; 28+ messages in thread From: Skip Tavakkolian @ 2021-09-06 17:12 UTC (permalink / raw) To: 9fans The usual way is to layer file-servers to build up the namespace that you need. See tippy (https://github.com/9nut/plan9cmd) for a simple /dev/mouse example. The extended (freerange?) mouse would keep track of off-screen movement and forward them to clients. To complete the picture, mouse clients would then convert p9's mouse protocol messages and inject events using the OS's native format. To be clear, the discussion is about sharing a Plan 9 term's mouse/keyboard with non-Plan 9 machines/displays. Obviously in a Plan 9 environment sharing is done with exportfs and building up the namespace. On Sat, Sep 4, 2021 at 2:57 PM Stuart Morrow <morrow.stuart@gmail.com> wrote: > > On 04/09/2021, hiro <23hiro@gmail.com> wrote: > > it's worth doing the plan9 specific protocol anyway. > > mainly bec. it could be very simple to implement, between multiple > > plan9, given that /dev/mouse is already network transparent. > > I can't think how Plan 9 would work as a server (as in, the machine > with the mouse plugged in) for this (either for Synergy or an > invented-here thing). /dev/mouse doesn't emit when you're off the > screen. Maybe this is even the reason cinap never did a server, only > a client. ------------------------------------------ 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/Td6b6b3e98268ecde-Mbf8c3614007e6ddae6c9c865 Delivery options: https://9fans.topicbox.com/groups/9fans/subscription ^ permalink raw reply [flat|nested] 28+ messages in thread
* Re: [9fans] porting projects... 2021-09-06 17:12 ` Skip Tavakkolian @ 2021-09-06 19:32 ` Stuart Morrow 2021-09-06 19:47 ` Paul Lalonde 2021-09-06 22:17 ` hiro 0 siblings, 2 replies; 28+ messages in thread From: Stuart Morrow @ 2021-09-06 19:32 UTC (permalink / raw) To: 9fans On 06/09/2021, Skip Tavakkolian <skip.tavakkolian@gmail.com> wrote: > To be clear, the discussion is about sharing a Plan 9 term's > mouse/keyboard with non-Plan 9 machines/displays. I know. See previous post. > The usual way is to layer file-servers to build up the namespace that > you need. I know. > The extended (freerange?) mouse would keep track of off-screen > movement and forward them to clients. How's it supposed use information the operating system doesn't give it. When I have said /dev/mouse and screen in this thread, I've meant #m/mouse and the actual display. ------------------------------------------ 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/Td6b6b3e98268ecde-Md8f90f0b6e082ea14a351510 Delivery options: https://9fans.topicbox.com/groups/9fans/subscription ^ permalink raw reply [flat|nested] 28+ messages in thread
* Re: [9fans] porting projects... 2021-09-06 19:32 ` Stuart Morrow @ 2021-09-06 19:47 ` Paul Lalonde 2021-09-06 20:12 ` Stuart Morrow 2021-09-06 22:09 ` ori 2021-09-06 22:17 ` hiro 1 sibling, 2 replies; 28+ messages in thread From: Paul Lalonde @ 2021-09-06 19:47 UTC (permalink / raw) To: 9fans [-- Attachment #1: Type: text/plain, Size: 1053 bytes --] It does look like this would need raw mouse state to get the DX/Dy data instead of absolute screen positions. On Mon, Sep 6, 2021, 12:36 PM Stuart Morrow <morrow.stuart@gmail.com> wrote: > On 06/09/2021, Skip Tavakkolian <skip.tavakkolian@gmail.com> wrote: > > To be clear, the discussion is about sharing a Plan 9 term's > > mouse/keyboard with non-Plan 9 machines/displays. > > I know. See previous post. > > > The usual way is to layer file-servers to build up the namespace that > > you need. > I know. > > > The extended (freerange?) mouse would keep track of off-screen > > movement and forward them to clients. > > How's it supposed use information the operating system doesn't give it. > > When I have said /dev/mouse and screen in this thread, I've meant > #m/mouse and the actual display. ------------------------------------------ 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/Td6b6b3e98268ecde-M57c04c24bece9e2a94b3e355 Delivery options: https://9fans.topicbox.com/groups/9fans/subscription [-- Attachment #2: Type: text/html, Size: 2438 bytes --] ^ permalink raw reply [flat|nested] 28+ messages in thread
* Re: [9fans] porting projects... 2021-09-06 19:47 ` Paul Lalonde @ 2021-09-06 20:12 ` Stuart Morrow 2021-09-06 20:26 ` Paul Lalonde 2021-09-06 22:09 ` ori 1 sibling, 1 reply; 28+ messages in thread From: Stuart Morrow @ 2021-09-06 20:12 UTC (permalink / raw) To: 9fans On 06/09/2021, Paul Lalonde <paul.a.lalonde@gmail.com> wrote: > It does look like this would need raw mouse state to get the DX/Dy data > instead of absolute screen positions. You could detect when it's at the edge, make it invisible (as screenlock does), make it visible (on the box that doesn't have the mouse plugged in), and warp it to the centre so subsequent movements still give m-messages. ------------------------------------------ 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/Td6b6b3e98268ecde-M06cc3f0752daac885bf6dad9 Delivery options: https://9fans.topicbox.com/groups/9fans/subscription ^ permalink raw reply [flat|nested] 28+ messages in thread
* Re: [9fans] porting projects... 2021-09-06 20:12 ` Stuart Morrow @ 2021-09-06 20:26 ` Paul Lalonde 2021-09-06 21:50 ` Steve Simon 0 siblings, 1 reply; 28+ messages in thread From: Paul Lalonde @ 2021-09-06 20:26 UTC (permalink / raw) To: 9fans [-- Attachment #1: Type: text/plain, Size: 857 bytes --] Do the other platforms do their own acceleration management? That makes you want to feed deltas instead of absolutes. On Mon, Sep 6, 2021, 1:13 PM Stuart Morrow <morrow.stuart@gmail.com> wrote: > On 06/09/2021, Paul Lalonde <paul.a.lalonde@gmail.com> wrote: > > It does look like this would need raw mouse state to get the DX/Dy data > > instead of absolute screen positions. > > > You could detect when it's at the edge, make it invisible (as > screenlock does), make it visible (on the box that doesn't have the > mouse plugged in), and warp it to the centre so subsequent movements > still give m-messages. ------------------------------------------ 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/Td6b6b3e98268ecde-M8e1810d2216ae4d0ba3ac5c9 Delivery options: https://9fans.topicbox.com/groups/9fans/subscription [-- Attachment #2: Type: text/html, Size: 2196 bytes --] ^ permalink raw reply [flat|nested] 28+ messages in thread
* Re: [9fans] porting projects... 2021-09-06 20:26 ` Paul Lalonde @ 2021-09-06 21:50 ` Steve Simon 0 siblings, 0 replies; 28+ messages in thread From: Steve Simon @ 2021-09-06 21:50 UTC (permalink / raw) To: 9fans mouse sharing is not end, there is also cut and paste integration - relatively easy but not to be forgotten. i think you could also play some fun tricks with drag and drop on other os’s passing a (modified) path to the plumber (/n/remote-host/file-path). finally plumbing a url on plan9 could open a modern browser in the commodity os. personal view… overall such integration would make plan9 usable as a desktop again for me. previously i had a work windows box via remote desktop. this allowed me to use plan9 as my primary desktop but switch into rd ehen i needed. now i have a work mac and vnc from the mac does not work as well. thankfully p9p makes life bearable but i feel dishonest. -Steve ------------------------------------------ 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/Td6b6b3e98268ecde-M868413a2e84dc268a34a51a9 Delivery options: https://9fans.topicbox.com/groups/9fans/subscription ^ permalink raw reply [flat|nested] 28+ messages in thread
* Re: [9fans] porting projects... 2021-09-06 19:47 ` Paul Lalonde 2021-09-06 20:12 ` Stuart Morrow @ 2021-09-06 22:09 ` ori 1 sibling, 0 replies; 28+ messages in thread From: ori @ 2021-09-06 22:09 UTC (permalink / raw) To: 9fans Quoth Paul Lalonde <paul.a.lalonde@gmail.com>: > It does look like this would need raw mouse state to get the DX/Dy data > instead of absolute screen positions. It's a little ugly, but the same mouse warping hack that quake uses will serve here. ------------------------------------------ 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/Td6b6b3e98268ecde-M6b75ddf1d87a72b07f2b1d1c Delivery options: https://9fans.topicbox.com/groups/9fans/subscription ^ permalink raw reply [flat|nested] 28+ messages in thread
* Re: [9fans] porting projects... 2021-09-06 19:32 ` Stuart Morrow 2021-09-06 19:47 ` Paul Lalonde @ 2021-09-06 22:17 ` hiro 2021-09-20 1:23 ` Conor Williams 1 sibling, 1 reply; 28+ messages in thread From: hiro @ 2021-09-06 22:17 UTC (permalink / raw) To: 9fans > How's it supposed use information the operating system doesn't give it. > > When I have said /dev/mouse and screen in this thread, I've meant > #m/mouse and the actual display. for a second i actually forgot about #m having absolute coordinates, but as later mails explain there's the warping hack to get around the mouse escaping the allowed screen coordinates :D ------------------------------------------ 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/Td6b6b3e98268ecde-Mfaa75c70fb73f80461c1810b Delivery options: https://9fans.topicbox.com/groups/9fans/subscription ^ permalink raw reply [flat|nested] 28+ messages in thread
* Re: [9fans] porting projects... 2021-09-06 22:17 ` hiro @ 2021-09-20 1:23 ` Conor Williams 2021-09-20 7:57 ` Jens Staal 0 siblings, 1 reply; 28+ messages in thread From: Conor Williams @ 2021-09-20 1:23 UTC (permalink / raw) To: 9fans [-- Attachment #1.1: Type: text/plain, Size: 1756 bytes --] nethack: d in 32-bit code (0x7bc511f9). Register dump: CS:0073 SS:007b DS:007b ES:007b FS:003b GS:0033 EIP:7bc511f9 ESP:0032f4bc EBP:0032f530 EFLAGS:00000212( - -- I -A- - ) EAX:007e2974 EBX:7bcdbcb4 ECX:00000017 EDX:1db10000 ESI:0032f4d4 EDI:0032fa88 Stack dump: 0x0032f4bc: 7bc7cc55 00000002 7bc511d3 00000000 0x0032f4cc: 7bc7cc43 7bce5a60 80000100 00000001 0x0032f4dc: 00000000 7bc511f9 00000002 007e29ba 0x0123:solvedissues.000webhostapp.com /c:20212009 0x0032f4ec: 007e2974 00000000 00000000 7bc9c60b 0x0032f4fc: 7bcdbcb4 00000000 0013ac60 0032f628122:li 0x0032f50c: 7bc470c9 0000000a 0013ac60 00001000 Backtrace: =>0 0x7bc511f9 (0x0032f530) 1 0x0033000f (0x0032fa88) 2 0x0066edc9 in nethack (+0x26edc8) (0x0032fa94) 3 0x0066ffe2 in nethack (+0x26ffe1) (0x0032fae8) 4 0x00404fa6 in nethack (+0x4fa5) (0x0032faf0) 5 0x004028c6 in nethack (+0x28c5) (0x0032fe34) 6 0x0067f1e3 in nethack (+0x27f1e2) (0x0032fe54) 7 0x0067f0b7 in nethack (+0x27f0b6) (0x0032feb0) 8 0x0067ef5d in nethack (+0x27ef5c) (0x0032feb8) On Mon, Sep 6, 2021 at 10:18 PM hiro <23hiro@gmail.com> wrote: > > How's it supposed use information the operating system doesn't give it. > > > > When I have said /dev/mouse and screen in this thread, I've meant > > #m/mouse and the actual display. > > for a second i actually forgot about #m having absolute coordinates, > but as later mails explain there's the warping hack to get around the > mouse escaping the allowed screen coordinates :D ------------------------------------------ 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/Td6b6b3e98268ecde-Mef5dea52be91e821c3dd4b75 Delivery options: https://9fans.topicbox.com/groups/9fans/subscription [-- Attachment #1.2: Type: text/html, Size: 3314 bytes --] [-- Attachment #2: Screenshot_2021-09-20_01-19-51.png --] [-- Type: image/png, Size: 737612 bytes --] ^ permalink raw reply [flat|nested] 28+ messages in thread
* Re: [9fans] porting projects... 2021-09-20 1:23 ` Conor Williams @ 2021-09-20 7:57 ` Jens Staal 2021-09-20 8:10 ` Conor Williams 0 siblings, 1 reply; 28+ messages in thread From: Jens Staal @ 2021-09-20 7:57 UTC (permalink / raw) To: 9fans On Mon, Sep 20, 2021 at 01:23:05AM +0000, Conor Williams wrote: > nethack: > d in 32-bit code (0x7bc511f9). I am confused. Why did you attach a WINE debugger screenshot on Peppermint Linux? ------------------------------------------ 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/Td6b6b3e98268ecde-M4de15c568b96084f0f35fd00 Delivery options: https://9fans.topicbox.com/groups/9fans/subscription ^ permalink raw reply [flat|nested] 28+ messages in thread
* Re: [9fans] porting projects... 2021-09-20 7:57 ` Jens Staal @ 2021-09-20 8:10 ` Conor Williams 0 siblings, 0 replies; 28+ messages in thread From: Conor Williams @ 2021-09-20 8:10 UTC (permalink / raw) To: 9fans [-- Attachment #1: Type: text/plain, Size: 603 bytes --] ah man i was so so drunk check outta the c:20212009 register preceding /c:taloyama On Mon, Sep 20, 2021 at 7:58 AM Jens Staal <staal1978@gmail.com> wrote: > On Mon, Sep 20, 2021 at 01:23:05AM +0000, Conor Williams wrote: > > nethack: > > d in 32-bit code (0x7bc511f9). > > I am confused. Why did you attach a WINE debugger screenshot on > Peppermint Linux? > ------------------------------------------ 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/Td6b6b3e98268ecde-M58345db1d1315d0d42fc643f Delivery options: https://9fans.topicbox.com/groups/9fans/subscription [-- Attachment #2: Type: text/html, Size: 1834 bytes --] ^ permalink raw reply [flat|nested] 28+ messages in thread
* Re: [9fans] porting projects... 2021-09-03 23:49 [9fans] porting projects Conor Williams ` (3 preceding siblings ...) 2021-09-04 9:22 ` Steve Simon @ 2021-09-04 14:22 ` ori 4 siblings, 0 replies; 28+ messages in thread From: ori @ 2021-09-04 14:22 UTC (permalink / raw) To: 9fans Quoth Conor Williams <conor.williams@gmail.com>: > anyone got a list/one project to work on... > i'm not too shoddy at the auld porting etc...cw Find something you want to use, and make it work. ------------------------------------------ 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/Td6b6b3e98268ecde-Me2c1e9564408f21d43f3534b Delivery options: https://9fans.topicbox.com/groups/9fans/subscription ^ permalink raw reply [flat|nested] 28+ messages in thread
end of thread, other threads:[~2021-09-20 8:10 UTC | newest] Thread overview: 28+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2021-09-03 23:49 [9fans] porting projects Conor Williams 2021-09-04 3:23 ` Lucio De Re 2021-09-04 3:50 ` Jens Staal 2021-09-04 5:41 ` Conor Williams 2021-09-04 8:04 ` Philip Silva via 9fans 2021-09-04 15:24 ` Sigrid Solveig Haflínudóttir 2021-09-05 7:53 ` Philip Silva via 9fans 2021-09-04 9:22 ` Steve Simon 2021-09-04 16:17 ` hiro 2021-09-04 18:55 ` Michael Misch 2021-09-04 20:35 ` Steve Simon 2021-09-04 21:15 ` hiro 2021-09-04 21:56 ` Stuart Morrow 2021-09-05 6:16 ` Conor Williams 2021-09-05 8:11 ` hiro 2021-09-06 11:29 ` cinap_lenrek 2021-09-06 17:12 ` Skip Tavakkolian 2021-09-06 19:32 ` Stuart Morrow 2021-09-06 19:47 ` Paul Lalonde 2021-09-06 20:12 ` Stuart Morrow 2021-09-06 20:26 ` Paul Lalonde 2021-09-06 21:50 ` Steve Simon 2021-09-06 22:09 ` ori 2021-09-06 22:17 ` hiro 2021-09-20 1:23 ` Conor Williams 2021-09-20 7:57 ` Jens Staal 2021-09-20 8:10 ` Conor Williams 2021-09-04 14:22 ` ori
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).