Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

CHESSCLOCK(UCB)  —  UNIX Programmer’s Manual

NAME

chessclock − a poor mans chess clock

SYNOPSIS

chessclock [ −m moves ] [ −t time ] [ −M contmoves ] [ −T conttime ]

DESCRIPTION

Chessclock is an electronic chessclock for crt’s.  The space bar switches the clock.  The clock can be paused by ‘p’ and continued by ‘c’.  The ‘q’ key quits the clock.  The ‘!’ key pauses the clock and forks a shell on one input line.  Any other key describes these options. 

By default chessclock implements five minute chess.  Each player has at most five minutes to play the game.  A move limit can be specified with −m after this many moves have elapsed the clocks are reset and the same number of moves must be played in the same amount of time.  A different amount of time (in minutes) can be given with the −t option. 

To give a different continuation strategy after the basic period one can give the continuation time with the −T flag and the number of moves in a continuation period with −M.  If either of these is specified, the other defaults to the basic period quantity. 

Finally, argument times may be include ‘:’ to give times in minutes and seconds rather than just minutes. 

FILES

/bin/shShell

AUTHOR

Bill Joy

BUGS

Unequal settings of the clock for black and white are not possible. 

7th Edition  —  2/24/79

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026