I designed and coded newstosgf. newstosgf is a python program that reads a usenet article from rec.games.go on standard input, and outputs an "SGF" file suitable for use with an SGF viewer. This makes the ascii diagrams found on the group much easier to read. You can get the program here. If you use trn to read news, viewing an ascii diagram is as simple as typing |newstosgf. If you use a lesser newsreader that can't pipe, you'll probably have to save the article in a file and say newstosgf < filename.

In other words, it converts this:

...into this: (Ok, the actual appearance depends on the SGF viewer you choose, but you probably get the idea)


Hits: 1976
Timestamp: 2024-04-23 23:31:58 PDT

Back to Dan's tech tidbits

You can e-mail the author with questions or comments: