Last change
on this file since 223 was
223,
checked in by Sam Hocevar, 19 years ago
|
- NOTES: added information about colour support.
|
-
Property svn:keywords set to
Id
|
File size:
1.1 KB
|
Line | |
---|
1 | $Id: NOTES 223 2003-11-27 09:38:16Z sam $ |
---|
2 | |
---|
3 | o Colour does not work with all backends and all terminals. I tested |
---|
4 | many terminal emulators and tried to summarise which combinations |
---|
5 | worked properly and which ones did not. |
---|
6 | |
---|
7 | o In an XTerm terminal, the following shell commands output all possible |
---|
8 | foreground/background combinations: |
---|
9 | |
---|
10 | for fgpre in "" '\e[0;1m'; do for fg in 0 4 2 6 1 5 3 7; do |
---|
11 | for bgpre in 4 10; do |
---|
12 | echo -ne "$fgpre"'\e[3'$fg'm' |
---|
13 | for bg in 0 4 2 6 1 5 3 7; do echo -ne '\e['$bgpre$bg'm# '; done |
---|
14 | echo -ne '\e[0;0m ' |
---|
15 | done |
---|
16 | echo '' |
---|
17 | done; echo ''; done |
---|
18 | |
---|
19 | Successfully tested |
---|
20 | |
---|
21 | o ncurses: |
---|
22 | |
---|
23 | * bright combinations work in the following terminals: |
---|
24 | |
---|
25 | - Linux console (TERM=linux) |
---|
26 | - pterm (TERM=xterm) |
---|
27 | |
---|
28 | * bright text on bright background is rendered as bright text on |
---|
29 | normal background in the following terminals: |
---|
30 | |
---|
31 | - xterm (TERM=xterm) |
---|
32 | - gnome-terminal (TERM=xterm) |
---|
33 | |
---|
34 | o S-Lang: |
---|
35 | |
---|
36 | o MS-DOS: all bright colours, bright backgrounds, and bright combinations |
---|
37 | work using <conio.h>. |
---|
38 | |
---|
Note: See
TracBrowser
for help on using the repository browser.