man.bsd.lv manual page server

Manual Page Search Parameters

DTERM(1) General Commands Manual DTERM(1)

dterm - ditroff output interpreter for terminals

dterm [ options ] [ file ]

Dterm interprets its input (standard input default) as output from ditroff(I) and sends its output to standard out. Dterm is intended as a very rough previewer for seeing how a paper will be layed out. Input processed for any typesetter is mapped into a terminal's resolution to place characters approximately where they would appear on the final output device. This is not meant to be readable (except with the -a option, see below), and some characters will be missing. Typical usage:

ditroff -t file | dterm
            or
ditroff -P`dev' -t file > intermediate
dterm intermediate

At the end of each page dterm prompts the user and waits for a newline (empty line) from the keyboard before continuing on to the next page. In this wait state, dterm accepts a few commands. Enter ? to print the list of available commands.

The command line options are:

Don't wait between pages; for directing output to more or into a file.
prints only the pages enumerated in list. The list consists of pages and page ranges (e.g., 5-17) separated by commas. The range n- goes from n to the end; the range -n goes from the beginning to and including page n.
Set the horizontal resolution (in characters per inch) to n; default is 10.0.
Set the vertical resolution (in lines per inch) to n; default is 6.0.
Set the maximum line length (in characters) to n; default is 79.
Allow printing of margins (default action is for dterm to print out only enough to show what's on the page). -m forces printing a page from the upper-left corner.
force text to come out in a readable form (meant to look something like ``ditroff -a''). This usually pushes the text farther right than it was meant to go. It also does not prevent lines of text from a coming out on top of each other.
Put a form feed (^L) at the end of each page.
Equivalent to ``-c -L -h20 -v12 -l131'' to format for extra-large printouts on a line-printer.
Get special character file (see below) from s instead of the default /usr/lib/font/devter/specfile.

The ``specfile'' is a file of special character translations that map troff special character names to strings to print on a terminal. Each line in the file consists of two strings separated by a space. The first string is the special character name in troff and the second is what to print on the terminal. Special characters NOT in this file will not print anything.

ditroff(1)

4.4BSD-Lite2