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 eight different \M[green]background\M[]
76 and \m[red]foreground\m[] colors; additionally, bold and italic
77 attributes can be used \f[BI]at the same time\f[] (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 either the
103 environment variable or using the `sgr' X command (see below).
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 Use escape sequences to set the reverse text attribute instead of the
265 underline attribute for italic fonts (`I' and `BI').
272 Suppress the use of underlining for italic characters.
279 Use only underlining for bold-italic characters.
286 Print the version number.
291 understands a single X command produced using the
295 .BI \[rs]X'tty:\ sgr\ n '
298 is non-zero or missing, enable SGR output (this is the default), otherwise
299 use the old drawing scheme for bold and underline.
305 If set, the old drawing scheme for bold and underline (using the
306 backspace character) is active.
312 .B @FONTDIR@/devascii/DESC
313 Device description file for
318 .BI @FONTDIR@/devascii/ F
319 Font description file for font
326 .B @FONTDIR@/devlatin1/DESC
327 Device description file for
332 .BI @FONTDIR@/devlatin1/ F
333 Font description file for font
340 .B @FONTDIR@/devutf8/DESC
341 Device description file for
346 .BI @FONTDIR@/devutf8/ F
347 Font description file for font
354 .B @FONTDIR@/devcp1047/DESC
355 Device description file for
360 .BI @FONTDIR@/devcp1047/ F
361 Font description file for font
368 .B @MACRODIR@/tty.tmac
373 .B @MACRODIR@/tty-char.tmac
374 Additional klugdey character definitions for use with
377 Note that on EBCDIC hosts, only files for the
379 device will be installed.
385 is intended only for simple documents.
387 There is no support for fractional horizontal or vertical motions.
389 There is no support for
392 other than horizontal and vertical lines.
394 Characters above the first line (ie with a vertical position of\~0)
397 Color handling is different compared to
398 .BR grops (@MAN1EXT@).
400 doesn't set the fill color for closed graphic objects (which
402 doesn't support anyway) but changes the background color of the character
403 cell, affecting all subsequent operations.
407 .BR groff (@MAN1EXT@),
408 .BR @g@troff (@MAN1EXT@),
409 .BR groff_out (@MAN5EXT@),
410 .BR groff_font (@MAN5EXT@),
411 .BR groff_char (@MAN7EXT@),