comp.lang.ada
 help / color / mirror / Atom feed
* Interrupting Get_Line
@ 2007-05-31 17:58 mhamel_98
  2007-05-31 18:27 ` Pascal Obry
  0 siblings, 1 reply; 3+ messages in thread
From: mhamel_98 @ 2007-05-31 17:58 UTC (permalink / raw)


I have a program with a task that reads off the command line via
get_line.  Now some other parts/tasks of the program occasionally need
to read off the line as well, usually a (y/n) type question to the
user that I use get_immediate for.  Thing is, the get_line in the cli
task 'intercepts' the response to the get_immediate.  My initial work
around was to have the cli task have a 'get_immediate' entry to
centralize all the command line input in one place, but that does
nothing to break the default entry of the task with the get_line in
it.  Any ideas?

Another workable solution would be to pop up a new console as needed
that goes away as soon as it gets a response, how would I do this?




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-06-01 16:09 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-05-31 17:58 Interrupting Get_Line mhamel_98
2007-05-31 18:27 ` Pascal Obry
2007-06-01 16:09   ` Adam Beneschan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox