Telnet broken?

2023-02-10 Thread Nathan Hartman
I have a board configured with NSH_TELNET and trying to understand why I get garbage in telnet... It prints "NuttShell" and the prompt correctly, but then prints ^[[62;6R. I don't know how to interpret that. Hex 62? But what is 6R? After that, anything I type gets copied back but no other output is

Re: Telnet broken?

2023-02-10 Thread Gregory Nutt
Looks like a terminal control sequence.  Most of the VT100 commands begin with every prompt like "nsh> " is followed by a VT100 clear to end of line command. Do you have VT100 support enabled in your terminal? On 2/10/2023 10:54 AM, Nathan Hartman wrote: I have a board configured with NSH_TEL

Re: Telnet broken?

2023-02-10 Thread Nathan Hartman
I think so. I'm using Konsole and I'm pretty sure this worked before. What's surprising is that the board boots fine, finds its IP address through DHCP, prints the NSH title and prompt... only then does it get messed up. It consistently printed the same junk except once, when it printed ^[[7;6R ins

Re: Telnet broken?

2023-02-10 Thread Gregory Nutt
On 2/10/2023 2:24 PM, Nathan Hartman wrote: I think so. I'm using Konsole and I'm pretty sure this worked before. What's surprising is that the board boots fine, finds its IP address through DHCP, prints the NSH title and prompt... only then does it get messed up. ... That is the point in time

Re: Telnet broken?

2023-02-10 Thread Gregory Nutt
Do you have CLE enabled?  Do you normally use CLE?  Or readline? An error that I made below is that I said the command is that the ESC [ pl;pc R command sets the cursor position.  That is wrong.  It reports the cursor position in response to ESC [ 6 n get cursor command. CLE uses the get curs

Re: Telnet broken?

2023-02-10 Thread Nathan Hartman
You know what, I think that might be it. I think I did notice that CLE was enabled and didn't think about it. Let me look into it... On Fri, Feb 10, 2023 at 3:57 PM Gregory Nutt wrote: > Do you have CLE enabled? Do you normally use CLE? Or readline? > > An error that I made below is that I sai

Re: Telnet broken?

2023-02-10 Thread Gregory Nutt
On 2/10/2023 3:19 PM, Nathan Hartman wrote: You know what, I think that might be it. I think I did notice that CLE was enabled and didn't think about it. Let me look into it... Even if that is the case, it is still and error if the escape sequence from the host appears on the NSH console.  It