This is an old revision of the document!
Table of Contents
Color Codes
Beyond Synchronet's own Ctrl-A codes for colors, there is support for a number of other color code definitions to use.
WWIV Format
Synchronet also supports Color Codes which are native to WWIV BBS software. These codes consist of a Control-C followed by a number (0 through 7):
Code | Color |
---|---|
0 | Normal |
1 | High Intensity Cyan |
2 | High Intensity Yellow |
3 | Normal Magenta |
4 | High Intensity White with Blue Background |
5 | Normal Green |
6 | High Intensity Blinking Red |
7 | High Intensity Blue |
8 | Low Intensity Blue |
9 | Low Intensity Cyan |
Celerity Format
Synchronet also supports Color Codes which are native to Celerity BBS software. These codes consist of a pipe symbol '|' followed by a letter (case sensitive):
Code | Color (foreground) |
---|---|
k | Normal Black |
b | Normal Blue |
g | Normal Green |
c | Normal Cyan |
r | Normal Red |
m | Normal Magenta |
y | Brown |
w | Normal White |
d | High Intensity Black |
B | High Intensity Blue |
G | High Intensity Green |
C | High Intensity Cyan |
R | High Intensity Red |
M | High Intensity Magenta |
Y | Yellow |
W | High Intensity White |
S | Swap foreground and background |
Example: “|b|S|W” would set the current color to high intensity white on a blue background.
Note: Due to conflicting escape sequences (namely, the pipe character), Celerity color codes are not supported when using RIP terminal mode.
Renegade Format
Synchronet also supports Color Codes which are native to Renegade BBS software. These codes consist of a pipe symbol '|' followed by a number (0-23):
Code | Color |
---|---|
0 | Normal Black |
1 | Normal Blue |
2 | Normal Green |
3 | Normal Cyan |
4 | Normal Red |
5 | Normal Magenta |
6 | Brown |
7 | Normal White |
8 | High Intensity Black |
9 | High Intensity Blue |
10 | High Intensity Green |
11 | High Intensity Cyan |
12 | High Intensity Red |
13 | High Intensity Magenta |
14 | Yellow |
15 | High Intensity White |
16 | Background Black |
17 | Background Blue |
18 | Background Green |
19 | Background Cyan |
20 | Background Red |
21 | Background Magenta |
22 | Background Brown |
23 | Background White |
Example: “|15|17” would set the current color to high intensity white on a blue background.
Note: Due to conflicting escape sequences (namely, the pipe character), Renegade color codes are not supported when using RIP terminal mode.
PCBoard / Wildcat Format
Two of the Color Code formats which Synchronet supports (PCBoard and Wildcat) use similar, yet cryptic, methods of displaying colors. The PCBoard method uses the format “@X<Background><Foreground>”, and Wildcat uses the format “@<Background><Foreground>@”. The following is a list of the Background and Foreground choices available:
<Background> | Color | Attribute | <Foreground> | Color | Attribute |
---|---|---|---|---|---|
0 | Black | Normal | 0 | Black | Normal |
1 | Blue | “ | 1 | Blue | ” |
2 | Green | “ | 2 | Green | ” |
3 | Cyan | “ | 3 | Cyan | “ |
4 | Red | ” | 4 | Red | “ |
5 | Magenta | ” | 5 | Magenta | ” |
6 | Brown | “ | 6 | Brown | ” |
7 | White | “ | 7 | White | ” |
8 | Black | Blinks Foreground | 8 | Black High Intensity | “ |
9 | Blue | ” | 9 | Blue | “ |
A | Green | ” | A | Green | “ |
B | Cyan | ” | B | Cyan | “ |
C | Red | ” | C | Red | “ |
D | Magenta | ” | D | Magenta | “ |
E | Brown | ” | E | Yellow | “ |
F | White | ” | F | White | “ |
Example: ”@1F@“ in Wildcat format and ”@X1F“ in PCBoard format would set the current color to high intensity white on a blue background.