New Member.

Keystroke Up and Down not working in Character screen mode


I develop some programs that could be used either under Windows (in graphical mode) or under Linux (in character screen mode or graphical mode depending on how the user is connected to the server).

I use the following setting 

KEYSTROKE Edit=Down kd

to configure a different behavior for arrow keys Up and Down (compare to TAB and SHIFT-TAB)

This works fine with Graphical mode (Windows or Linux) but doesn't work in Character screen mode. 

I have reproduced this issue with the sample program  custrpt.cbl. If you execute it with wrun32.exe and the configuration above, it is Ok. But if you execute it with crun32.exe (to be in character screen), arrow keys Up and Down are no more working.

Do you have any idea ?

Thanks by advance for your help.  




1 Reply
Outstanding Contributor.
Outstanding Contributor.

RE: Keystroke Up and Down not working in Character screen mode

Hello Jean-Luc,
Those two keystroke entries are not needed. The default behavior for both wrun32 and crun23 is that the arrow-up and arrow-down keys work the same as the tab and shift-tab.
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.