Programming

ASCII Control Codes

Control Code To Enter With Echo
AbbreviationFull Name DecHex Alt-KeyCtrl-Key
NULNull000 Ctrl-@^@
SOHStart of heading101Alt-1Ctrl-A^A
STXStart of text202Alt-2Ctrl-B^B
ETXEnd of text303Alt-3Ctrl-C^C
EOTEnd of transmission404Alt-4Ctrl-D^D
ENQEnquiry505Alt-5Ctrl-E^E
ACKAcknowledge606Alt-6Ctrl-F^F
BELBell707Alt-7Ctrl-G^G
BSBackspace808Alt-8Ctrl-H^H
HTHorizontal tab909Alt-9Ctrl-I^I
LFLine feed100AAlt-10Ctrl-J^J
VTVertical tab110BAlt-11Ctrl-K^K
FFForm feed120CAlt-12Ctrl-L^L
CRCarriage return130DAlt-13Ctrl-M^M
SOShift out140EAlt-14Ctrl-N^N
SIShift in150FAlt-15Ctrl-O^O
DLEData line escape1610Alt-16Ctrl-P^P
DC1Device control 11711Alt-17Ctrl-Q^Q
DC2Device control 21812Alt-18Ctrl-R^R
DC3Device control 31913Alt-19Ctrl-S^S
DC4Device control 42014Alt-20Ctrl-T^T
NAKNegative acknowledge2115Alt-21Ctrl-U^U
SYNSynchronous idle2216Alt-22Ctrl-V^V
ETBEnd transmission block2317Alt-23Ctrl-W^W
CANCancel2418Alt-24Ctrl-X^X
EMEnd of medium2519Alt-25Ctrl-Y^Y
SUBSubstitute261AAlt-26Ctrl-Z^Z
ESCEscape271BAlt-27Ctrl-[^[
FSFile separator281CAlt-28Ctrl-\^\
GSGroup separator291DAlt-29Ctrl-]^]
RSRecord separator301EAlt-30Ctrl-^^^
USUnit separator311FAlt-31Ctrl-_^_


ASCII Control Codes For Action Keys

Action KeyCtrl-Alt-
Ctrl-BreakCtrl-CAlt-3
BackspaceCtrl-HAlt-8
TabCtrl-IAlt-9
EnterCtrl-MAlt-13
Ctrl-PrtScrnCtrl-PAlt-16
Ctrl-NumLockCtrl-SAlt-19
F6Ctrl-ZAlt-26


[  Index  |  Technical Notes Page  ]

This page is for INFORMATIONAL PURPOSES ONLY.

Page author: Dawn Rorvik (rorvikd@evergreen.edu)
Last modified: 02/06/1999