You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

toilet.1.in 3.4 KiB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167
  1. .TH toilet 1 "2006-11-10" "libcaca @PACKAGE_VERSION@"
  2. .SH NAME
  3. TOIlet \- display large colourful characters
  4. .SH SYNOPSIS
  5. .B toilet
  6. [
  7. .B \-hkostvSW
  8. ] [
  9. .B \-d
  10. .I fontdirectory
  11. ]
  12. .PD 0
  13. .IP
  14. .PD
  15. [
  16. .B \-f
  17. .I fontfile
  18. ] [
  19. .B \-F
  20. .I filter
  21. ] [
  22. .B \-w
  23. .I outputwidth
  24. ]
  25. .PD 0
  26. .IP
  27. .PD
  28. [
  29. .B \-I
  30. .I infocode
  31. ] [
  32. .B \-E
  33. .I format
  34. ] [
  35. .I message
  36. ]
  37. .RI
  38. .SH DESCRIPTION
  39. .B TOIlet
  40. prints text using large characters made of smaller characters. It is similar
  41. in many ways to
  42. .B FIGlet
  43. with additional features such as Unicode handling, colour fonts, filters
  44. and various export formats.
  45. .RI
  46. .SH USAGE
  47. .B TOIlet
  48. either reads its input from the command line or from the standard input.
  49. .RI
  50. .SH OPTIONS
  51. .TP
  52. .B \-f, \-\-font <name>
  53. Use the given font instead of the default value. Fonts are
  54. .B .flf
  55. or
  56. .B .tlf
  57. files stored in the
  58. .B @datarootdir@/figlet
  59. directory. Fonts are looked first in the font directory, then in the current
  60. directory. There is also a special built-in font called
  61. .I term
  62. that serves as a fallback if no font is available.
  63. .TP
  64. .B \-d, \-\-directory <dir>
  65. Specify the directory in which to look for fonts. The default value is set
  66. at build time and usually defaults to
  67. .B @datarootdir@/figlet.
  68. .TP
  69. .B \-s, \-S, \-k, \-W, \-o
  70. Select character composition rules.
  71. .B \-S
  72. sets smushing (nicely merging glyphs),
  73. .B \-k
  74. sets kerning (rendering subcharacters as close to each other as possible),
  75. .B \-W
  76. renders characters at their full width and
  77. .B \-o
  78. sets overlapping (glyphs slightly overlap the previous one).
  79. .B \-s
  80. (default behaviour) uses the font's smushing information if any, otherwise
  81. forces overlapping, or does nothing if the glyph only has one subcharacter.
  82. .TP
  83. .B \-w, \-\-width <width>
  84. Set the output width. By default,
  85. .B TOIlet
  86. will wrap its output at 80 character columns.
  87. .TP
  88. .B \-t, \-\-termwidth
  89. Set the output width to the terminal width.
  90. .TP
  91. .B \-F, \-\-filter <filters>
  92. .PD 0
  93. .TP
  94. .B \-F, \-\-filter list
  95. .TP
  96. .B \-\-rainbow, \-\-metal
  97. .PD
  98. Specify a list of filters to be applied to the output.
  99. .I <filters>
  100. is a colon-separated list of filters such as
  101. .I crop:rotate:rainbow
  102. and the special argument
  103. .I list
  104. outputs a list of available filters.
  105. .B \-\-rainbow
  106. and
  107. .B \-\-metal
  108. are shortcuts to commonly used filters that are guaranteed to exist. Several
  109. .B \-F
  110. flags can also be specified on the command line, in which case filters will
  111. be applied in order of appearance.
  112. .TP
  113. .B \-E, \-\-export <format>
  114. .PD 0
  115. .TP
  116. .B \-E, \-\-export list
  117. .TP
  118. .B \-\-irc, \-\-html
  119. .PD
  120. Specify the output format. By default,
  121. .B TOIlet
  122. will output UTF-8 text using ANSI colour codes suitable for most terminals
  123. such as XTerm or rxvt.
  124. .I <format>
  125. is the name of the export format as recognised by libcaca. The special
  126. argument
  127. .I list
  128. outputs a list of available export formats.
  129. .B \-\-irc
  130. and
  131. .B \-\-html
  132. are shortcuts to commonly used export formats that are guaranteed to exist.
  133. .TP
  134. .B \-h, \-\-help
  135. Display a short help message and exit.
  136. .TP
  137. .B \-I, \-\-infocode <code>
  138. Print a
  139. .B FIGlet
  140. infocode. This flag is only here for
  141. .B FIGlet
  142. compatibility, see the
  143. .B figlet
  144. manpage for more information about it.
  145. .TP
  146. .B \-v, \-\-version
  147. Output version information and exit.
  148. .RI
  149. .SH EXAMPLES
  150. toilet Hello World
  151. toilet Hello | toilet
  152. tail -f /var/log/messages | toilet -f term --rainbow
  153. .RI
  154. .SH BUGS
  155. .B FIGlet
  156. compatibility is not complete yet.
  157. .RI
  158. .SH AUTHOR
  159. .B TOIlet
  160. and this manual page were written by Sam Hocevar <sam@hocevar.net>. There is a
  161. webpage available at http://caca.zoy.org/wiki/toilet .
  162. .SH SEE ALSO
  163. figlet(6)