Please enable JavaScript to view this site.

A-Shell Development History

ATE enhancement: It is now possible to lock ATE into local (GUI only) keyboard mode via:

? tab(-10,AG_HOLDKBD);"2";chr(127);

Once locked into this mode, no keyboard characters will be transmitted to the server except indirectly via ATE command/response packets. Normally, the server and ATE determine between themselves when ATE should act like a dumb terminal (transmitting all keyboard characters) and when it should act like a client GUI workstation (sending keyboard input to local edit controls only), based on contextual clues.

The lock feature is mainly intended for AMOS and other non-A-Shell servers which cannot detect or communicate such clues. Locking the ATE client into local keyboard mode eliminates problems with type ahead being sent inappropriately to the server, or worse, interrupting/confusing commands sent between the server and client via the keyboard channel.

To remove the lock, use:

? tab(-10,AG_RELEASEKBD);"2";chr(127);

Or, you can also clear it via the Settings menu to clear the Local Kbd Mode checkmark.

Note that once set, the local lock remains set until cleared by one of the above methods, even at the dot prompt. So while the feature may be thus turned on globally in a startup command file, you must be sure to turn it off before exiting to the dot or before performing any non-GUI input operations, including XCALLs GET, TINKEY, ACCEPT, the INPUT statement, etc.