On 5/30/07, John Summerfield <[EMAIL PROTECTED]> wrote:
How does one get a 3270 to generate these? It would be possible to write block-mode applications for Linux, but current interactive programs expect keys to be presented asynchronously.
One of the tricks I have encountered in the past is using a single character in an input field combined with one reserved PF-key. And in the case of Linux the presentation layer does not need the PF-keys, you have some freedom to use more PF-keys for the simulation. The other one we did (on local terminals) was to repeat "read modified" to the terminal and pick up the character in the field before Enter was pressed (pretty expensive hobby). Whether you would want PF-keys to simulate navigation on a screen with (cursor) keys is not obvious to me (well, actually it is - but I don't want to contribute to that fight). Since the current cursor position is transmitted with Enter of PF-key, I could imagine that moving the cursor between two AID keys can be passed to the application as if a few arrow keys were pressed. How hard would a 3270 based implementation of ncurses library be? And would that solve the issues? Rob ---------------------------------------------------------------------- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
