Menu system with vgetty
Nick Phillips (nwp@lemon-computing.com)
Fri, 04 Jun 1999 19:32:59 +0100
Jan Kasprzak wrote:
> Well, what part of it is broken? I will try to look at it.
The most important bit is "readnum". Try it, and don't press any DTMFs,
and you'll see
what I mean. Alternatively, try to read in a long DTMF string, keying
reasonably fast.
I'll try to be more constructive when I've spent a bit more time on it.
> I think it would be better to extend/improve the current module.
> I don't see a way of creating a powerful-enough interface without the
> event-driven programming, but I am open to suggestions.
I'm not comfortable with event-driven programming when you're actually
polling for events. I'd prefer to see something that looked more like an
FSM.
I'm sure that's not what I'll end up with, and I'm not yet sure what to
put in
the module and what to leave to the app., but I'll try to spend a bit
more time
on it and get it properly sorted. I really *must* get this to work,
so...
...off to play.
Cheers,
Nick