aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Steven Schubiger <stsc@refcnt.org> 2017-04-11 19:30:07 +0200
committerGravatar Steven Schubiger <stsc@refcnt.org> 2017-04-11 19:30:07 +0200
commit4ff7de954891bd8b72268d20f5150240994283d0 (patch)
tree69775c71f23549199449f17181af838d619795e8
parent6dff6a6295382024fc74ad012779ab2fc542a281 (diff)
downloadcolorize-4ff7de954891bd8b72268d20f5150240994283d0.tar.gz
colorize-4ff7de954891bd8b72268d20f5150240994283d0.tar.bz2
Add plain documentation
-rw-r--r--doc/colorize.html120
-rw-r--r--doc/screenshots/colorize.html20
-rw-r--r--doc/screenshots/colorize/colorize1.jpg (renamed from doc/colorize/colorize1.jpg)bin66122 -> 66122 bytes
-rw-r--r--doc/screenshots/colorize/colorize2.jpg (renamed from doc/colorize/colorize2.jpg)bin89905 -> 89905 bytes
-rw-r--r--doc/screenshots/colorize/colorize3.jpg (renamed from doc/colorize/colorize3.jpg)bin47544 -> 47544 bytes
-rw-r--r--doc/screenshots/colorize/colorize4.jpg (renamed from doc/colorize/colorize4.jpg)bin92907 -> 92907 bytes
-rw-r--r--doc/screenshots/colorize/colorize5.jpg (renamed from doc/colorize/colorize5.jpg)bin94661 -> 94661 bytes
-rw-r--r--doc/screenshots/colorize/colorize6.jpg (renamed from doc/colorize/colorize6.jpg)bin89341 -> 89341 bytes
-rw-r--r--doc/screenshots/colorize/colorize7.jpg (renamed from doc/colorize/colorize7.jpg)bin28659 -> 28659 bytes
-rw-r--r--doc/screenshots/colorize/colorize8.jpg (renamed from doc/colorize/colorize8.jpg)bin24146 -> 24146 bytes
10 files changed, 121 insertions, 19 deletions
diff --git a/doc/colorize.html b/doc/colorize.html
index 3b0aaba..8084cc7 100644
--- a/doc/colorize.html
+++ b/doc/colorize.html
@@ -1,20 +1,102 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
- "http://www.w3.org/TR/html4/loose.dtd">
-<html>
- <head>
- <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
- <title>colorize Screenshots</title>
- </head>
- <body bgcolor="#000000">
- <table align="center" cellpadding="2">
- <tr><td><img src="colorize/colorize1.jpg" alt="1"></td></tr>
- <tr><td><img src="colorize/colorize2.jpg" alt="2"></td></tr>
- <tr><td><img src="colorize/colorize3.jpg" alt="3"></td></tr>
- <tr><td><img src="colorize/colorize4.jpg" alt="4"></td></tr>
- <tr><td><img src="colorize/colorize5.jpg" alt="5"></td></tr>
- <tr><td><img src="colorize/colorize6.jpg" alt="6"></td></tr>
- <tr><td><img src="colorize/colorize7.jpg" alt="7"></td></tr>
- <tr><td><img src="colorize/colorize8.jpg" alt="8"></td></tr>
- </table>
- </body>
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- This file was created with the aha Ansi HTML Adapter. http://ziz.delphigl.com/tool_aha.php -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="application/xml+xhtml; charset=UTF-8" />
+<title>colorize</title>
+</head>
+<body style="color:white; background-color:black">
+<pre>
+<span style="color:yellow;font-weight:bold;">[sts@apollo ~/colorize]$</span> ./colorize --help
+Usage: ./colorize (foreground) OR (foreground)/(background) OR --clean[-all] [-|file]
+
+ Colors (foreground) (background)
+ {-} none none
+ {<span style="color:black;">#</span>} [Bb]lack black
+ {<span style="color:red;">#</span>} [Rr]ed red
+ {<span style="color:lime;">#</span>} [Gg]reen green
+ {<span style="color:yellow;">#</span>} [Yy]ellow yellow
+ {<span style="color:#3333FF;">#</span>} [Bb]lue blue
+ {<span style="color:fuchsia;">#</span>} [Mm]agenta magenta
+ {<span style="color:aqua;">#</span>} [Cc]yan cyan
+ {<span style="color:white;">#</span>} [Ww]hite white
+ {<span style="color:white;">#</span>} [Dd]efault default
+ {*} [Rr]andom random [--exclude-random=&lt;foreground color&gt;]
+
+ First character of color name in upper case denotes increased intensity,
+ whereas for lower case colors will be of normal intensity.
+
+ Options
+ --clean
+ --clean-all
+ --exclude-random
+ -h, --help
+ -V, --version
+</pre>
+<pre>
+<span style="color:yellow;font-weight:bold;">[sts@apollo ~/colorize]$</span> ./colorize cyan /etc/motd
+<span style="color:aqua;"></span>
+<span style="color:aqua;">The programs included with the Debian GNU/Linux system are free software;</span>
+<span style="color:aqua;">the exact distribution terms for each program are described in the</span>
+<span style="color:aqua;">individual files in /usr/share/doc/*/copyright.</span>
+<span style="color:aqua;"></span>
+<span style="color:aqua;">Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent</span>
+<span style="color:aqua;">permitted by applicable law.</span>
+</pre>
+<pre>
+<span style="color:yellow;font-weight:bold;">[sts@apollo ~/colorize]$</span> ./colorize cyan /etc/motd | ./colorize --clean
+
+The programs included with the Debian GNU/Linux system are free software;
+the exact distribution terms for each program are described in the
+individual files in /usr/share/doc/*/copyright.
+
+Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
+permitted by applicable law.
+</pre>
+<pre>
+<span style="color:yellow;font-weight:bold;">[sts@apollo ~/colorize]$</span> ./colorize Yellow /etc/motd
+<span style="color:yellow;font-weight:bold;"></span>
+<span style="color:yellow;font-weight:bold;">The programs included with the Debian GNU/Linux system are free software;</span>
+<span style="color:yellow;font-weight:bold;">the exact distribution terms for each program are described in the</span>
+<span style="color:yellow;font-weight:bold;">individual files in /usr/share/doc/*/copyright.</span>
+<span style="color:yellow;font-weight:bold;"></span>
+<span style="color:yellow;font-weight:bold;">Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent</span>
+<span style="color:yellow;font-weight:bold;">permitted by applicable law.</span>
+</pre>
+<pre>
+<span style="color:yellow;font-weight:bold;">[sts@apollo ~/colorize]$</span> ./colorize white/blue /etc/motd
+<span style="background-color:#3333FF;"></span><span style="color:white;background-color:#3333FF;"></span>
+<span style="background-color:#3333FF;"></span><span style="color:white;background-color:#3333FF;">The programs included with the Debian GNU/Linux system are free software;</span>
+<span style="background-color:#3333FF;"></span><span style="color:white;background-color:#3333FF;">the exact distribution terms for each program are described in the</span>
+<span style="background-color:#3333FF;"></span><span style="color:white;background-color:#3333FF;">individual files in /usr/share/doc/*/copyright.</span>
+<span style="background-color:#3333FF;"></span><span style="color:white;background-color:#3333FF;"></span>
+<span style="background-color:#3333FF;"></span><span style="color:white;background-color:#3333FF;">Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent</span>
+<span style="background-color:#3333FF;"></span><span style="color:white;background-color:#3333FF;">permitted by applicable law.</span>
+</pre>
+<pre>
+<span style="color:yellow;font-weight:bold;">[sts@apollo ~/colorize]$</span> ./colorize --exclude-random=black random /etc/motd
+<span style="color:red;"></span>
+<span style="color:red;">The programs included with the Debian GNU/Linux system are free software;</span>
+<span style="color:red;">the exact distribution terms for each program are described in the</span>
+<span style="color:red;">individual files in /usr/share/doc/*/copyright.</span>
+<span style="color:red;"></span>
+<span style="color:red;">Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent</span>
+<span style="color:red;">permitted by applicable law.</span>
+</pre>
+<pre>
+<span style="color:yellow;font-weight:bold;">[sts@apollo ~/colorize]$</span> ./colorize green /etc/motd | head -n2 | tail -n1
+<span style="color:lime;">The programs included with the Debian GNU/Linux system are free software;</span>
+</pre>
+<pre>
+<span style="color:yellow;font-weight:bold;">[sts@apollo ~/colorize]$</span> ./colorize --version
+colorize v0.59-16-gf340b58 (compiled at Mar 18 2017, 00:08:31)
+Compiler flags: &quot;-ansi -pedantic &quot;
+Linker flags: &quot;&quot;
+Preprocessor flags: &quot;&quot;
+Buffer size: 4K
+Color separator: '/'
+Debugging: no
+</pre>
+</body>
</html>
diff --git a/doc/screenshots/colorize.html b/doc/screenshots/colorize.html
new file mode 100644
index 0000000..3b0aaba
--- /dev/null
+++ b/doc/screenshots/colorize.html
@@ -0,0 +1,20 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+ "http://www.w3.org/TR/html4/loose.dtd">
+<html>
+ <head>
+ <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
+ <title>colorize Screenshots</title>
+ </head>
+ <body bgcolor="#000000">
+ <table align="center" cellpadding="2">
+ <tr><td><img src="colorize/colorize1.jpg" alt="1"></td></tr>
+ <tr><td><img src="colorize/colorize2.jpg" alt="2"></td></tr>
+ <tr><td><img src="colorize/colorize3.jpg" alt="3"></td></tr>
+ <tr><td><img src="colorize/colorize4.jpg" alt="4"></td></tr>
+ <tr><td><img src="colorize/colorize5.jpg" alt="5"></td></tr>
+ <tr><td><img src="colorize/colorize6.jpg" alt="6"></td></tr>
+ <tr><td><img src="colorize/colorize7.jpg" alt="7"></td></tr>
+ <tr><td><img src="colorize/colorize8.jpg" alt="8"></td></tr>
+ </table>
+ </body>
+</html>
diff --git a/doc/colorize/colorize1.jpg b/doc/screenshots/colorize/colorize1.jpg
index 32b5e66..32b5e66 100644
--- a/doc/colorize/colorize1.jpg
+++ b/doc/screenshots/colorize/colorize1.jpg
Binary files differ
diff --git a/doc/colorize/colorize2.jpg b/doc/screenshots/colorize/colorize2.jpg
index 085379b..085379b 100644
--- a/doc/colorize/colorize2.jpg
+++ b/doc/screenshots/colorize/colorize2.jpg
Binary files differ
diff --git a/doc/colorize/colorize3.jpg b/doc/screenshots/colorize/colorize3.jpg
index 3a9a72b..3a9a72b 100644
--- a/doc/colorize/colorize3.jpg
+++ b/doc/screenshots/colorize/colorize3.jpg
Binary files differ
diff --git a/doc/colorize/colorize4.jpg b/doc/screenshots/colorize/colorize4.jpg
index 17a0ca8..17a0ca8 100644
--- a/doc/colorize/colorize4.jpg
+++ b/doc/screenshots/colorize/colorize4.jpg
Binary files differ
diff --git a/doc/colorize/colorize5.jpg b/doc/screenshots/colorize/colorize5.jpg
index 01b1857..01b1857 100644
--- a/doc/colorize/colorize5.jpg
+++ b/doc/screenshots/colorize/colorize5.jpg
Binary files differ
diff --git a/doc/colorize/colorize6.jpg b/doc/screenshots/colorize/colorize6.jpg
index 6536717..6536717 100644
--- a/doc/colorize/colorize6.jpg
+++ b/doc/screenshots/colorize/colorize6.jpg
Binary files differ
diff --git a/doc/colorize/colorize7.jpg b/doc/screenshots/colorize/colorize7.jpg
index 48eb0c3..48eb0c3 100644
--- a/doc/colorize/colorize7.jpg
+++ b/doc/screenshots/colorize/colorize7.jpg
Binary files differ
diff --git a/doc/colorize/colorize8.jpg b/doc/screenshots/colorize/colorize8.jpg
index 2f1eb86..2f1eb86 100644
--- a/doc/colorize/colorize8.jpg
+++ b/doc/screenshots/colorize/colorize8.jpg
Binary files differ