2 .TH GROTTY @MAN1EXT@ "@MDATE@" "Groff Version @VERSION@"
4 grotty \- groff driver for typewriter-like devices
9 Copyright \[co] 1989-2014 Free Software Foundation, Inc.
11 Permission is granted to make and distribute verbatim copies of
12 this manual provided the copyright notice and this permission notice
13 are preserved on all copies.
15 Permission is granted to copy and distribute modified versions of this
16 manual under the conditions for verbatim copying, provided that the
17 entire resulting derived work is distributed under the terms of a
18 permission notice identical to this one.
20 Permission is granted to copy and distribute translations of this
21 manual into another language, under the above conditions for modified
22 versions, except that this permission notice may be included in
23 translations approved by the Free Software Foundation instead of in
27 .do nr grotty_C \n[.C]
31 .\" --------------------------------------------------------------------
33 .\" --------------------------------------------------------------------
44 It is possible to have whitespace between the
46 option and its parameter.
49 .\" --------------------------------------------------------------------
51 .\" --------------------------------------------------------------------
54 translates the output of GNU
56 into a form suitable for typewriter-like devices.
60 should be invoked by using the
67 option on ASCII based systems, and with
71 on EBCDIC based hosts.
73 If no files are given,
75 reads the standard input.
81 to read the standard input.
83 Output is written to the standard output.
89 emits SGR escape sequences (from ISO 6429, also called ANSI color
90 escapes) to change text attributes (bold, italic, colors).
92 This makes it possible to have eight different background and
93 foreground colors; additionally, bold and italic attributes can be
94 used \f[BI]at the same time\f[] (by using the BI font).
98 The following colors are defined in
100 black, white, red, green, blue, yellow, magenta, cyan.
102 Unknown colors are mapped to the default color (which is dependent on
103 the settings of the terminal; in most cases, this is black for the
104 foreground and white for the background).
110 switch to revert to the old behaviour, printing a bold character
116 and an italic character
123 At the same time, color output is disabled.
125 The same effect can be achieved by setting either the
127 environment variable or using the \[oq]sgr\[cq] X command (see below).
131 For SGR support, it is necessary to use the
135 to disable the interpretation of
139 Consequently, all programs which use
141 as the pager program have to pass this option to it.
145 in particular, either add
149 environment variable, e.g.\&
153 .B PAGER="/usr/bin/less \-R"
163 to set the pager executable and its options, or modify the
164 configuration file of
166 in a similar fashion.
170 versions, you have to use the
172 environment variable instead.
177 old output format can be displayed on a terminal
184 are also able to display these sequences.
195 There is no need to filter the output through
199 never outputs reverse line feeds.
203 The font description file may contain a command
211 is a decimal integer.
216 then the font is treated as an italic font;
217 if the 02 bit is set,
218 then it is treated as a bold font.
220 The code field in the font description field gives the code which is
221 used to output the character.
223 This code can also be used in the
232 file contains the keyword
235 emits Unicode characters in UTF-8 encoding.
237 Otherwise, it emits characters in a single-byte encoding depending on
238 the data in the font description files.
241 .BR groff_font (@MAN5EXT@)
242 man page for more details.
245 .\" --------------------------------------------------------------------
247 .\" --------------------------------------------------------------------
251 Suppress the use of overstriking for bold characters.
259 Use only overstriking for bold-italic characters.
268 old output format (see above).
269 This also disables color output.
280 .B \[rs]D'l\|.\|.\|.\&'
281 commands that have at least one zero argument
282 (and so are either horizontal or vertical)
293 .B \[rs]D'p\|.\|.\|.\&'
294 commands which consist entirely of horizontal and vertical lines.
299 Use form feeds in the output.
301 A form feed is output at the end of each page that has no output on
308 to the search path for font and device description files;
310 is the name of the device, usually
319 Use horizontal tabs in the output.
321 Tabs are assumed to be set every 8 columns.
325 Use escape sequences to set the italic text attribute instead of the
326 underline attribute for italic fonts (\[oq]I\[cq] and \[oq]BI\[cq]).
328 Note that most terminals (including xterm) don\[aq]t support this.
336 Suppress overstriking (other than for bold or underlined characters in
337 case the old output format has been activated with
342 Use escape sequences to set the reverse text attribute instead of the
343 underline attribute for italic fonts (\[oq]I\[cq] and \[oq]BI\[cq]).
351 Suppress the use of underlining for italic characters.
359 Use only underlining for bold-italic characters.
367 Print the version number.
370 .\" --------------------------------------------------------------------
372 .\" --------------------------------------------------------------------
375 understands a single X command produced using the
380 .BI \[rs]X'tty:\ sgr\ n '
384 is non-zero or missing, enable SGR output (this is the default),
385 otherwise use the old drawing scheme for bold and underline.
388 .\" --------------------------------------------------------------------
390 .\" --------------------------------------------------------------------
395 If set, the old drawing scheme for bold and underline (using the
396 backspace character) is active.
404 A list of directories in which to search for the
406 directory in addition to the default ones.
409 .BR @g@troff (@MAN1EXT@)
411 .BR \%groff_font (@MAN5EXT@)
415 .\" --------------------------------------------------------------------
417 .\" --------------------------------------------------------------------
420 .B @FONTDIR@/devascii/DESC
421 Device description file for
426 .BI @FONTDIR@/devascii/ F
427 Font description file for font
434 .B @FONTDIR@/devlatin1/DESC
435 Device description file for
440 .BI @FONTDIR@/devlatin1/ F
441 Font description file for font
448 .B @FONTDIR@/devutf8/DESC
449 Device description file for
454 .BI @FONTDIR@/devutf8/ F
455 Font description file for font
462 .B @FONTDIR@/devcp1047/DESC
463 Device description file for
468 .BI @FONTDIR@/devcp1047/ F
469 Font description file for font
476 .B @MACRODIR@/tty.tmac
481 .B @MACRODIR@/tty-char.tmac
482 Additional kludgy character definitions for use with
486 Note that on EBCDIC hosts, only files for the
491 .\" --------------------------------------------------------------------
493 .\" --------------------------------------------------------------------
496 is intended only for simple documents.
500 There is no support for fractional horizontal or vertical motions.
504 There is no support for
506 commands other than horizontal and vertical lines.
510 Characters above the first line (i.e.\& with a vertical position
511 of\~0) cannot be printed.
515 Color handling is different compared to
516 .BR grops (@MAN1EXT@).
518 doesn\[aq]t set the fill color for closed graphic objects (which
520 doesn\[aq]t support anyway) but changes the background color of the
521 character cell, affecting all subsequent operations.
524 .\" --------------------------------------------------------------------
526 .\" --------------------------------------------------------------------
527 .BR groff (@MAN1EXT@),
528 .BR @g@troff (@MAN1EXT@),
529 .BR groff_out (@MAN5EXT@),
530 .BR groff_font (@MAN5EXT@),
531 .BR groff_char (@MAN7EXT@),
538 .\" --------------------------------------------------------------------
540 .\" --------------------------------------------------------------------