# toilet(1) - man - phpman

> **TLDR:** Display ASCII-art fonts.
>
- Generate ASCII art for a given text:
  `toilet {{input_text}}`
- Generate ASCII art using a custom font file:
  `toilet {{input_text}} {{-f|--font}} {{font_filename}}`
- Generate ASCII art using a filter:
  `toilet {{input_text}} {{-F|--filter}} {{filter_name}}`
- Show available toilet filters:
  `toilet {{-F|--filter}} list`

*Source: tldr-pages*

---

[toilet(1)](https://www.chedong.com/phpMan.php/man/toilet/1/markdown)                              General Commands Manual                             [toilet(1)](https://www.chedong.com/phpMan.php/man/toilet/1/markdown)



## NAME
       TOIlet - display large colourful characters

## SYNOPSIS
       **toilet** [ **-hkostvSW** ] [ **-d** _fontdirectory_ ]
              [ **-f** _fontfile_ ] [ **-F** _filter_ ] [ **-w** _outputwidth_ ]
              [ **-I** _infocode_ ] [ **-E** _format_ ] [ _message_ ]

## DESCRIPTION
       **TOIlet**  prints  text using large characters made of smaller characters. It is similar in many
       ways to **FIGlet** with additional features such as Unicode handling, colour fonts,  filters  and
       various export formats.

## USAGE
       **TOIlet** either reads its input from the command line or from the standard input.

## OPTIONS
### -f, --font <name>
              Use  the  given font instead of the default value. Fonts are **.flf** or **.tlf** files stored
              in the **/usr/share/figlet** directory. Fonts are looked first in the font directory, then
              in  the  current  directory.  There  is  also a special built-in font called _term_ that
              serves as a fallback if no font is available.

### -d, --directory <dir>
              Specify the directory in which to look for fonts. The default value is  set  at  build
              time and usually defaults to **/usr/share/figlet.**

### -s, -S, -k, -W, -o
              Select character composition rules.  **-S** sets smushing (nicely merging glyphs), **-k** sets
              kerning (rendering subcharacters as close to each other as possible), **-W** renders char‐
              acters at their full width and **-o** sets overlapping (glyphs slightly overlap the previ‐
              ous one).  **-s** (default behaviour) uses the font's smushing information if any,  other‐
              wise forces overlapping, or does nothing if the glyph only has one subcharacter.

### -w, --width <width>
              Set the output width. By default, **TOIlet** will wrap its output at 80 character columns.

### -t, --termwidth
              Set the output width to the terminal width.

### -F, --filter <filters>
### -F, --filter list
### --gay, --metal
              Specify a list of filters to be applied to the output.  _<filters>_ is a colon-separated
              list of filters such as _crop:rotate:gay_ and the special argument _list_ outputs  a  list
              of available filters.

              **--gay** and **--metal** are shortcuts to commonly used filters that are guaranteed to exist.
              Several **-F** flags can also be specified on the command line, in which case filters will
              be applied in order of appearance.

### -E, --export <format>
### -E, --export list
### --irc, --html
              Specify the output format. By default, **TOIlet** will output UTF-8 text using ANSI colour
              codes suitable for most terminals such as XTerm or rxvt.  _<format>_ is the name of  the
              export  format  as  recognised by libcaca. The special argument _list_ outputs a list of
              available export formats.

              **--irc** and **--html** are shortcuts to commonly used export formats that are guaranteed  to
              exist.

### -h, --help
              Display a short help message and exit.

### -I, --infocode <code>
              Print  a  **FIGlet**  infocode.  This  flag is only here for **FIGlet** compatibility, see the
              **figlet** manpage for more information about it.

### -v, --version
              Output version information and exit.

## EXAMPLES
       toilet Hello World

       toilet Hello | toilet

       tail -f /var/log/messages | toilet -f term --gay

## BUGS
       **FIGlet** compatibility is not complete yet.

## AUTHOR
       **TOIlet** and this manual page were written by Sam Hocevar <<sam@hocevar.net>>. There is a webpage
       available at <http://caca.zoy.org/wiki/toilet> .

## SEE ALSO
       [figlet(6)](https://www.chedong.com/phpMan.php/man/figlet/6/markdown)



libcaca @PACKAGE_VERSION@                    2006-11-10                                    [toilet(1)](https://www.chedong.com/phpMan.php/man/toilet/1/markdown)
