2 $FreeBSD: src/contrib/groff/src/devices/grotty/grotty.man,v 1.4.2.3 2003/02/14 15:22:03 ru Exp $
3 $DragonFly: src/contrib/groff/src/devices/grotty/Attic/grotty.man,v 1.2 2003/06/17 04:24:02 dillon Exp $
4 Copyright (C) 1989-2000, 2001, 2002 Free Software Foundation, Inc.
6 Permission is granted to make and distribute verbatim copies of
7 this manual provided the copyright notice and this permission notice
8 are preserved on all copies.
10 Permission is granted to copy and distribute modified versions of this
11 manual under the conditions for verbatim copying, provided that the
12 entire resulting derived work is distributed under the terms of a
13 permission notice identical to this one.
15 Permission is granted to copy and distribute translations of this
16 manual into another language, under the above conditions for modified
17 versions, except that this permission notice may be included in
18 translations approved by the Free Software Foundation instead of in
23 .TH GROTTY @MAN1EXT@ "@MDATE@" "Groff Version @VERSION@"
25 grotty \- groff driver for typewriter-like devices
38 It is possible to have whitespace between the
40 option and its parameter.
45 translates the output of GNU
47 into a form suitable for typewriter-like devices.
50 should be invoked by using the
59 option on ASCII based systems, and with
63 on EBCDIC based hosts.
64 If no files are given,
66 will read the standard input.
71 to read the standard input.
72 Output is written to the standard output.
76 emits SGR escape sequences (from ISO 6429, also called ANSI color escapes)
77 to change text attributes (bold, italic, colors).
78 This makes it possible to have eight different \M[green]background\M[]
79 and \m[red]foreground\m[] colors; additionally, bold and italic
80 attributes can be used \f[BI]at the same time\f[] (by using the BI font).
82 The following colors are defined in
84 black, white, red, green, blue, yellow, magenta, cyan.
85 Unknown colors are mapped to the default color (which is dependent on the
86 settings of the terminal; in most cases, this is black for the foreground
87 and white for the background).
91 switch to revert to the old behaviour, printing a bold character
97 and an italic character
103 At the same time, color output is disabled.
104 The same effect can be achieved by setting either the
106 environment variable or using the `sgr' X command (see below).
108 For SGR support, it is necessary to use the
112 to disable the interpretation of
115 Consequently, all programs which use
117 as the pager program have to pass this option to it.
120 in particular, either add
124 environment variable, e.g.\&
127 .B PAGER="/usr/bin/less -R"
136 to set the pager executable and its options, or modify the configuration
139 in a similar fashion.
142 old output format can be displayed on a terminal
149 are also able to display these sequences.
160 There is no need to filter the output through
164 never outputs reverse line feeds.
166 The font description file may contain a command
172 is a decimal integer.
176 then the font will be treated as an italic font;
177 if the 02 bit is set,
178 then it will be treated as a bold font.
179 The code field in the font description field gives the
180 code which will be used to output the character.
181 This code can also be used in the
190 Suppress the use of overstriking for bold characters.
197 Use only overstriking for bold-italic characters.
206 old output format (see above).
207 This also disables color output.
217 .B \[rs]D'l\|.\|.\|.\&'
218 commands that have at least one zero argument
219 (and so are either horizontal or vertical)
229 Use form feeds in the output.
230 A form feed will be output at the end of each page that has no output
237 to the search path for font and device description files;
239 is the name of the device, usually
248 Use horizontal tabs in the output.
249 Tabs are assumed to be set every 8 columns.
253 Use escape sequences to set the italic text attribute instead of the
254 underline attribute for italic fonts (`I' and `BI').
255 Note that most terminals (including xterm) don't support this.
262 Suppress overstriking (other than for bold or underlined characters in
263 case the old output format has been activated with
268 Use escape sequences to set the reverse text attribute instead of the
269 underline attribute for italic fonts (`I' and `BI').
276 Suppress the use of underlining for italic characters.
283 Use only underlining for bold-italic characters.
290 Print the version number.
295 understands a single X command produced using the
299 .BI \[rs]X'tty:\ sgr\ n '
302 is non-zero or missing, enable SGR output (this is the default), otherwise
303 use the old drawing scheme for bold and underline.
309 If set, the old drawing scheme for bold and underline (using the
310 backspace character) is active.
316 .B @FONTDIR@/devascii/DESC
317 Device description file for
322 .BI @FONTDIR@/devascii/ F
323 Font description file for font
329 .B @FONTDIR@/devkoi8-r/DESC
330 Device description file for
334 .BI @FONTDIR@/devkoi8-r/ F
335 Font description file for font
342 .B @FONTDIR@/devlatin1/DESC
343 Device description file for
348 .BI @FONTDIR@/devlatin1/ F
349 Font description file for font
356 .B @FONTDIR@/devutf8/DESC
357 Device description file for
362 .BI @FONTDIR@/devutf8/ F
363 Font description file for font
370 .B @FONTDIR@/devcp1047/DESC
371 Device description file for
376 .BI @FONTDIR@/devcp1047/ F
377 Font description file for font
384 .B @MACRODIR@/tty.tmac
389 .B @MACRODIR@/tty-char.tmac
390 Additional klugdey character definitions for use with
393 Note that on EBCDIC hosts, only files for the
395 device will be installed.
401 is intended only for simple documents.
403 There is no support for fractional horizontal or vertical motions.
405 There is no support for
408 other than horizontal and vertical lines.
410 Characters above the first line (ie with a vertical position of\~0)
413 Color handling is different compared to
414 .BR grops (@MAN1EXT@).
416 doesn't set the fill color for closed graphic objects (which
418 doesn't support anyway) but changes the background color of the character
419 cell, affecting all subsequent operations.
423 .BR groff (@MAN1EXT@),
424 .BR @g@troff (@MAN1EXT@),
425 .BR groff_out (@MAN5EXT@),
426 .BR groff_font (@MAN5EXT@),
427 .BR groff_char (@MAN7EXT@),