TRANS

Section: Games and Demos (6)
Updated: 18 February 1991
Index Return to Main Contents
 

NAME

trans - a utility to print a transcript from reve game recordings.  

SYNOPSIS

trans [ -b string ] [ -w string ] [ -r string ] [ -d string ] [ -c string ] [ -g string ] [ -t string ] [ -s string ] [ -p string ] [ -l string ]

trans -h  

DESCRIPTION

Trans will take a game record produced by reve (see manual pages for reve(6)), and produce a PostScript file with a transcript of the game, i.e. it will draw a board and show the moves made, numbered in sequence.

The options allow you to specify source and destination files, printed size of the board, and information about the game. Strings containing white space or special characters need to be quoted. Unused options are filled with a default value.

The resulting file can be sent to any PostScript printer.  

OPTIONS

-b [ string ]
Black player name. The default is an empty string.
-w [ string ]
White player name. The default is an empty string.
-r [ string ]
The result of the game. The default is an empty string.
-d [ string ]
The date the game was played. The default is an empty string.
-c [ string ]
A comment line. The default is an empty string.
-g [ string ]
The name of the game transcript file. The default is "reve.game".
-t [ string ]
The name of the output file containing the Postscript file to be printed. The default is "reve.trans.ps".
-s factor
The scaling factor for printed transcript. The default fills one letter size page.
-p [ string ]
The place or occasion when the game was held. The default is an empty string.
-l [ string ]
The time limit or level for the game. The default is an empty string.
-h
Display a help message.
 

EXAMPLES

trans -g "../games/reve/reve.game" -t "/tmp/foo.ps"
trans -b valerie -w reve -r "32-32" -d "Feb 17, 1991"
trans -c "I won!" -l "5 Minutes" -p "at work" -s "0.5"
trans -h
 

BUGS

See the TODO file for the list of known problems.  

AUTHOR


Valerie Haecky         vmh@Eng.Sun.COM


 

Index

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
EXAMPLES
BUGS
AUTHOR

This document was created by man2html, using the manual pages.
Time: 04:26:05 GMT, December 02, 2024