XPREV(1) — UNIX Programmer’s Manual
NAME
xprev - Ditroff previewer for X
SYNOPSIS
xprev [-toolkitoption ...] [-option ...] [ file ...]
DESCRIPTION
Xprev shows 1/16 compressed image (100dpi) of ditroff output to X-window.
If no file argument is given, the standard input is read. An argument consisting of a single minus (−) is taken to be a file name corresponding to the standard input.
This version can process Japanese Kanji characters. (Shift-JIS code) Input file should be a intermediate file which is generated by ditroff.
OPTIONS
−help This option indicates that a brief summary of the allowed options should be printed on the standard error.
−b4 This option indicates that page size is B4. By default, page size is A4.
−bg color
This option specifies the color to use for the background of the window. The default is “white.”
−bd color
This option specifies the color to use for the border of the window. The default is “black.”
−bw number
This option specifies the width in pixels of the border surrounding the window.
−fg color
This option specifies the color to use for the foreground of the window. The default is “black.”
−geometry geometry
This option specifies the prefered size and position of the mailbox window; see X(N).
−display display
This option specifies the X server to contact; see X(N).
OPERATIONS
Xprev accepts 3 commands as follows:
NEXT Press right button to show next page. At the last page, it causes to quit.
PREV Press left button to show previous page. At the first page, it makes no effect.
QUIT Press middle button twice to quit.
X DEFAULTS
The xprev program uses the routine XGetDefault(3X) to read defaults, so its resource names are all capitalized.
BorderWidth
Set the border width of the window.
BorderColor
Set the border color of the window.
Foreground
Set the foreground color.
Background
Set the background color.
Size If “b4”, set the page size to B4.
ENVIRONMENT
DISPLAY
to get the default host and display number.
XENVIRONMENT
to get the name of a resource file that overrides the global resources stored in the RESOURCE_MANGER property.
FILES
/usr/lib/font/devnwp533/xprev/sm∗Alpha-Numeric font files
/usr/lib/font/devnwp533/xprev/vk[gm]Kanji vector (frame) font files
/usr/lib/font/devnwp533/xprev/G1[01247].fontKanji Gothic bitmap font files
/usr/lib/font/devnwp533/xprev/M1[01247].fontKanji Mincho bitmap font files
SEE ALSO
J.F.Ossanna Nroff/Troff user’s manual
B.W.Kernighan, A Troff Tutorial
ditroff(S), eqn(1), nroff(1), pic(S), tbl(1).
NEWS-OSRelease 3.3