summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorRobert Lemmen <robertle@semistable.com>2005-10-02 16:55:03 +0200
committerRobert Lemmen <robertle@semistable.com>2005-10-02 16:55:03 +0200
commit506c0631ef00a77295dfcb885a2dd85ebd083e0d (patch)
treeb1429d6834a665fb8b813dd7d39ca652448dd303 /man
Import aewan_1.0.01.orig.tar.gz
[dgit import orig aewan_1.0.01.orig.tar.gz]
Diffstat (limited to 'man')
-rw-r--r--man/man1/aecat.163
-rw-r--r--man/man1/aemakeflic.150
-rw-r--r--man/man1/aewan.150
-rw-r--r--man/man5/aewan.5108
4 files changed, 271 insertions, 0 deletions
diff --git a/man/man1/aecat.1 b/man/man1/aecat.1
new file mode 100644
index 0000000..36dfabd
--- /dev/null
+++ b/man/man1/aecat.1
@@ -0,0 +1,63 @@
+.TH aecat "1" "March 2005" "aecat (Aewan Ascii Art Editor)"
+.SH NAME
+aecat \- display an aewan document
+.SH SYNOPSIS
+.B aecat
+[-b] [-c] [-{n|N}] [{-p | -l <layer_num>}] [-f <format>] [-o <output_file>] inputfile
+
+.SH DESCRIPTION
+This is an utility program that will convert an aewan document
+to ANSI escape sequences so that it can be rendered on a standard
+terminal. Alternatively, it can also generate HTML code for displaying
+the document in a web page. Any particular layer of the document
+may be converted, or you may request a composite of all layers.
+
+.SH OPTIONS
+.TP
+\fB\-f\fR
+specifies output format - can "text", "html" or "comment". Default is "text".
+The "comment" format extracts document metadata.
+.TP
+\fB\-c\fR
+prepend a 'clear screen' escape sequence (only valid when outputting
+text).
+.TP
+\fB\-o\fR\fI<file>\fR
+writes output to specified file rather than stdout
+.TP
+\fB\-b\fR
+disables output of color (only characters will be printed).
+.TP
+\fB\-l\fR\fI<layer_no>\fR
+specifies which layer of the document is to be used
+(must be an index, not a layer name). By default, layer 0 will be used.
+.TP
+\fB\-L\fR
+displays the number of layers in the file.
+.TP
+\fB\-p\fR
+exports a composite, that is, overlays all visible layers,
+paying attention to layer transparency, etc. The size of the
+composite will be the size of the first layer
+.TP
+\fB\-n\fR
+suppress output of newlines
+.TP
+\fB\-h\fR
+prints a short help text
+
+.SH AUTHORS
+This program is part of the Aewan Ascii Art Editor package.
+See aewan(1) for author information.
+
+.SH LICENSE
+Copyright (c) 2004-2005 Bruno Takahashi C. de Oliveira. All rights reserved.
+
+This program is licensed under the GNU General Public License,
+version 2 or, at your option, any later version. For full license
+information, please refer to the COPYING file that accompanies
+the program.
+
+.SH SEE ALSO
+\fBaewan\fR(1), \fBaewan\fR(5), \fBaemakeflic\fR(1)
+
diff --git a/man/man1/aemakeflic.1 b/man/man1/aemakeflic.1
new file mode 100644
index 0000000..b5cdd95
--- /dev/null
+++ b/man/man1/aemakeflic.1
@@ -0,0 +1,50 @@
+.TH aemakeflic "1" "September 2005" "aemakeflic (Aewan Ascii Art Editor)"
+.SH NAME
+aemakeflic \- produce an animation from an aewan document
+.SH SYNOPSIS
+.B aemakeflic
+[-f {less|sh}] [-N] [-b] [-d <delay>] input.ae [outputfile.ext]
+
+.SH DESCRIPTION
+This utility will make an ascii animation out of an aewan document. It
+can currently produce animations in two formats: a shellscript which,
+when executed, will display the animation and a "less movie" intended
+to be "played" on the very popular 'less' output pager -- that is, the
+user will see the animation as he pages down through the file in an
+appropriate window size.
+
+Each layer in the aewan document is interpreted as one frame of the animation.
+Layer transparency and compositing are not used: each layer becomes a frame.
+
+.SH OPTIONS
+.TP
+\fB\-f\fR
+specifies output format - can "sh" for a shellscript or "less" for a
+"less movie"
+.TP
+\fB\-N\fR
+omit the initial instructions that are normally included in the resulting
+file. The instructions will orient the user as to how to play the file.
+.TP
+\fB\-b\fR
+disables output of color (only characters will be printed).
+.TP
+\fB\-d delay\fR
+specifies the delay between frames (for shellscript only), given in
+milliseconds.
+
+.SH AUTHORS
+This program is part of the Aewan Ascii Art Editor package.
+See aewan(1) for author information.
+
+.SH LICENSE
+Copyright (c) 2004-2005 Bruno Takahashi C. de Oliveira. All rights reserved.
+
+This program is licensed under the GNU General Public License,
+version 2 or, at your option, any later version. For full license
+information, please refer to the COPYING file that accompanies
+the program.
+
+.SH SEE ALSO
+\fBaewan\fR(1), \fBaewan\fR(5), \fBaecat\fR(1)
+
diff --git a/man/man1/aewan.1 b/man/man1/aewan.1
new file mode 100644
index 0000000..d50b64e
--- /dev/null
+++ b/man/man1/aewan.1
@@ -0,0 +1,50 @@
+.TH aewan "1" "August 2004" "aewan (Aewan Ascii Art Editor)"
+
+.SH NAME
+aewan \- An ascii-art editor
+
+.SH SYNOPSIS
+.B aewan [\fIfilename\fR]
+.SH DESCRIPTION
+.PP
+Aewan is a multi-layered ascii-art/animation editor that produces both
+stand-alone cat-able art files and an easy-to-parse format for integration in
+your terminal applications (for information about the file format,
+see the aewan(5) manpage).
+
+If you invoke the program without a command-line argument, it will
+open an untitled document for you to edit. If you supply an argument,
+it must be the name of an aewan file you wish to open. That file
+must exist, or an error will occur.
+
+.SH PROJECT HOME PAGE
+The Aewan Project's official homepage is the following:
+
+
+ \fBhttp://aewan.sourceforge.net\fR
+
+There you will find author information, FAQ, links to the latest
+version of the program, etc.
+
+.SH AUTHORS
+The developers can be contacted through the following e-mail address:
+
+ \fBaewan-devel@lists.sf.net\fR
+
+People who have worked or are currently working on this project:
+
+ * Bruno T. C. de Oliveira (brunotc@gmail.com)
+ * Peep Pullerits (http://solicit.estprog.ee; solicit@estprog.ee)
+ * Praveen Kurup <praveen_kurup@jasubhai.com>
+ * Gerfried Fuchs <alfie@ist.org>
+
+.SH LICENSE INFORMATION
+Copyright (c) 2004 Bruno Takahashi C. de Oliveira. All rights reserved.
+
+This program is licensed under the GNU General Public License,
+version 2 or, at your option, any later version. For full license
+information, please refer to the COPYING file that accompanies
+the program.
+
+.SH SEE ALSO
+\fBaecat\fR(1), \fBaewan\fR(5)
diff --git a/man/man5/aewan.5 b/man/man5/aewan.5
new file mode 100644
index 0000000..d4d3cee
--- /dev/null
+++ b/man/man5/aewan.5
@@ -0,0 +1,108 @@
+.TH aewan "5" "August 2005" "aewan (Aewan Ascii Art Editor)"
+
+.SH NAME
+aewan \- File format documentation
+
+.SH INTRODUCTION
+Starting with version 0.9.0, Aewan features an all-new, easier to parse
+file format. Prior versions used a binary (largely undocumented) file
+format, and relied on a program (ae2aes) to convert it to a readable
+format. With the new format, the ae2aes utility became unnecessary
+and was deprecated.
+
+An aewan document is a gzipped file. Therefore, you must first gunzip
+it in order to be able to parse its contents. On the command line, you
+could use \fIzcat\fR or something of the sort. On a program, you will
+probably want to use the \fIzlib\fR library.
+
+In the future it might be better for Aewan to supply a shared library
+to enable parsing of aewan files with minimal effort. Such a library would
+have to be integrated with the editor in order not to have to duplicate
+code (i.e. the editor itself would be just a client of the library).
+But for the time being, you have to read and parse the format
+on your own.
+
+.SH FILE FORMAT
+
+In the description below, the items in between brackets are NOT literal,
+they are placeholders. [S] is a placeholder for a string and [N] is a
+placeholder for a decimal integer, and [B] is a placeholder for a boolean
+value ('true' or 'false'). A line with "..." is not literal either, it
+just means that the lines above repeat a certain number of times.
+
+.nf
+<Aewan Document v1
+ layer-count: int: [N]
+ meta-info: str: [S]
+ <Layer
+ name: str: [S]
+ width: int: [N]
+ height: int: [N]
+ visible: bool: [B]
+ transparent: bool: [B]
+ layer-line: str: [S]
+ layer-line: str: [S]
+ layer-line: str: [S]
+ (...there are <height> such lines...)
+ >Layer
+ (...there are <layer-count> such blocks...)
+>Aewan Document v1
+.ff
+
+Indentation is ignored, but all other whitespace is significant.
+In particular, you can't omit the space that immediately follows
+the ':' field delimiters, or supply more than one space there.
+Notice that the file format does not use any quotation marks
+for the values, not even strings.
+
+.SH REPRESENTATION OF STRINGS
+Strings are represented almost literally in the file (where the [S]
+placeholders are in the blueprint above), and are not put in between
+quotes or anything. However, special characters (ASCII codes 1 to 31)
+are escaped: the escape code is a backslash, followed by the
+character '0' + ch, where ch is the special character. Thus, a newline
+character would be represented by "\\:", since ":" is '0' + 10.
+
+.SH REPRESENTATION OF INTEGERS AND BOOLEANS
+Integers use just the plain old decimal representation. The booleans
+are represented as strings: either "true" or "false" (without quotes).
+
+.SH REPRESENTATION OF LAYER LINES
+Each layer-line is a string, but it is specially formatted in order
+to convey the characters and attibutes in that line. In order to
+understand the format of a layer-line string, it is first necessary
+to introduce the concept of cells. A cell in an aewan layer is each
+of the spaces that can contain a character. A cell has two pieces
+of data: the character that is in it, and a color attribute.
+The character is just that: an 8-bit value represing the character
+drawn there. The color attribute is an 8-bit unsigned value that packs the
+foreground and background color of a given cell, as well as standout
+and blink attributes.
+
+The following color codes are used: 0=black, 1=red, 2=green,
+3=yellow, 4=blue, 5=magenta, 6=cyan, 7=white.
+
+The 8 bits of the attribute have the following meanings: SFFFLBBB.
+Where S is the standout bit, FFF is the 3-bit color code for
+the foreground color, L is the blink bit, and BBB is the
+3-bit color code for the background color.
+
+The layer-line string is composed of the hexadecimal representation
+of layer_width*2 bytes. Each 2 bytes is the information for one
+cell of the line: the first byte is the character, and the second
+is the attribute. For example, the hex representation for 'A' is
+0x41, so a line with five 'A's each of them in a different foreground
+color (but all with black background) would be represented as
+41104120413041404150.
+
+.SH LICENSE INFORMATION
+Copyright (c) 2004-2005 Bruno Takahashi C. de Oliveira. All rights reserved.
+
+This program is licensed under the GNU General Public License,
+version 2 or, at your option, any later version. For full license
+information, please refer to the COPYING file that accompanies
+the program.
+
+.SH SEE ALSO
+\fBaecat\fR(1), \fBaewan\fR(1)
+