You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I am playing around with this library and trying to get it running within a Telnet server so I can have people connect via a terminal app.
When using the input example with autocomplete I get a lot NaN returns after pressing enter. I have made a little video showing. Initially I was using putty but that was all over the place and the input was jumping to the top of the page. I then looked at ZOC Terminal.
Is this library not really meant for remote connections? Do I need a better telnet library to run my server in Node? Do you recommend? I have also added a link to my code.
@cherbert It should works, but there is something wrong with some escape sequences.
Unfortunately, it's hard to tell from the video alone...
I could probably fix the NaN thing, but if that appears, it means the escape sequence could not be parsed properly, which means it would break anyway.
To be honest, I can't even say which part of the stack is at fault: it could be your terminal MidnightBlue, or the Node.js telnet module you are using. Also I'm not very familiar with telnet nowadays, but I tested the lib through SSH, and it was OK.
cronvel
changed the title
NaN garbage after pressing enter
Telnet: NaN garbage after pressing enter
Sep 8, 2022
Hi, I am playing around with this library and trying to get it running within a Telnet server so I can have people connect via a terminal app.
When using the input example with autocomplete I get a lot NaN returns after pressing enter. I have made a little video showing. Initially I was using putty but that was all over the place and the input was jumping to the top of the page. I then looked at ZOC Terminal.
Is this library not really meant for remote connections? Do I need a better telnet library to run my server in Node? Do you recommend? I have also added a link to my code.
https://pastebin.com/KZ5zQmdn
ezgif.com-gif-maker.mp4
The text was updated successfully, but these errors were encountered: