|
NAMExpat2 - generic patience game for X11SYNOPSISxpat2 [ options ] [ seed ] [ saved game ]DESCRIPTIONxpat2 is the successor of xpat, a generic patience game which can be used with different rule sets. It does understand the rules of the well-known Spider game, as well as Klondike and others. It features a flexible layout which responds to window resize commands and possibilities to customize the existing rules. xpat2 has either a bitmap-based card drawing routine or a pixmap based routine (selectable at compile time). With the pixmap based drawing routine, antialiased colour images of the rank and suit symbols are supplied. The bitmap card images are black and red by default, but users can supply images of complete colour cards in XPM format.xpat2 may be compiled with the Athena widget set (or its nicer replacement, the Xaw3d widget set), or with a standard Xlib interface. The command line parameters and X resource names of these versions differ. This manual page describes only the Athena widget version, for the Xlib options please refer to the xpat manual page. RULE CUSTOMIZATION OPTIONS
GRAPHIC OPTIONSAll standard X toolkit parameters may be given, such as
NATIVE LANGUAGE SUPPORTxpat2 has simple support for different languages. All messages which appear in the X11 window may be overloaded by files, as well as the key bindings. The typical support consists of an application-defaults file, a message file, and a keyboard file. Possibly translated online-help files are also there. To select a different language, call xpat2 after setting the environment variable LANG to the desired value. Some ISO3166 language codes will be mapped to their correspondig xpat2 directory names. Currently, italian and german versions are available, and fragments of a french and russian version. The russian version requires a special cyrillic font, sq01. The bdf-file is distributed with xpat2, you have to convert it into a format supported by your X-server (pcf, snf, ...)FILES/usr/local/bin/xpat2 /var/games/xpat.log /usr/local/share/xpat/small.cards /usr/local/share/xpat/french.cards /usr/local/share/xpat/audio/success.au /usr/local/share/xpat/audio/giveup.au /usr/local/share/xpat/audio/goodbye.au /usr/local/share/xpat/audio/cannotsave.au /usr/local/share/xpat/help.* /usr/local/share/xpat/hlp*and a number of subdirs of /usr/local/share/xpat, containing sets of colour cards. DIAGNOSTICSAlmost none. (Type 'v' to see the version number. This is the man-page of xpat2 version 1.06, using Athena Widgets. The game may behave somewhat different when used with another widget set.)BUGSCorrect cheat counting is not implemented in all rules.Only a few rule customisations are checked and meaningful. The Motif/Lesstif and Xview interfaces doesn't work reliable. Any volunteers? xpat2 uses a lot of colours when compiled with the module X-gfx2 and may therefore fail to start if you have an 8-bit or monochrome display. In this case, compile the game using the graphics loader X-gfx1, which uses the original card images from spider or start the game using the option -cards french, which uses monochrome card graphics from the file french.cards. On 8-bit displays you can also experiment with the -xpmcls option. There is a problem with X-servers which are short on memory. In this case, some parts of the xpat2 window may be left blank after a resize event. You have to hit <ctrl-L> to get the window redrawn correctly. Please mail bug reports to Michael.Bischoff@gmx.net. Fixes are especially welcome. SEE ALSOxpat(6), spider(1), xsol(1)AUTHORSHeiko Eissfeldt and Michael BischoffCOPYRIGHTCopyright (c) 1994 by Heiko Eissfeldt and Michael Bischoff(heiko@colossus.escape.de and mbi@mo.math.nat.tu-bs.de) Copyright (c) 1990 by David Lemke & Network Computing Devices,
Inc.
Copyright 1990 Heather Rose and Sun Microsystems, Inc. Copyright (c) 1989, Donald R. Woods and Sun Microsystems, Inc. Permission to use, copy, modify, and distribute this software and its documentation for any purpose and without fee is hereby granted, provided that the above copyright notice appear in all copies and that both that copyright notice and this permission notice appear in supporting documentation. xpat and xpat2 were developed under Linux, the free UNIX for the IBM-PC and compatibles. xpat is based on the game spider. All new code which is not covered by spider copyrights is distributed by terms of the GNU General public license (GNU Copyleft).
Visit the GSP FreeBSD Man Page Interface. |