Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I need send next escape sequence through COM port.

^[[LD 

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
add comment

2 Answers

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
add comment

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
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.