1 .TH GROTTY @MAN1EXT@ "@MDATE@" "groff @VERSION@"
3 grotty \- groff driver for typewriter-like devices
6 .\" ====================================================================
8 .\" ====================================================================
10 .\" Copyright (C) 1989-2018 Free Software Foundation, Inc.
12 .\" Permission is granted to make and distribute verbatim copies of this
13 .\" manual provided the copyright notice and this permission notice are
14 .\" preserved on all copies.
16 .\" Permission is granted to copy and distribute modified versions of
17 .\" this manual under the conditions for verbatim copying, provided that
18 .\" the entire resulting derived work is distributed under the terms of
19 .\" a permission notice identical to this one.
21 .\" Permission is granted to copy and distribute translations of this
22 .\" manual into another language, under the above conditions for
23 .\" modified versions, except that this permission notice may be
24 .\" included in translations approved by the Free Software Foundation
25 .\" instead of in the original English.
28 .\" Save and disable compatibility mode (for, e.g., Solaris 10/11).
29 .do nr grotty_C \n[.C]
33 .\" ====================================================================
35 .\" ====================================================================
45 .\" ====================================================================
47 .\" ====================================================================
50 translates the output of GNU
52 into a form suitable for typewriter-like devices.
56 should be invoked by using the
63 option on ASCII based systems, and with
67 on EBCDIC based hosts.
69 If no files are given,
71 reads the standard input.
77 to read the standard input.
79 Output is written to the standard output.
85 emits SGR escape sequences (from ISO 6429, also called ANSI color
86 escapes) to change text attributes (bold, italic, colors).
88 This makes it possible to have eight different background and
89 foreground colors; additionally, bold and italic attributes can be
90 used \f[BI]at the same time\f[] (by using the BI font).
94 The following colors are defined in
96 black, white, red, green, blue, yellow, magenta, cyan.
98 Unknown colors are mapped to the default color (which is dependent on
99 the settings of the terminal; in most cases, this is black for the
100 foreground and white for the background).
106 switch to revert to the old behaviour, printing a bold character
112 and an italic character
119 At the same time, color output is disabled.
121 The same effect can be achieved by setting either the
123 environment variable or using the \[oq]sgr\[cq] X command (see below).
127 For SGR support, it is necessary to use the
131 to disable the interpretation of
135 Consequently, all programs which use
137 as the pager program have to pass this option to it.
141 in particular, either add
145 environment variable, e.g.\&
149 .B PAGER="/usr/bin/less \-R"
159 to set the pager executable and its options, or modify the
160 configuration file of
162 in a similar fashion.
166 versions, you have to use the
168 environment variable instead.
173 old output format can be displayed on a terminal
180 are also able to display these sequences.
191 There is no need to filter the output through
195 never outputs reverse line feeds.
199 The font description file may contain a command
207 is a decimal integer.
212 then the font is treated as an italic font;
213 if the 02 bit is set,
214 then it is treated as a bold font.
216 The code field in the font description field gives the code which is
217 used to output the character.
219 This code can also be used in the
228 file contains the keyword
231 emits Unicode characters in UTF-8 encoding.
233 Otherwise, it emits characters in a single-byte encoding depending on
234 the data in the font description files.
237 .BR groff_font (@MAN5EXT@)
238 man page for more details.
241 .\" ====================================================================
243 .\" ====================================================================
245 Whitespace is permitted between a command-line option and its argument.
250 Suppress the use of overstriking for bold characters.
258 Use only overstriking for bold-italic characters.
267 old output format (see above).
268 This also disables color output.
279 .B \[rs]D'l\|.\|.\|.\&'
280 commands that have at least one zero argument
281 (and so are either horizontal or vertical)
292 .B \[rs]D'p\|.\|.\|.\&'
293 commands which consist entirely of horizontal and vertical lines.
298 Use form feeds in the output.
300 A form feed is output at the end of each page that has no output on
307 to the search path for font and device description files;
309 is the name of the device, usually
318 Use horizontal tabs in the output.
320 Tabs are assumed to be set every 8 columns.
324 Use escape sequences to set the italic text attribute instead of the
325 underline attribute for italic fonts (\[oq]I\[cq] and \[oq]BI\[cq]).
327 Note that most terminals (including xterm) don't support this.
335 Suppress overstriking (other than for bold or underlined characters in
336 case the old output format has been activated with
341 Use escape sequences to set the reverse text attribute instead of the
342 underline attribute for italic fonts (\[oq]I\[cq] and \[oq]BI\[cq]).
350 Suppress the use of underlining for italic characters.
358 Use only underlining for bold-italic characters.
366 Print the version number.
369 .\" ====================================================================
371 .\" ====================================================================
374 understands a single X command produced using the
379 .BI \[rs]X'tty:\ sgr\ n '
383 is non-zero or missing, enable SGR output (this is the default),
384 otherwise use the old drawing scheme for bold and underline.
387 .\" ====================================================================
389 .\" ====================================================================
393 If set, the old drawing scheme for bold and underline (using the
394 backspace character) is active.
401 A list of directories in which to search for the
403 directory in addition to the default ones.
406 .BR @g@troff (@MAN1EXT@)
408 .BR \%groff_font (@MAN5EXT@)
412 .\" ====================================================================
414 .\" ====================================================================
417 .I @FONTDIR@/devascii/DESC
418 Device description file for the
423 .IR @FONTDIR@/devascii/ F
424 Font description file for font
431 .I @FONTDIR@/devlatin1/DESC
432 Device description file for the
437 .IR @FONTDIR@/devlatin1/ F
438 Font description file for font
445 .I @FONTDIR@/devutf8/DESC
446 Device description file for the
451 .IR @FONTDIR@/devutf8/ F
452 Font description file for font
459 .I @FONTDIR@/devcp1047/DESC
460 Device description file for the
465 .IR @FONTDIR@/devcp1047/ F
466 Font description file for font
473 .I @MACRODIR@/tty.tmac
478 .I @MACRODIR@/tty\-char.tmac
479 Additional character definitions for use with
483 Note that on EBCDIC hosts, only files for the
488 .\" ====================================================================
490 .\" ====================================================================
493 is intended only for simple documents.
497 There is no support for fractional horizontal or vertical motions.
501 There is no support for
503 commands other than horizontal and vertical lines.
507 Characters above the first line (i.e.\& with a vertical position
508 of\~0) cannot be printed.
512 Color handling differs from
513 .BR grops (@MAN1EXT@).
515 doesn't set the fill color for closed graphic objects (which
517 doesn't support anyway) but changes the background color of the
518 character cell, affecting all subsequent operations.
521 .\" ====================================================================
523 .\" ====================================================================
524 .BR groff (@MAN1EXT@),
525 .BR @g@troff (@MAN1EXT@),
526 .BR groff_out (@MAN5EXT@),
527 .BR groff_font (@MAN5EXT@),
528 .BR groff_char (@MAN7EXT@),
535 .\" Restore compatibility mode (for, e.g., Solaris 10/11).
542 .\" vim: set filetype=groff: