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.
Norco, CA WX: 74.3øF, 60.0% humidity, 13 mph E wind, 0.00 inches rain/24hrs
--- SBBSecho 3.11-Linux
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
|