On Wed, Mar 07, 2007 at 09:23:43AM -0800, Gary Kline wrote:

> 
>       Maybe somebody knows this one: is there a game or educational
>       app that will popup a small frame with a question and space for
>       answer? Say: "What is the capitol of Kansas? or What is the cube
>       root of 8?
> 
>       The questions and answers could be in a textfile:
> 
>       #Q                                      #A
>       What is the capitol of Kansas?          Topeka
>       What is the cube root of 8?             2
> 
>       I'm thinking of something very simple that could be expanded 
>       over time.  Linux has something that's pretty near what I'm
>       aiming for, but it breaks--I'm obviously missing some libraries.
>       After looking for four days I thought I'd ask here.
> 
>       thanks for any clues,
> 
>       gary
> 
>       PS:  I could probably knock something out in a half hour using
>       /bin/sh but I'd rather have something more graphic and flexible.

You could check out curses/ncurses.   There is a man page.
It might be overkill for what you want, but you can look.
It takes some effort to get started, but is not too bad to
keep adding to.

I actually just do this sort of thing in a quickie web page and
run it through a browser.    It only takes some simple tables.
If you want to read in the answers, a Perl or PHP script will
take care of it nicely.

////jerry

> 
> 
> 
> -- 
>   Gary Kline  [EMAIL PROTECTED]   www.thought.org  Public Service Unix
> 
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to