🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.chess
Article #769

filter to generate boards for troff

#769
From: Andy Tannenbaum
Date: Mon, 01 Apr 1985 23:33
39 lines
1539 bytes
Has anyone written a filter to convert human-readable
board positions into input for the chess macros which came with 4bsd?
(The documentation says that they're from Stanford, and I think you
can also get them from Imagen and elsewhere.)

It would take a board that looked like

rnbqkbnr
pppppppp
........
........
........
........
PPPPPPPP
RNBQKBNR

And transform it into

HTTTTTTTTX
VrmblkansF
VopopopopF
V0Z0Z0Z0ZF
VZ0Z0Z0Z0F
V0Z0Z0Z0ZF
VZ0Z0Z0Z0F
VPOPOPOPOF
VSNAQJBMRF
WUUUUUUUUG

The filter would work like tbl, eqn, pic, etc., fiddling with data
between .CS and .CE or something.  If no one out there has one, I
suppose I might write it on some rainy day soon.

Also, I have this font on an Imagen 8/300.  What are the
settings for spacing (with .cs and .vs) which yield the prettiest
boards?  (I have been using .ps 14, and .cs <point-size*2> doesn't
work as nicely as it does in the Berkeley font catalog.

	Andy Tannenbaum   Masscomp  Westford, MA   (617) 692-6200 x274
Technical Details
Message-ID: <651@masscomp.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!bonnie!masscomp!trb

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.2 9/18/84; site masscomp.UUCP
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!bonnie!masscomp!trb
From: trb@masscomp.UUCP (Andy Tannenbaum)
Newsgroups: net.chess
Subject: filter to generate boards for troff
Message-ID: <651@masscomp.UUCP>
Date: Mon, 1-Apr-85 18:33:01 EST
Article-I.D.: masscomp.651
Posted: Mon Apr  1 18:33:01 1985
Date-Received: Tue, 2-Apr-85 22:04:17 EST
Distribution: net
Organization: Masscomp - Westford, MA
Lines: 39