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?
VT200(?)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?
Hey Rob,
I'd be happy to (try to) help!
The latest NetRunner is beta 19 which uses either XTERM(?) or maybe
mouse support. I used whatever the default was in PUTTY at the time so that it'd be compatible with Mystic "out of the box".
I used to have a bookmark that had a reference but I can't seem to find it at the moment. I read through my code and I did have some source codenotes
that I can pass along, and a chunk of code from PUTTY that can be used as a reference to its various mouse modes.
(Some observations that I just made by looking at my code:)
(It looks like the X/Y coordinates are just the ascii character corresponding to the X/Y coordinate with with +32 added to it to avoid conflict with low ascii control characters.
So coordinates 1, 1 would be
represented as Ascii#33;Ascii#33.
This means its limited to a terminal size
of 223x223 though which is something I overlooked at the time.
It alsoUnix
looks like Mystic sends esc[?1000h to the Unix terminal when running in
to enable mouse reporting, so that seems like a clue we can Google to find out officially what it is.
NetRunner also translates a wheel spin to either
the up or down arrow ANSI escape sequence for max usefulness with non-mouse-aware BBSes)
I have netrunner2 beta 18 which seems to still the latest available for download from http://mysticbbs.com/downloads.html. Is there some other download location for beta 19?
Yup, that jives with xterm and the "X10 compatibilityi mode" in the relevant docs I've located.
This means its limited to a terminal size
of 223x223 though which is something I overlooked at the time.
Which is why the SGR-extended encoding is preferred. You can combine SGR-extended encoding (esc[?1006h) with the other mouse protocol modes.
forI have netrunner2 beta 18 which seems to still the latest available
thedownload from http://mysticbbs.com/downloads.html. Is there some other download location for beta 19?
Yes, and I don't know why but for whatever reason I just haven't updated
webpage for NetRunner in the past couple of years.one
You can get beta 19 at http://www.mysticbbs.com/downloads/prealpha/ there should be nr*.* files for Linux and Windows.
I don't know when I switched over to whatever Mystic is using now but at
point Mystic's mouse was different than whatever it is doing now. Beta 19 would be the best bet. I'll have to get around to updating the websitetoo.
modes.Yup, that jives with xterm and the "X10 compatibilityi mode" in the relevant docs I've located.
This means its limited to a terminal size
of 223x223 though which is something I overlooked at the time.
Which is why the SGR-extended encoding is preferred. You can combine SGR-extended encoding (esc[?1006h) with the other mouse protocol
Makes sense. At the time I don't think 233x233 was even on my radar so I just used whatever Putty was sending out for compatibility.
These days my screen IO library supports up to 65535 x 65535 (obviously untested lol) so I am not opposed to changing the mouse mode it uses to be more compatible.
Unfortunately, right-click and middle-click don't work (these are used, for example, in my Minesweeper game). But it's much better.
Cool. Another thing I noticed in Netrunner2, the num pad keys always
send the digits, never the cursor control (home/end/up/down/left/right) sequences, regardless of the NumLock status. Just thought I'd mention it,
Hey Rob,my
Totally OT from what you and g00r00 were discussing, but I spoke with Rick Parrish and he mentioned being able to pass inbound IP addresses with fTelnet. I did a terrible job relaying info to g00r00, but I noticed Synchronet has the ability to make use of this IP info. When I connect to
Mystic board through fTelnet it always appears to be my wss server, 127.0.0.1. Any chance you can help shed light on how this works?
Totally OT from what you and g00r00 were discussing, but I spoke with
Rick Parrish and he mentioned being able to pass inbound IP addresses
with fTelnet. I did a terrible job relaying info to g00r00, but I noticed
Cool. Another thing I noticed in Netrunner2, the num pad keys always
send the digits, never the cursor control (home/end/up/down/left/right) sequences, regardless of the NumLock status. Just thought I'd mention it,
Hey Rob just to let you know I updated NetRunner to honor numlock cursor controls for the arrows, insert, delete, home, end, pgup/down.of
I'll hopefully get around to some mouse updates for middle/right soon, and then I'll finally update the webpage with that version after like 3 years
not doing it lol.
Synchronet accepts the "LOCATION" and "LOCATION NUMBER" Telnet options from the
client. fTelnet sends the client's IP address to the server using these options.
I did write the code to handle telnet send-location, but I haven't gotten around to installing fTelnet to test it with yet. I'll try to get that done sometime soon.
Hey Rob just to let you know I updated NetRunner to honor numlock cursor controls for the arrows, insert, delete, home, end, pgup/down.
curHey Rob just to let you know I updated NetRunner to honor numlock
controls for the arrows, insert, delete, home, end, pgup/down.
Nice. Will have to go download. Was having problems testing some older software using doorway and it was crapping out because of the cursor controls. That may be the fix I was looking for.
Unless you were specifically trying to use the number pad instead of the arrow keys/home/end/page keys, you probably won't experience anything different than you did before.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 374 |
Nodes: | 16 (2 / 14) |
Uptime: | 131:01:41 |
Calls: | 7,956 |
Calls today: | 1 |
Files: | 13,008 |
Messages: | 5,812,917 |