GROTTY(1) | General Commands Manual | GROTTY(1) |
NAME
grotty - groff driver for typewriter-like devicesSYNOPSIS
grotty [ -bBcdfhioruUv ] [ -Fdir ] [ files... ]DESCRIPTION
grotty translates the output of GNU troff into a form suitable for typewriter-like devices. Normally grotty should be invoked by using the groff command with a -Tascii, -Tlatin1 or -Tutf8 option on ASCII based systems, and with -Tcp1047 and -Tutf8 on EBCDIC based hosts. If no files are given, grotty reads the standard input. A filename of - also causes grotty to read the standard input. Output is written to the standard output.- internalname n
OPTIONS
- -b
- Suppress the use of overstriking for bold characters. Ignored if -c isn't used.
- -B
- Use only overstriking for bold-italic characters. Ignored if -c isn't used.
- -c
- Use grotty's old output format (see above). This also disables color output.
- -d
- Ignore all \D commands. Without this grotty renders \D'l...' commands that have at least one zero argument (and so are either horizontal or vertical) using -, |, and + characters. In a similar way, grotty handles \D'p...' commands which consist entirely of horizontal and vertical lines.
- -f
- Use form feeds in the output. A form feed is output at the end of each page that has no output on its last line.
- -Fdir
- Prepend directory dir/devname to the search path for font and device description files; name is the name of the device, usually ascii, latin1, utf8, or cp1047.
- -h
- Use horizontal tabs in the output. Tabs are assumed to be set every 8 columns.
- -i
- Use escape sequences to set the italic text attribute instead of the underline attribute for italic fonts (`I' and `BI'). Note that most terminals (including xterm) don't support this. Ignored if -c is active.
- -o
- Suppress overstriking (other than for bold or underlined characters in case the old output format has been activated with -c).
- -r
- Use escape sequences to set the reverse text attribute instead of the underline attribute for italic fonts (`I' and `BI'). Ignored if -c is active.
- -u
- Suppress the use of underlining for italic characters. Ignored if -c isn't used.
- -U
- Use only underlining for bold-italic characters. Ignored if -c isn't used.
- -v
- Print the version number.
USAGE
grotty understands a single X command produced using the \X escape sequence.- \X'tty: sgr n'
- If n is non-zero or missing, enable SGR output (this is the default), otherwise use the old drawing scheme for bold and underline.
ENVIRONMENT
- GROFF_NO_SGR
- If set, the old drawing scheme for bold and underline (using the backspace character) is active. Colors are disabled.
- GROFF_FONT_PATH
- A list of directories in which to search for the devname directory in addition to the default ones. See troff(1) and groff_font(5) for more details.
FILES
- /share/groff/1.22.1/font/devascii/DESC
- Device description file for ascii device.
- /share/groff/1.22.1/font/devascii/F
- Font description file for font F of ascii device.
- /share/groff/1.22.1/font/devlatin1/DESC
- Device description file for latin1 device.
- /share/groff/1.22.1/font/devlatin1/F
- Font description file for font F of latin1 device.
- /share/groff/1.22.1/font/devutf8/DESC
- Device description file for utf8 device.
- /share/groff/1.22.1/font/devutf8/F
- Font description file for font F of utf8 device.
- /share/groff/1.22.1/font/devcp1047/DESC
- Device description file for cp1047 device.
- /share/groff/1.22.1/font/devcp1047/F
- Font description file for font F of cp1047 device.
- /share/groff/1.22.1/tmac/tty.tmac
- Macros for use with grotty.
- /share/groff/1.22.1/tmac/tty-char.tmac
- Additional klugdey character definitions for use with grotty.
BUGS
grotty is intended only for simple documents.SEE ALSO
groff(1), troff(1), groff_out(5), groff_font(5), groff_char(7), ul(1), more(1), man(1), less(1)30 December 2012 | Groff Version 1.22.1 |