uLib  User mode C/C++ extended API library for Win32 programmers.
Control Characters

Module Description

Full set of control characters.
_SOH to _SUB can be entered by keyboard as Ctrl-A to Ctrl-Z (e.g. in cmd.exe)

Macros

#define _NUL   _T('\x00')
 
#define _SOH   '\x01'
 
#define _STX   '\x02'
 
#define _ETX   '\x03'
 
#define _EOT   '\x04'
 
#define _ENQ   '\x05'
 
#define _ACK   '\x06'
 
#define _BEL   '\x07'
 
#define _BS   '\x08'
 
#define _HT   '\x09'
 
#define _LF   '\x0A'
 
#define _VT   '\x0B'
 
#define _FF   '\x0C'
 
#define _CR   '\x0D'
 
#define _SO   '\x0E'
 
#define _SI   '\x0F'
 
#define _DLE   '\x10'
 
#define _DC1   '\x11'
 
#define _DC2   '\x12'
 
#define _DC3   '\x13'
 
#define _DC4   '\x14'
 
#define _NAK   '\x15'
 
#define _SYN   '\x16'
 
#define _ETB   '\x17'
 
#define _CAN   '\x18'
 
#define _EM   '\x19'
 
#define _SUB   '\x1A'
 
#define _ESC   '\x1B'
 
#define _FS   '\x1C'
 
#define _GS   '\x1D'
 
#define _RS   '\x1E'
 
#define _US   '\x1F'
 
#define _XON   _DC1
 
#define _XOFF   _DC3
 
#define _EOF   _SUB
 

Macro Definition Documentation

◆ _NUL

#define _NUL   _T('\x00')

0) Null character

Definition at line 1246 of file Common.h.

◆ _SOH

#define _SOH   '\x01'

1) Start of heading, = console interrupt

Definition at line 1248 of file Common.h.

◆ _STX

#define _STX   '\x02'

2) Start of text, maintenance mode on HP console

Definition at line 1249 of file Common.h.

◆ _ETX

#define _ETX   '\x03'

3) End of text

Definition at line 1250 of file Common.h.

◆ _EOT

#define _EOT   '\x04'

4) End of transmission, not the same as ETB

Definition at line 1251 of file Common.h.

◆ _ENQ

#define _ENQ   '\x05'

5) Enquiry, goes with ACK; old HP flow control

Definition at line 1252 of file Common.h.

◆ _ACK

#define _ACK   '\x06'

6) Acknowledge, clears ENQ logon hand

Definition at line 1253 of file Common.h.

◆ _BEL

#define _BEL   '\x07'

7) Bell, rings the bell... (Plays Windows' default beep)

Definition at line 1254 of file Common.h.

◆ _BS

#define _BS   '\x08'

8) Backspace, works on HP terminals/computers

Definition at line 1255 of file Common.h.

◆ _HT

#define _HT   '\x09'

9) Horizontal tab, move to next tab stop

Definition at line 1256 of file Common.h.

◆ _LF

#define _LF   '\x0A'

10) Line Feed

Definition at line 1257 of file Common.h.

◆ _VT

#define _VT   '\x0B'

11) Vertical tab

Definition at line 1258 of file Common.h.

◆ _FF

#define _FF   '\x0C'

12) Form Feed, page eject

Definition at line 1259 of file Common.h.

◆ _CR

#define _CR   '\x0D'

13) Carriage Return

Definition at line 1260 of file Common.h.

◆ _SO

#define _SO   '\x0E'

14) Shift Out, alternate character set

Definition at line 1261 of file Common.h.

◆ _SI

#define _SI   '\x0F'

15) Shift In, resume default character set

Definition at line 1262 of file Common.h.

◆ _DLE

#define _DLE   '\x10'

16) Data link escape (Used in e.g. Siemens 3964R)

Definition at line 1263 of file Common.h.

◆ _DC1

#define _DC1   '\x11'

17) XON, with XOFF to pause listings; ":okay to send".

Definition at line 1264 of file Common.h.

◆ _DC2

#define _DC2   '\x12'

18) Device control 2, block-mode flow control

Definition at line 1265 of file Common.h.

◆ _DC3

#define _DC3   '\x13'

19) XOFF, with XON is TERM=18 flow control

Definition at line 1266 of file Common.h.

◆ _DC4

#define _DC4   '\x14'

20) Device control 4

Definition at line 1267 of file Common.h.

◆ _NAK

#define _NAK   '\x15'

21) Negative acknowledge

Definition at line 1268 of file Common.h.

◆ _SYN

#define _SYN   '\x16'

22) Synchronous idle

Definition at line 1269 of file Common.h.

◆ _ETB

#define _ETB   '\x17'

23) End transmission block, not the same as EOT

Definition at line 1270 of file Common.h.

◆ _CAN

#define _CAN   '\x18'

24) Cancel line, MPE echoes !!!

Definition at line 1271 of file Common.h.

◆ _EM

#define _EM   '\x19'

25) End of medium, Control-Y interrupt

Definition at line 1272 of file Common.h.

◆ _SUB

#define _SUB   '\x1A'

26) Substitute (Ctrl-Z, used as EOF mark in DOS)

Definition at line 1273 of file Common.h.

◆ _ESC

#define _ESC   '\x1B'

27) Escape, next character is not echoed

Definition at line 1275 of file Common.h.

◆ _FS

#define _FS   '\x1C'

28) File separator

Definition at line 1276 of file Common.h.

◆ _GS

#define _GS   '\x1D'

29) Group separator

Definition at line 1277 of file Common.h.

◆ _RS

#define _RS   '\x1E'

30) Record separator, block-mode terminator

Definition at line 1278 of file Common.h.

◆ _US

#define _US   '\x1F'

32) Unit separator

Definition at line 1279 of file Common.h.

◆ _XON

#define _XON   _DC1

'Okay to send..'

Definition at line 1281 of file Common.h.

◆ _XOFF

#define _XOFF   _DC3

'Stop sending..'

Definition at line 1282 of file Common.h.

◆ _EOF

#define _EOF   _SUB

Old school end-of-file marker (Ctrl-Z)

Definition at line 1283 of file Common.h.