Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

when using the vt420 terminal for a non Mainframe terminal emulation, the page up is not navigating to the previous screen #18

Open
d-saravanan opened this issue Jan 13, 2021 · 1 comment

Comments

@d-saravanan
Copy link

when using the vt420 terminal for a non Mainframe terminal emulation, the page up is not navigating to the previous screen. In the emulator, there is something happening that like refreshes the UI, but does not show the previous screen. Kindly suggest suitable check points or debug points. I am also looking in to the code to see how to get this working.

Any suggestion will be very helpful for progressing forward.

@Baraujo25
Copy link
Collaborator

Hello @d-saravanan,

Thanks for reaching out.
What we actually have to look for, is the key mapping that we are using to send the Page Up signal to the server. That mapping is done on the Vt420Client class.
On the vt420 client class, we can find that the AttentionKey.ROLL_UP is mapped to "\033[5~". The value mapped is the string representation of Page Up.
On class XI5250CrtBase we can see the mapping for the AttentionKey.ROLL_UP and it's the Page Down key. Therefore, you should try to use the Page Down key (on your keyboard) in order to trigger the Page Up on the server-side.

We should fix this incoherence. It's added to our backlog for future releases. However, if you want to contribute to the fix, we will make special consideration for you on the next release.

Please try this workaround and let us know if it works.

On the other hand, as we always ask in this kind of scenario, the TCP dump. We use the TCP dump in order to recreate the flow between you and the server. With a mock server almost exactly like the one you are trying to make, we can debug the plugin and find the fix for it.

Here is how to get the TCP dump.

I would be looking forward to your response.

Best regards,
Joaquin.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants