PxPlus User Forum

Main Board => Discussions => Programming => Topic started by: bmohrhardt on February 14, 2019, 04:52:21 PM

Title: ESC key behaviour Providex Plus 15.
Post by: bmohrhardt on February 14, 2019, 04:52:21 PM
Hello Forum :

         We have recently installed Pxplus 15 on our CentOS Linux servers.
         All of our programs (still all character-based) are executing properly, so far.
         One odd behaviour is that if a program is sitting at an INPUT statement,
         or even just at a Pxplus prompt, pressing the ESC key, after a brief pause,
         behaves the same as if the user had pressed <Enter>. The program proceeds
         and a CTL value of zero is returned. This did not work exactly the same way in
         Providex 9.10. I checked the manual for System Parameters, but none were 
         specifically related to the ESC key. The keypress does still generate a hex $1B$.

         Is there a way to switch this off? Or is the ESC key needed to exit some GUI routines?

        Thanks,
        Bill.
Title: Re: ESC key behaviour Providex Plus 15.
Post by: EVa on February 19, 2019, 03:27:08 AM
Bill,

CALL "*uck" - in the second column top row, you'll notice ESCAPE.  Move to that field, hit enter and then hit the ESC key.  After 1B appears, hit F4 and try your code again.  ESC should now perform a true escape (after about 2 seconds - see parameter +D).

-Eric-
Title: Re: ESC key behaviour Providex Plus 15.
Post by: bmohrhardt on February 19, 2019, 06:47:30 PM
Thanks Eric!