XPREV(O) — NEWS-OS 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.
This version can process the document up to 1,000 pages.
This version can process Japanese Kanji characters. Input file in Shift-JIS code 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.
−size size
This option indicates that page size is size.
size is one of the followings:
sizemeaningsize in dots
a3 or a3pA3 portrait1128 ∗ 1612
a3lA3 landscape1712 ∗ 1128
a4 or a4pA4 portrait 784 ∗ 1129
a4lA4 landscape1128 ∗ 784
b4 or b4pB4 portrait 976 ∗ 1400
b4lB4 landscape1392 ∗ 968
b5 or b5pB5 portrait 676 ∗ 968
b5lB5 landscape 968 ∗ 676
The 4 sizes, a3, a4, b4, b5 are available.
And you can specify the direction of the page as ´p´ ( portrait ) or ´l´ ( landscape ). If you omit both ´p´ and ´l´, ´p´ is assumed.
If neither −b4 nor −size size is specified, page size is A4 by default.
−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.”
−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 Specify the page size. Use the same notation as size in −size option. For example, “b4” sets 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/sony/lib/font/devnwp533/CRT/sm∗
Alpha-Numeric font files
/usr/sony/lib/font/devnwp533/Cdffext.vfont
CDFF extention vector font file
/usr/sony/lib/font/devnwp533/{Mincho,Gothic}.vfont
Kanji vector font files
/usr/sony/lib/font/devnwp533/G1[01247].font
Kanji Gothic bitmap font files
/usr/sony/lib/font/devnwp533/M1[01247].font
Kanji Mincho bitmap font files
/usr/sony/lib/font/devnwp533/dn/∗
Bitmap and vector font files by Dai Nippon Insatsu corp.
/usr/sony/lib/font/devnwp533/pmt/∗
Bitmap and vector font files by Hiderberg PMT corp.
/usr/sony/etc/fonttab
Font information file
SEE ALSO
J.F.Ossanna Nroff/Troff user’s manual
B.W.Kernighan, A Troff Tutorial
" NEWS-OS Release 4.0 USER’S GUIDE / ditroff "
ditroff(1), eqn(1), nroff(1), pic(1), a3pic(1), tbl(1).
NEWS-OSRelease 4.1C