<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Fri, Aug 21, 2015 at 4:24 AM, Daniel Shahaf <span dir="ltr"><<a href="mailto:d.s@daniel.shahaf.name" target="_blank">d.s@daniel.shahaf.name</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I've got here a desktop app that quizzes the user with questions from<br>
מבחן התיאוריה (the one people take when they learn driving).  It's<br>
basically a self-test/study app, using the questionset from the<br>
Ministry's web site.  (They publish questionsets in six languages,<br>
I only tried the Hebrew set.)<br>
<br>
By "app" I mean a python script that prints questions to stdout, reads<br>
answers from stdin, and displays images by invoking display(1) [a<br>
minimal image viewer from imagemagick].  It doesn't have a GUI (beyond<br>
the image displayer) since my target audience didn't need one.<br>
<br>
I can't release it as-is because $LEGAL_REASONS, but I could clean it up<br>
to make it releaseable.  Before I spend too much time on that, is that<br>
something anybody would be interested in?<br>
<br>
[feel free to reply offlist]<br>
<br>
Cheers,<br>
<br>
Daniel<br>
<br>
P.S. It wasn't fun to get Hebrew to print correctly on all terminals:<br>
there are differently-behaving terminals that use the same value of<br>
$TERM (undermining terminfo-based solutions).  I ended up using<br>
$WINDOWID to get the terminal emulator's argv[0], and hardcoding<br>
exceptions based on that.  That's so 1990...<br>
<br>
_______________________________________________<br>
Linux-il mailing list<br>
<a href="mailto:Linux-il@cs.huji.ac.il">Linux-il@cs.huji.ac.il</a><br>
<a href="http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il" rel="noreferrer" target="_blank">http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il</a><br>
</blockquote></div><br><div class="gmail_default" style="font-family:tahoma,sans-serif">​<div class="gmail_default" style="font-family:tahoma,sans-serif">I wood live to see it.</div><br clear="all"><div><div class="gmail_signature"><div dir="ltr"><font size="1"><span style="font-family:courier new,monospace">--<br>Rabin<br></span></font></div></div></div>
​</div><br></div></div>