Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I need send next escape sequence through COM port.


NOTE (from manual) Pressing "Ctrl-v", "Ctrl-[" on keyboard will generate the "^[" escape sequence. In some file systems, the escape sequences may not appear on the serial console but the input will still reach the character LCD.

Which combinations of keyboard's buttons should I use to generate above-stated escape sequence? Which virtual terminals need I use for this purpose? I have PuTTy and TeraTerm in Windows 7.

share|improve this question
up vote 0 down vote accepted

^[ represents the Ctrl+[ keys, and is also equivalent to Esc on VT100-compatible terminals. The rest – [LD – are just literal characters.

Press Esc, [, L, D to send the sequence in PuTTY, TeraTerm or any other terminal emulator.

(Another version is Ctrl+[, [, L, D.)

share|improve this answer

Teraterm has script language you can use. send 31 will send an escape. I suspect you can assign macros to function keys.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .