Преглед изворни кода

* NOTES: added information about colour support.

tags/v0.99.beta14
Sam Hocevar sam пре 21 година
родитељ
комит
62bed6778e
3 измењених фајлова са 42 додато и 2 уклоњено
  1. +38
    -0
      NOTES
  2. +2
    -0
      README
  3. +2
    -2
      debian/rules

+ 38
- 0
NOTES Прегледај датотеку

@@ -0,0 +1,38 @@
$Id$

o Colour does not work with all backends and all terminals. I tested
many terminal emulators and tried to summarise which combinations
worked properly and which ones did not.

o In an XTerm terminal, the following shell commands output all possible
foreground/background combinations:

for fgpre in "" '\e[0;1m'; do for fg in 0 4 2 6 1 5 3 7; do
for bgpre in 4 10; do
echo -ne "$fgpre"'\e[3'$fg'm'
for bg in 0 4 2 6 1 5 3 7; do echo -ne '\e['$bgpre$bg'm# '; done
echo -ne '\e[0;0m '
done
echo ''
done; echo ''; done

Successfully tested

o ncurses:

* bright combinations work in the following terminals:

- Linux console (TERM=linux)
- pterm (TERM=xterm)

* bright text on bright background is rendered as bright text on
normal background in the following terminals:

- xterm (TERM=xterm)
- gnome-terminal (TERM=xterm)

o S-Lang:

o MS-DOS: all bright colours, bright backgrounds, and bright combinations
work using <conio.h>.


+ 2
- 0
README Прегледај датотеку

@@ -15,6 +15,8 @@ Building libcaca

Using libcaca

o Look into the examples/ directory for simple source code examples.

o Compiling a libcaca program is fairly simple:

gcc -c foobar.c -o foobar.o `caca-config --cflags`


+ 2
- 2
debian/rules Прегледај датотеку

@@ -60,8 +60,8 @@ binary-arch: build install
dh_testdir
dh_testroot
# dh_installdebconf
dh_installdocs README BUGS TODO AUTHORS NEWS -pcaca-utils
dh_installdocs README BUGS TODO AUTHORS NEWS -plibcaca-dev
dh_installdocs README BUGS TODO AUTHORS NEWS NOTES -pcaca-utils
dh_installdocs README BUGS TODO AUTHORS NEWS NOTES -plibcaca-dev
# dh_installexamples
dh_installmenu
# dh_installemacsen


Loading…
Откажи
Сачувај