0

I'm using putty's plink command to login to serial console, when press up arrow key, 0x1b 0x5b 0x41 is expected to set to MCU and I can use the shell history. But it doesn't work, it's work in putty GUI.

I tried windows' cmd terminal, conEmu terminal and git bash terminal, all of them doesn't work.

Divlaker
  • 111
  • 3

1 Answers1

1

From plink documentation:

Plink is probably not what you want if you want to run an interactive session in a console window.


You probably need PuTTY, which is a real terminal capable of handling non-ASCII key strokes.

If you want to skip PuTTY's configuration GUI and launch it directly as a serial terminal from command line try something like:

C:\Putty\putty.exe -serial COM4 -sercfg 115200,8,n,1,X
jackhab
  • 3,212