Subj : Mouse support in Netrunner2 (or Mystic?)
To   : All
From : Rob Swindell
Date : Sun May 17 2020 05:51 pm

So I was playing with mouse support in Synchronet. It works great with xterm and SyncTERM using the X10 mouse protocol with either the legacy encoding (e.g. coordinates of 1,1 is encoded as '!!') or the preferred SGR-extended encoding (e.g. where coordinates 1,1 is encoded as '1;1'). Left-button presses are encoded as space (0x20) in legacy encoding and '0' in SGR-extended encoding.

This is an example upper-left left-button click in SGR-extended encoding X10 compatible mouse mode:
27 1b
91 5b '['
60 3c '<'
48 30 '0'
59 3b ';'
49 31 '1'
59 3b ';'
49 31 '1'
77 4d 'M'

And this is the legacy encoding of the same thing (limiting the size of the terminal screen):
27 1b
91 5b '['
77 4d 'M'
32 20 ' '
33 21 '!'
33 21 '!'

Here's a good reference:
https://invisible-island.net/xterm/ctlseqs/ctlseqs.pdf

However, when testing with Netrunner2, an upper-left left-button click sends this:
27 1b
91 5b '['
77 4d 'M'
48 30 '0'
41 29 ')'
41 29 ')'

What mouse protocol is this and do you have a reference document?

                                           digital man

Synchronet "Real Fact" #102:
Alternate and loadable font support was added to Synchronet in February 2018.