XDL(1)

NAME
xdl - display DL animations in an X window.

SYNOPSIS
xdl [-v] [-h] [-z] [-r frames/second] [-d display] [file file...]

DESCRIPTION
Xdl reads files in DL format and displays the animations in those files in an X window. An animation can also be read from standard input by giving a '-' in the file list or by not specifying any files at all on the command line. The program can be run on monochrome (1 bit per pixel), colormapped (8 bits per pixel) and full color (24 bits per pixel) systems. On monochrome systems the images is halftoned with the Floyd-Steinberg algorithm.

OPTIONS

-h  Write some help about how the program should be started.

-v  Make the program talk a lot about what it thinks it is doing.

-z  If the animation is in medium format (160 x 100) it will be zoomed up to large format (320 x 200). If run on a color display the zoom operation is simple nearest neighbour, on a monochrome display some smoothing will be performed. If the animation is in large format this switch will be ignored.

-r frames/second
    Determines the rate of the animation, ie how many frames per second that should be displayed. The minimum is 2 and the default is 25. The given rate is a maximum.

-d display
    Specify the name of the X display to connect to.

INTERACTION
While the program is running, it handles the following events:

'n', <space> or <left mousebutton>
    Stop displaying the current animation and move on to the next file specifiad on the command line. If it was the last file the program will exit.

'q' or <right mousebutton>
    End the animation and exit the program.

EXAMPLES
Display the animation foo.dl at 25 frames per second.

    xdl foo.dl

Display the animation fie.dl, zoomed to large format, at 12 frames per second.

    xdl -z -r 12 fie.dl

BUGS

There should be smoothing when zooming in color also.

The code is unreadable.

AUTHOR
Jonas Yngvesson <jonas-y@isy.liu.se>

The program is derived from dltogl by George Phillips <phillips@cs.ubc.ca>

The suggestion (and code) to allow the user to set the animation rate came from Per Beremark <per.beremark@telelogic.se>

Initial support for multi file view and click to exit, support for -v (verbose) flag, port (sort of) to Interactive 386/ix (and others without setitimer/getitimer) was done by Mats Lofstrom <mla@enea.se>