4 Copyright (c) 2014 - 2017 Steffen (Daode) Nurpmeso <steffen@sdaoden.eu>.
6 Copyright (C) 1989 - 2006
7 Free Software Foundation, Inc.
9 Permission is granted to make and distribute verbatim copies of
10 this manual provided the copyright notice and this permission notice
11 are preserved on all copies.
13 Permission is granted to copy and distribute modified versions of this
14 manual under the conditions for verbatim copying, provided that the
15 entire resulting derived work is distributed under the terms of a
16 permission notice identical to this one.
18 Permission is granted to copy and distribute translations of this
19 manual into another language, under the above conditions for modified
20 versions, except that this permission notice may be included in
21 translations approved by the Free Software Foundation instead of in
28 .TH @U_D_TTY@ @MAN1EXT@ "@MDATE@" "@T_ROFF@ v@VERSION@"
31 @L_D_TTY@ \- @T_ROFF@ driver for typewriter-like devices
44 It is possible to have whitespace between the
46 option and its parameter.
52 translates the output of
54 into a form suitable for typewriter-like devices.
57 should be invoked by using the
65 option on ASCII based systems, and with
69 on EBCDIC based hosts.
70 If no files are given,
72 reads the standard input.
75 also causes usage of standard input.
76 Output is written to the standard output.
79 By default SGR escape sequences (from ISO 6429, also called ANSI color
80 escapes) are emitted to change text attributes (bold, italic, colors).
81 This makes it possible to have eight different background and
82 foreground colors; additionally, bold and italic
83 attributes can be used \f[BI]at the same time\f[] (by using the BI font).
86 The following colors are defined in
88 black, white, red, green, blue, yellow, magenta, cyan.
89 Unknown colors are mapped to the default color (which is dependent on the
90 settings of the terminal; in most cases, this is black for the foreground
91 and white for the background).
96 switch to revert to the old behaviour, printing a bold character
102 and an italic character
108 At the same time, color output is disabled.
109 The same effect can be achieved by setting either the
111 environment variable or using the `sgr' X command (see below).
114 For SGR support, it is necessary to use the
118 to disable the interpretation of the old output format.
119 Consequently, all programs which use
121 as the pager program have to pass this option to it.
124 The old output format can be displayed on a terminal
131 are also able to display these sequences.
142 There is no need to filter the output through
146 never outputs reverse line feeds.
149 The font description file may contain a command
157 is a decimal integer.
161 then the font is treated as an italic font;
162 if the 02 bit is set,
163 then it is treated as a bold font.
164 The code field in the font description field gives the
165 code which is used to output the character.
166 This code can also be used in the
176 Suppress the use of overstriking for bold characters.
183 Use only overstriking for bold-italic characters.
190 Use the old output format (see above).
191 This also disables color output.
199 .B \[rs]D'l\|.\|.\|.\&'
200 commands that have at least one zero argument
201 (and so are either horizontal or vertical)
209 .B \[rs]D'p\|.\|.\|.\&'
210 commands are handled which consist entirely of horizontal and vertical
216 Use form feeds in the output.
217 A form feed is output at the end of each page that has no output
224 to the search path for font and device description files;
226 is the name of the device, usually
235 Use horizontal tabs in the output.
236 Tabs are assumed to be set every 8 columns.
240 Use escape sequences to set the italic text attribute instead of the
241 underline attribute for italic fonts (`I' and `BI').
242 Note that most terminals (including xterm) don't support this.
249 Suppress overstriking (other than for bold or underlined characters in
250 case the old output format has been activated with
255 Use escape sequences to set the reverse text attribute instead of the
256 underline attribute for italic fonts (`I' and `BI').
263 Suppress the use of underlining for italic characters.
270 Use only underlining for bold-italic characters.
277 Print the version number.
283 understands a single X command produced using the
288 .BI \[rs]X'tty:\ sgr\ n '
291 is non-zero or missing, enable SGR output (this is the default), otherwise
292 use the old drawing scheme for bold and underline.
300 If set, the old drawing scheme for bold and underline (using the
301 backspace character) is active.
307 .B @U_ROFF_FONT_PATH@
308 A list of directories in which to search for the
310 directory in addition to the default ones.
313 .BR @L_TROFF@ (@MAN1EXT@)
315 .BR \%@L_ROFF@-font (@MAN5EXT@)
322 .B @FONTDIR@/ascii/DESC
323 Device description file for
328 .BI @FONTDIR@/ascii/ F
329 Font description file for font
336 .B @FONTDIR@/latin1/DESC
337 Device description file for
342 .BI @FONTDIR@/latin1/ F
343 Font description file for font
350 .B @FONTDIR@/utf8/DESC
351 Device description file for
356 .BI @FONTDIR@/utf8/ F
357 Font description file for font
364 .B @FONTDIR@/cp1047/DESC
365 Device description file for
370 .BI @FONTDIR@/cp1047/ F
371 Font description file for font
378 .B @MACRODIR@/tty.tmac
383 .B @MACRODIR@/tty-char.tmac
384 Additional klugdey character definitions.
387 Note that on EBCDIC hosts, only files for the
389 device are installed.
396 is intended only for simple documents.
399 There is no support for fractional horizontal or vertical motions.
402 There is no support for
405 other than horizontal and vertical lines.
408 Characters above the first line (ie with a vertical position of\~0)
412 Color handling is different compared to
413 .BR @L_D_PS@ (@MAN1EXT@).
415 doesn't set the fill color for closed graphic objects (which
417 doesn't support anyway) but changes the background color of the character
418 cell, affecting all subsequent operations.
423 .BR @L_ROFF@ (@MAN1EXT@),
424 .BR @L_TROFF@ (@MAN1EXT@),
425 .BR @L_ROFF@-out (@MAN5EXT@),
426 .BR @L_ROFF@-font (@MAN5EXT@),
427 .BR @L_ROFF@-char (@MAN7EXT@),