X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~yarrgweb/git?a=blobdiff_plain;f=pctb%2Fyppsc-ocr-resolver;h=694adc3eccebbeec57a126cb7577b51697d7edd5;hb=e306e9e16dbe793b20652a2f94fd5337f018318e;hp=88c5a41b05e4f59116e174f62ea53c9b058f1524;hpb=aac1ada93b1c972e964f53c47dccd0fe4f8aff3a;p=ypp-sc-tools.web-live.git diff --git a/pctb/yppsc-ocr-resolver b/pctb/yppsc-ocr-resolver index 88c5a41..694adc3 100755 --- a/pctb/yppsc-ocr-resolver +++ b/pctb/yppsc-ocr-resolver @@ -1,12 +1,37 @@ #!/usr/bin/wish -# usage: -# run show-thing without args +# helper program for OCR in PCTB upload client + +# This is part of ypp-sc-tools, a set of third-party tools for assisting +# players of Yohoho Puzzle Pirates. +# +# Copyright (C) 2009 Ian Jackson +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . +# +# Yohoho and Puzzle Pirates are probably trademarks of Three Rings and +# are used without permission. This program is not endorsed or +# sponsored by Three Rings. + + +# invocation: +# run this without args # then on stdin write -# one line which is a Tcl list for unk_{l,r} unk_contexts glyphsdone +# one line which is a Tcl list for unk_{l,r} unk_contexts glyphsdone etc. # the xpm in the format expected -# then expect child to raise SIGSTOP or exit 0 or exit nonzero -# if child raised SIGSTOP, check database was updated +# then expect child to exit 0, or write a single 0 byte to fd 4 +# if it wrote a byte to fd 4, it can take another question proc manyset {list args} {