1

I've started a telnet session (ex.: telnet ip port) and I'm wondering if anyone knows how to send the escape char so that I can get the telnet> prompt back.

I've already found this, but it seems like it's not working. Btw, I'm using the Portuguese (pt-PT) keyboard layout.

Thanks.

1 Answers1

0

You can use the free AutoHotkey.

The following AutoHotkey script will send Esc when Ctrl+y is pressed (any other character can be used):

^y::send, {Esc}

After installing AutoHotKey, put the script in a .ahk file and double-click it to test. You may stop the script by right-click on the green H icon in the traybar and choosing Exit. To have it run on login, place it in the Startup group at C:\Users\USER-NAME\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup.

Useful AutoHotkey documentation:

harrymc
  • 498,455