Re: How to avoid windows console with stdin
- Posted by don cole <doncole at pacbell.net> Apr 28, 2006
- 430 views
don cole wrote: > > Mike Wever wrote: > > > > don cole wrote: > > > > > > Hello Mike, > > > > > > If that's the case try: > > > }}} <eucode> > > > procedure onKeyPress(integer self ,integer evebt, sequence parms) > > > --you can put position here > > > wPuts(Window1,sprintf("%s",parms[1])) > > > end procedure > > > setHandler(Window,w32HKeyPress,routine_id("onKeyPress")) > > > > > > Don Cole > > > > That's an interesting solution. It never occurred to me that the standard > > input might set off a KeyPress. I'll have to try that. > > In my way of thinking there are only two ways to get input, from a file or > from the keyboard. If ther's a third way called Standard input them I'm lost > here. > On the other hand if KeyPress and KeyDown don't work maybe you could access you keyboard buffer in the same manner as above. If that's where Standard input comes from. And send it to your screen or printer without the console being involved. Don Cole A Bug is an un-documented feature. A Feature is a documented Bug.