zowe / zlux

The top-level superproject for zLUX. zLUX includes the Zowe Desktop framework in addition to several built-in apps and an example server implementation.
Eclipse Public License 2.0
39 stars 42 forks source link

tn3270 active extended key panel #757

Open ibmrcruicks opened 3 years ago

ibmrcruicks commented 3 years ago

currently no way in the emulator to know fixed key-map assignments for function/PA keys, SYSREQ, EOF, ATTN, etc without refering to wiki.

A panel at the bottom of the screen below OIA with buttons that show a couple of rows with buttons for the available keys, which inject the appropriate event when pressed.

No need for customisation since they would be related to key presses, not assigned functionality.

This would allow greater use of the Zowe desktop for 3270 as a way to avoid browser and OS variants of other emulator options.

1000TurquoisePogs commented 3 years ago

I think @Martin-Zeithaml was creating some prototypes of buttons assigned to keys, so that may be a build of the terminal worth installing when he is ready. You can actually install apps into Zowe without upgrading zowe itself, so if Martin has a build, it could be shared early.

ibmrcruicks commented 3 years ago

that's good news - happy to act as a trial site for a stable build

Martin-Zeithaml commented 3 years ago

Yes, I am working on an extension of the TN3270 terminal. The idea is more general and it is based on the customization, but it can fulfill your requirement with that.

This is the current state, there is new bar where you can use own key actions: image

The definition of the buttons is in the JSON file, just small introduction:

Note: if this goes to the production, it will be good to use all "wiki" shortcuts and make it as default JSON definition.

ibmrcruicks commented 3 years ago

that looks like it might be ideal for our teaching purposes - the last thing we need is thousands of customised key/button assignments. A default button list that matches the default keys would be great.

here's a thought - two button panels - one for custom "macros", the other for AID triggers. This kind of thing - switchable from leftside to right side for easier "handedness"

3270-keys-zowe
ibmrcruicks commented 3 years ago

would also work with touch-screen devices

Martin-Zeithaml commented 3 years ago

There are already some other ideas submitted to this TN3270 terminal - such as to be able to define and use more connections. That's why we have also started with research how to change/improve UI of the terminal to have for example menu and dialogs. It is very possible, that in the future the current feature of user defined keys will get better UI with ability to choose the position of key bar.

But the plan is to push the current implementation as it is to the production to get feedback from more users.

ibmrcruicks commented 3 years ago

if the current implementation will support ~33 AID keys, that would be a great interim option, and I'd give it a trial with a few of our users

DivergentEuropeans commented 3 years ago

@Martin-Zeithaml As discussed in our call, if relevant for good UX (say to match button size), here's an example of an app listening to theme information coming from the Desktop:

https://github.com/zowe/zlux-editor/pull/150/files