2010-02-09 01:09:29 +01:00
|
|
|
.TH toilet 1 "2006-11-10" "libcaca @PACKAGE_VERSION@"
|
2006-11-10 09:54:04 +01:00
|
|
|
.SH NAME
|
|
|
|
TOIlet \- display large colourful characters
|
|
|
|
.SH SYNOPSIS
|
|
|
|
.B toilet
|
|
|
|
[
|
2006-11-16 00:12:58 +01:00
|
|
|
.B \-hkostvSW
|
2006-11-10 09:54:04 +01:00
|
|
|
] [
|
|
|
|
.B \-d
|
|
|
|
.I fontdirectory
|
|
|
|
]
|
|
|
|
.PD 0
|
|
|
|
.IP
|
|
|
|
.PD
|
|
|
|
[
|
|
|
|
.B \-f
|
|
|
|
.I fontfile
|
|
|
|
] [
|
|
|
|
.B \-F
|
|
|
|
.I filter
|
|
|
|
] [
|
|
|
|
.B \-w
|
|
|
|
.I outputwidth
|
|
|
|
]
|
|
|
|
.PD 0
|
|
|
|
.IP
|
|
|
|
.PD
|
|
|
|
[
|
|
|
|
.B \-I
|
|
|
|
.I infocode
|
|
|
|
] [
|
|
|
|
.B \-E
|
|
|
|
.I format
|
|
|
|
] [
|
|
|
|
.I message
|
|
|
|
]
|
|
|
|
.RI
|
|
|
|
.SH DESCRIPTION
|
|
|
|
.B TOIlet
|
|
|
|
prints text using large characters made of smaller characters. It is similar
|
|
|
|
in many ways to
|
|
|
|
.B FIGlet
|
|
|
|
with additional features such as Unicode handling, colour fonts, filters
|
|
|
|
and various export formats.
|
|
|
|
.RI
|
|
|
|
.SH USAGE
|
|
|
|
.B TOIlet
|
|
|
|
either reads its input from the command line or from the standard input.
|
|
|
|
.RI
|
|
|
|
.SH OPTIONS
|
|
|
|
.TP
|
|
|
|
.B \-f, \-\-font <name>
|
|
|
|
Use the given font instead of the default value. Fonts are
|
|
|
|
.B .flf
|
|
|
|
or
|
|
|
|
.B .tlf
|
|
|
|
files stored in the
|
2006-11-10 15:30:22 +01:00
|
|
|
.B @datarootdir@/figlet
|
2010-02-09 00:34:05 +01:00
|
|
|
directory. Fonts are looked first in the font directory, then in the current
|
2006-11-10 09:54:04 +01:00
|
|
|
directory. There is also a special built-in font called
|
|
|
|
.I term
|
|
|
|
that serves as a fallback if no font is available.
|
|
|
|
.TP
|
|
|
|
.B \-d, \-\-directory <dir>
|
|
|
|
Specify the directory in which to look for fonts. The default value is set
|
|
|
|
at build time and usually defaults to
|
2006-11-10 15:30:22 +01:00
|
|
|
.B @datarootdir@/figlet.
|
2006-11-10 09:54:04 +01:00
|
|
|
.TP
|
2006-11-16 00:12:58 +01:00
|
|
|
.B \-s, \-S, \-k, \-W, \-o
|
|
|
|
Select character composition rules.
|
|
|
|
.B \-S
|
|
|
|
sets smushing (nicely merging glyphs),
|
|
|
|
.B \-k
|
|
|
|
sets kerning (rendering subcharacters as close to each other as possible),
|
|
|
|
.B \-W
|
|
|
|
renders characters at their full width and
|
|
|
|
.B \-o
|
|
|
|
sets overlapping (glyphs slightly overlap the previous one).
|
|
|
|
.B \-s
|
|
|
|
(default behaviour) uses the font's smushing information if any, otherwise
|
|
|
|
forces overlapping, or does nothing if the glyph only has one subcharacter.
|
|
|
|
.TP
|
2006-11-10 09:54:04 +01:00
|
|
|
.B \-w, \-\-width <width>
|
|
|
|
Set the output width. By default,
|
|
|
|
.B TOIlet
|
|
|
|
will wrap its output at 80 character columns.
|
|
|
|
.TP
|
|
|
|
.B \-t, \-\-termwidth
|
|
|
|
Set the output width to the terminal width.
|
|
|
|
.TP
|
|
|
|
.B \-F, \-\-filter <filters>
|
|
|
|
.PD 0
|
|
|
|
.TP
|
|
|
|
.B \-F, \-\-filter list
|
|
|
|
.TP
|
2015-05-06 04:38:09 +02:00
|
|
|
.B \-\-rainbow, \-\-metal
|
2006-11-10 09:54:04 +01:00
|
|
|
.PD
|
|
|
|
Specify a list of filters to be applied to the output.
|
|
|
|
.I <filters>
|
|
|
|
is a colon-separated list of filters such as
|
2015-05-06 04:38:09 +02:00
|
|
|
.I crop:rotate:rainbow
|
2006-11-10 09:54:04 +01:00
|
|
|
and the special argument
|
|
|
|
.I list
|
|
|
|
outputs a list of available filters.
|
|
|
|
|
2015-05-06 04:38:09 +02:00
|
|
|
.B \-\-rainbow
|
2006-11-10 09:54:04 +01:00
|
|
|
and
|
|
|
|
.B \-\-metal
|
|
|
|
are shortcuts to commonly used filters that are guaranteed to exist. Several
|
|
|
|
.B \-F
|
|
|
|
flags can also be specified on the command line, in which case filters will
|
|
|
|
be applied in order of appearance.
|
|
|
|
.TP
|
|
|
|
.B \-E, \-\-export <format>
|
|
|
|
.PD 0
|
|
|
|
.TP
|
|
|
|
.B \-E, \-\-export list
|
|
|
|
.TP
|
|
|
|
.B \-\-irc, \-\-html
|
|
|
|
.PD
|
|
|
|
Specify the output format. By default,
|
|
|
|
.B TOIlet
|
|
|
|
will output UTF-8 text using ANSI colour codes suitable for most terminals
|
|
|
|
such as XTerm or rxvt.
|
|
|
|
.I <format>
|
2008-10-18 23:36:17 +02:00
|
|
|
is the name of the export format as recognised by libcaca. The special
|
2006-11-10 09:54:04 +01:00
|
|
|
argument
|
|
|
|
.I list
|
|
|
|
outputs a list of available export formats.
|
|
|
|
|
|
|
|
.B \-\-irc
|
|
|
|
and
|
|
|
|
.B \-\-html
|
|
|
|
are shortcuts to commonly used export formats that are guaranteed to exist.
|
|
|
|
.TP
|
|
|
|
.B \-h, \-\-help
|
|
|
|
Display a short help message and exit.
|
|
|
|
.TP
|
|
|
|
.B \-I, \-\-infocode <code>
|
|
|
|
Print a
|
|
|
|
.B FIGlet
|
|
|
|
infocode. This flag is only here for
|
|
|
|
.B FIGlet
|
|
|
|
compatibility, see the
|
|
|
|
.B figlet
|
|
|
|
manpage for more information about it.
|
|
|
|
.TP
|
|
|
|
.B \-v, \-\-version
|
|
|
|
Output version information and exit.
|
|
|
|
.RI
|
|
|
|
.SH EXAMPLES
|
|
|
|
toilet Hello World
|
|
|
|
|
|
|
|
toilet Hello | toilet
|
|
|
|
|
2015-05-06 04:38:09 +02:00
|
|
|
tail -f /var/log/messages | toilet -f term --rainbow
|
2006-11-10 09:54:04 +01:00
|
|
|
.RI
|
|
|
|
.SH BUGS
|
|
|
|
.B FIGlet
|
|
|
|
compatibility is not complete yet.
|
|
|
|
.RI
|
|
|
|
.SH AUTHOR
|
|
|
|
.B TOIlet
|
2009-12-16 01:37:31 +01:00
|
|
|
and this manual page were written by Sam Hocevar <sam@hocevar.net>. There is a
|
|
|
|
webpage available at http://caca.zoy.org/wiki/toilet .
|
2006-11-10 09:54:04 +01:00
|
|
|
.SH SEE ALSO
|
|
|
|
figlet(6)
|