2 Copyright (C) 1989-2000, 2001, 2002 Free Software Foundation, Inc.
4 Permission is granted to make and distribute verbatim copies of
5 this manual provided the copyright notice and this permission notice
6 are preserved on all copies.
8 Permission is granted to copy and distribute modified versions of this
9 manual under the conditions for verbatim copying, provided that the
10 entire resulting derived work is distributed under the terms of a
11 permission notice identical to this one.
13 Permission is granted to copy and distribute translations of this
14 manual into another language, under the above conditions for modified
15 versions, except that this permission notice may be included in
16 translations approved by the Free Software Foundation instead of in
21 .TH GROTTY @MAN1EXT@ "@MDATE@" "Groff Version @VERSION@"
23 grotty \- groff driver for typewriter-like devices
36 It is possible to have whitespace between the
38 option and its parameter.
43 translates the output of GNU
45 into a form suitable for typewriter-like devices.
48 should be invoked by using the
56 option on ASCII based systems, and with
60 on EBCDIC based hosts.
61 If no files are given,
63 will read the standard input.
68 to read the standard input.
69 Output is written to the standard output.
73 emits SGR escape sequences (from ISO 6429, also called ANSI color escapes)
74 to change text attributes (bold, italic, colors).
75 This makes it possible to have have eight different \M[green]background\M[P]
76 and \m[red]foreground\m[P] colors; additionally, bold and italic
77 attributes can be used \f[BI]at the same time\f[P] (by using the BI font).
79 The following colors are defined in
81 black, white, red, green, blue, yellow, magenta, cyan.
82 Unknown colors are mapped to the default color (which is dependent on the
83 settings of the terminal; in most cases, this is black for the foreground
84 and white for the background).
88 switch to revert to the old behaviour, printing a bold character
94 and an italic character
100 At the same time, color output is disabled.
101 The same effect can be achieved by setting the
103 environment variable.
105 For SGR support, it is necessary to use the
109 to disable the interpretation of
112 Consequently, all programs which use
114 as the pager program have to pass this option to it.
117 in particular, either add
121 environment variable, e.g.\&
124 .B PAGER="/usr/bin/less -R"
133 to set the pager executable and its options, or modify the configuration
136 in a similar fashion.
139 old output format can be displayed on a terminal
146 are also able to display these sequences.
157 There is no need to filter the output through
161 never outputs reverse line feeds.
163 The font description file may contain a command
169 is a decimal integer.
173 then the font will be treated as an italic font;
174 if the 02 bit is set,
175 then it will be treated as a bold font.
176 The code field in the font description field gives the
177 code which will be used to output the character.
178 This code can also be used in the
187 Suppress the use of overstriking for bold characters.
194 Use only overstriking for bold-italic characters.
203 old output format (see above).
204 This also disables color output.
214 .B \[rs]D'l\|.\|.\|.\&'
215 commands that have at least one zero argument
216 (and so are either horizontal or vertical)
226 Use form feeds in the output.
227 A form feed will be output at the end of each page that has no output
234 to the search path for font and device description files;
236 is the name of the device, usually
244 Use horizontal tabs in the output.
245 Tabs are assumed to be set every 8 columns.
249 Use escape sequences to set the italic text attribute instead of the
250 underline attribute for italic fonts (`I' and `BI').
251 Note that most terminals (including xterm) don't support this.
258 Suppress overstriking (other than for bold or underlined characters in
259 case the old output format has been activated with
264 Suppress the use of underlining for italic characters.
271 Use only underlining for bold-italic characters.
278 Print the version number.
284 If set, the old drawing scheme for bold and underline (using the
285 backspace character) is active.
291 .B @FONTDIR@/devascii/DESC
292 Device description file for
297 .BI @FONTDIR@/devascii/ F
298 Font description file for font
305 .B @FONTDIR@/devlatin1/DESC
306 Device description file for
311 .BI @FONTDIR@/devlatin1/ F
312 Font description file for font
319 .B @FONTDIR@/devutf8/DESC
320 Device description file for
325 .BI @FONTDIR@/devutf8/ F
326 Font description file for font
333 .B @FONTDIR@/devcp1047/DESC
334 Device description file for
339 .BI @FONTDIR@/devcp1047/ F
340 Font description file for font
347 .B @MACRODIR@/tty.tmac
352 .B @MACRODIR@/tty-char.tmac
353 Additional klugdey character definitions for use with
356 Note that on EBCDIC hosts, only files for the
358 device will be installed.
364 is intended only for simple documents.
366 There is no support for fractional horizontal or vertical motions.
368 There is no support for
371 other than horizontal and vertical lines.
373 Characters above the first line (ie with a vertical position of\~0)
376 Color handling is different compared to
377 .BR grops (@MAN1EXT@).
379 doesn't set the fill color for closed graphic objects (which
381 doesn't support anyway) but changes the background color of the character
382 cell, affecting all subsequent operations.
386 .BR groff (@MAN1EXT@),
387 .BR @g@troff (@MAN1EXT@),
388 .BR groff_out (@MAN5EXT@),
389 .BR groff_font (@MAN5EXT@),
390 .BR groff_char (@MAN7EXT@),