Re: exu 3, key.ex

new topic     » goto parent     » topic index » view thread      » older message » newer message

Robert Craig wrote:
> 
> ChrisBurch2 wrote:
> > Hi
> > }}}
<eucode>
> > integer code
> > 
> > puts(1, "Press any key. I'll show you the key code. Press q to quit\n\n")
> > while 1 do
> >     code = get_key()
> >     if code != -1 then
> > 	printf(1, "The key code is: %d\n", code)
> > 	if code = 'q' then
> > 	    exit
> > 	end if  
> >     end if
> > end while
> > 
> > </eucode>
{{{

> > 
> > works
> > 
> > 
> > }}}
<eucode>
> > integer code
> > 
> > puts(1, "Press any key. I'll show you the key code. Press q to quit\n\n")
> > while 1 do
> >     code = get_key()
> >     if code != -1 then
> > 	printf(1, "The key code is: %d\n", code)
> > 	if code = 'q' then
> > 	    exit
> > 	end if  
> >     else
> >         printf(1, "\n", {})          
> >     end if
> > end while
> > 
> > </eucode>
{{{

> > 
> > seg faults
> > 
> > ??
> 
> It fails on my machine too, creating a debug.log file as well.
> It shouldn't be too hard to fix. Thanks for reporting it.
> Did you also get a debug.log file? What Linux distribution 
> are you using?
> 
> Regards,
>    Rob Craig
>    Rapid Deployment Software
>    <a href="http://www.RapidEuphoria.com">http://www.RapidEuphoria.com</a>
Hi

Yes, filled with lots of line corrupted, finally s is the keycode is 105, col is
0

Linux version SuSE 10.0 64 bit

Chris

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu