I'm not even sure how to describe this so I'm going to do a video. Essentially, when clicking on a menu hotspot, junk from the mouseclick is sent, causing the program that was called to run then exit.
Since gitlab wont accept .asc files, I've just uploaded them to vert: eotl_email.asc eotl_forums.asc
Yes, I could rename them, but also giblab could accept them :)
In my email section if I click S to send, then I get this in the log
Jun 22 00:59:16 bbs synchronet: term Node 1 SGR Mouse button-click (0x00) reported at: 9 x 11
Jun 22 00:59:16 bbs synchronet: term Node 1 Stuffing hot spot command into keybuf: 'S'
Jun 22 00:59:16 bbs synchronet: term Node 1 append key into keybuf: 53 (S)
Jun 22 00:59:16 bbs synchronet: term Node 1 Executing external: ?/sbbs/xtrn/addressbook/addressbook.js
Jun 22 00:59:16 bbs synchronet: term Node 1 SGR Mouse button-click (0x00) reported at: 9 x 11
Jun 22 00:59:16 bbs synchronet: term Node 1 Eating SGR mouse report: 'ESC[<0;10;12m'
However if I go with R to read
Jun 22 00:59:37 bbs synchronet: term Node 1 SGR Mouse button-click (0x00) reported at: 45 x 11
Jun 22 00:59:37 bbs synchronet: term Node 1 Stuffing hot spot command into keybuf: 'R'
Jun 22 00:59:37 bbs synchronet: term Node 1 append key into keybuf: 52 (R)
Jun 22 00:59:37 bbs synchronet: term Node 1 Executing external: ?../xtrn/DDMsgReader/DDMsgReader.js 0 1 0
Jun 22 00:59:38 bbs synchronet: term Node 1 Scrolled 6 mouse hot-spots 1 rows (6 remain)
Jun 22 00:59:38 bbs synchronet: term Node 1 insert key into keybuf: 3C (<)
Jun 22 00:59:38 bbs synchronet: term Node 1 insert key into keybuf: 5B ([)
rather than eating the mouse input, it's scrolling the mouse and pasting characters into the buffer.
case 'R': // Read your mail bbs.read_mail(MAIL_YOUR, user.number); break; case 'S': // Send Mail case 'N': // Send Mail bbs.exec("?/sbbs/xtrn/addressbook/addressbook.js"); break;
One is using the built in bbs.read_mail which will eventually go off and call DDMsgReader.js the other is a direct bbs.exec which seems to work fine in this instance.
Jun 25 22:34:15 bbs synchronet: term Node 1 SGR Mouse button (0x00) PRESS reported at: 31 x 10
Jun 25 22:34:15 bbs synchronet: term Node 1 Stuffing hot spot command into keybuf: 'J'
Jun 25 22:34:15 bbs synchronet: term Node 1 append key into keybuf: 4A (J)
Jun 25 22:34:15 bbs synchronet: term Node 1 SGR Mouse button (0x00) RELEASE reported at: 31 x 10
Jun 25 22:34:15 bbs synchronet: term Node 1 Eating SGR mouse report: 'ESC[<0;32;11m'
It's still not "eating" the characters.
From IRC:
[05:09] <nelgin> Jun 25 05:05:23 bbs synchronet: term Node 2 <Nelgin> SGR Mouse button-click (0x00) reported at: 6 x 11[05:09] <nelgin> Jun 25 05:05:23 bbs synchronet: term Node 2 <Nelgin> Eating SGR mouse report: 'ESC[<0;7;12m'[05:09] <nelgin> ---[05:09] <nelgin> When clicking on something that executes an external program:[05:10] <nelgin> Jun 25 05:07:03 bbs synchronet: term Node 2 <Nelgin> append key into keybuf: 4A (J)[05:10] <nelgin> Jun 25 05:07:03 bbs synchronet: term Node 2 <Nelgin> Executing external: ?../xtrn/DDAreaChoosers/DDMsgAreaChooser.js[05:10] <nelgin> Jun 25 05:07:03 bbs synchronet: term Node 2 <Nelgin> insert key into keybuf: 3C (<)[05:10] <nelgin> Jun 25 05:07:03 bbs synchronet: term Node 2 <Nelgin> insert key into keybuf: 5B ([)[05:10] <nelgin> Jun 25 05:07:03 bbs synchronet: term Node 2 <Nelgin> insert key into keybuf: 30 (0)[05:10] <nelgin> All that junk is sent to the external program. Whatever you to do "eat SGR mouse reports" needs to be done before executing an external program, it seems.