packages icon



 DICE()                                                               DICE()




 NAME
      dice - dice roll utility for The X11 Windows System.

 SYNOPSIS
      dice [-options] [-toolkitoption ...]

 DESCRIPTION
      dice opens a window a displays two 6 sided dice. clicking a mouse
      button in the window "rolls" the dice, using the unix random ()
      function to calculate the resulting values. The 'q' key exits the
      application.

      The following resources are defined, with their associated command
      line options:

      minTurns, maxTurns
           (-min n, -max n) Set a boundry on the number of tumbles that the
           dice are allowed to take.  The default is 50 to 200.

      delay
           (-delay n) Set the delay factor. This is an asthetic value and
           varies with the speed of the hardware, the default is 3000, which
           looks good on a 100Mhz R4000.

      matColor, diceColor, dotColor
           (-mat_color color, -dice_color color, -dot_color color) set the
           color for the background, the dice and the spots, respectively.

      sync (-sync bool) Synchronize the X display. This is on by default,
           and keeps the events from getting batched for transmission,
           resulting in a more natural spin.


 AUTHOR
      Alex Crain

      ASH Engineering Inc

      This program is Copyright 1994 Alex Crain, and may be redistributed
      without permission for any purpose, as long as this copyright remains
      in the documentation.


 FILES
      /usr/lib/X11/app-defaults/Dice - specifies required resources









                                    - 1 -      Formatted:  December 21, 2024