XIF(1) — NEWS-OS Programmer’s Manual
NAME
xif − Previews CDIF documents on X
SYNOPSIS
xif [ options ]
DESCRIPTION
The xif command accepts CDIF (intermediate output format for CDFF) binary files as input and displays them reduced by 1/16th (100 dpi) in a window on X. This command can use both extended and multi font sets (NWF-605/NWF-629/NWF-631 to 636C) as well as the basic font set (NWF-604). If no font set has been installed, the command uses the CGI stroke font for simplified output.
OPTIONS
The following options are available for this command.
−help Writes a summary of all options on the standard error.
−i cdif-binary-file
Specifies the cdif binary file to use as input. xif reads its input from the standard input if no file is specified.
−display display-name
Specifies the X server to connect. For details, see X(1).
display-name specifies either "host-name:display-number:screen-number" or just "host-name:display-number". If this option is not specified, the preview is made on display 0 of the local host.
−geometry geometry
Specifies the size and location of the window. For details, see X(1).
−f fontname Specifies the font file to use for the display. At present, only the CGI stroke font vsfont32 can be specified as the fontname.
If this option is not specified, the extended and multi font sets (NWF-605/NWF-629/NWF-631 to 633C) and the basic font set (NWF-604) will be used. CDFF external fonts are always used regardless of the specification as long as the corresponding font file exists.
−vs Displays the document using the CGI stroke font. This is the same as specifying the use of vsfont32 with the −f option.
−fg color Specifies the foreground color to use in the window. The default is black.
−bg color Specifies the background color to use in the window. The default is white.
−bd color Specifies the border color to use around the window. The default is black.
−bw number Specifies the width of the window border in pixels.
−dir directory Specifies the directory to be created a temporary file for storing input data. If this option is omitted, input data is stored on memory. It is useful for a large input data which can’t be stored on memory.
USAGE
Documents being previewed using xif can be manipulated using the mouse and keyboard as described below.
FORWARD PAGE
Press the right mouse button or ’f’ key to display the following page. You can forward several pages at once by specifying the desired number of pages to skip prior to above operation.
Does nothing on the first page.
BACK PAGE Press the left mouse button or ’b’ key to display the previous page. You can go back pages at once by specifying the desired number of pages to skip prior to above operation.
Does nothing on the first page.
GOTO PAGE Enter the desired page number and press a return key or enter key to go to a specific page.
SCROLL Press the middle mouse botton with shift key pressed. The screen scrolls as you drag a hand shaped cursor.
QUIT Press ’q’ key to quit the program.
MENU Press the middle mouse button to display a menu. Release the mouse button on the desired item to perform the corresponding action. Actions are available as shown below.
[look above]Shows higher parts of the page
[look left]Shows parts of the page further left
[look right]Shows parts of the page further right
[look below]Shows lower parts of the page
[prev page]Shows previous page
[next page]Shows next page
[quit]Quits the previewer
Any other keys will cancell the number of pages to skip if it has been set (described above).
X DEFAULTS
xif uses the routine XGetDefault(3X11) to read defaults.
BorderWidth Specifies the border width of the window.
BorderColor Specifies the border color of the window.
Foreground Specifies the foreground color.
Background Specifies the background color.
Geometry Specifies the size and location of the window.
ENVIRONMENT
DISPLAY Gets the default host name and display number.
FILES
/usr/sony/lib/font/devnwp533/CRT/sm∗
Kanji font files
/usr/sony/lib/font/devnwp533/{pmt,dn}/∗
Kanji outline font files (multi font set)
/usr/sony/lib/font/devnwp533/{Mincho,Gothic}.vfont
Kanji outline font files (extended font set)
/usr/sony/lib/font/devnwp533/Cdffext.vfont
CDFF external outline font file
/usr/sony/lib/font/devnwp533/{G∗,M∗}.font
Kanji bitmap font files (basic font set)
/usr/sony/lib/font/vsfont32
CGI stroke font file
SEE ALSO
The online document "CDIF Format Specification Manual".
cdff(5), lpf_lbpif(8)
BUGS
CGI stroke font file is based on JIS C6226-1978. In the case of previewing by using −vs option etc., rule line elements and some characters are not displayed.
NEWS-OSRelease 4.1C