| 1 |
# This file is part of the Detox package. |
| 2 |
# |
| 3 |
# Copyright (c) Doug Harple <[email protected]> |
| 4 |
# |
| 5 |
# For the full copyright and license information, please view the LICENSE |
| 6 |
# file that was distributed with this source code. |
| 7 |
|
| 8 |
# |
| 9 |
# This file holds the escape sequences needed to escape all characters between |
| 10 |
# 0x01 and 0x7F. |
| 11 |
# |
| 12 |
|
| 13 |
start |
| 14 |
|
| 15 |
0x01 \x01 # SOH (start of heading) |
| 16 |
0x02 \x02 # STX (start of text) |
| 17 |
0x03 \x03 # ETX (end of text) |
| 18 |
0x04 \x04 # EOT (end of transmission) |
| 19 |
0x05 \x05 # ENQ (enquiry) |
| 20 |
0x06 \x06 # ACK (acknowledge) |
| 21 |
0x07 \a # BEL '\a' (bell) |
| 22 |
0x08 \b # BS '\b' (backspace) |
| 23 |
0x09 \t # HT '\t' (horizontal tab) |
| 24 |
0x0a \n # LF '\n' (new line) |
| 25 |
0x0b \v # VT '\v' (vertical tab) |
| 26 |
0x0c \f # FF '\f' (form feed) |
| 27 |
0x0d \r # CR '\r' (carriage ret) |
| 28 |
0x0e \x0e # SO (shift out) |
| 29 |
0x0f \x0f # SI (shift in) |
| 30 |
0x10 \x10 # DLE (data link escape) |
| 31 |
0x11 \x11 # DC1 (device control 1) |
| 32 |
0x12 \x12 # DC2 (device control 2) |
| 33 |
0x13 \x13 # DC3 (device control 3) |
| 34 |
0x14 \x14 # DC4 (device control 4) |
| 35 |
0x15 \x15 # NAK (negative ack.) |
| 36 |
0x16 \x16 # SYN (synchronous idle) |
| 37 |
0x17 \x17 # ETB (end of trans. blk) |
| 38 |
0x18 \x18 # CAN (cancel) |
| 39 |
0x19 \x19 # EM (end of medium) |
| 40 |
0x1a \x1a # SUB (substitute) |
| 41 |
0x1b \x1b # ESC (escape) |
| 42 |
0x1c \x1c # FS (file separator) |
| 43 |
0x1d \x1d # GS (group separator) |
| 44 |
0x1e \x1e # RS (record separator) |
| 45 |
0x1f \x1f # US (unit separator) |
| 46 |
|
| 47 |
0x22 '\"' # " |
| 48 |
|
| 49 |
0x27 "\'" # ' |
| 50 |
|
| 51 |
0x3F \? # ? |
| 52 |
|
| 53 |
0x5c \\ # \ |
| 54 |
|
| 55 |
0x7f \x7f # DEL |
| 56 |
|
| 57 |
end |