Using the Mouse on a Hardware Terminal: Difference between revisions
Simple Hotspots |
Reworked article |
||
| (9 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
The IBM Terminals in the ''InfoWindow II'' line of products (3486, 3487, 3488, 3489) have an additional port where one can attach a PS/2 mouse.<ref>The 3489 also supports a light-pen.</ref> Information about '''using the Mouse on a Hardware Terminal''' is scarce and not too easy to find.<ref>Who would search a Marketing Manual for information usually being written in a User's Manual? The 3489 User's Guide has a chapter about mouse operation, though.</ref> | |||
Besides local functions of the terminal itself, like moving the split screen separator line, or selecting items in the setup panels, four functions are available. These are described in the ''3489 User's Guide'', and on PDF page 13 of the ''Marketing Reference Guide''.<ref name="ug3489">''IBM InfoWindow II 3489 Modular Display Station User's Guide'', GA18-7492-00, chapters ''Use of the Mouse/Light-pen'', and ''Mouse Operation for Advanced Functions''.</ref> | |||
These four functions are provided by the twinax controller, not by the terminal alone. They are available only with a controller supporting the ''enhanced interface''. That is a work station controller feature 6050, 2661, 9146, or 9148 with OS/400 V2R3 or later, or a 5494 remote control unit release 2.0 or later.<ref>''IBM InfoWindow II 3489 Modular Display Station User's Guide'', GA18-7492-00, appendix G ''Prerequisites for 3489 Functions''.</ref> See also [[Terminal graphics support#Enhanced display|Enhanced display]]. | |||
== Copy-Paste == | == Copy-Paste == | ||
Two types are available: | Two types are available: | ||
* For copying a line, press and hold the shift key, press and hold the left mouse button and select the desired text by dragging. Releasing | * For copying a line, press and hold the shift key, press and hold the left mouse button and select the desired text by dragging. Releasing the mouse button copies the marked characters into a local buffer. | ||
* For copying a block, press and hold the shift key, do a double-click with the left mouse button, but '''do not release the button at the second click'''.<ref>I wonder what type of engineer comes up with such a cumbersome idea!</ref> Instead drag the mouse to mark the desired screen area. Releasing | * For copying a block, press and hold the shift key, do a double-click with the left mouse button, but '''do not release the button at the second click'''.<ref>I wonder what type of engineer comes up with such a cumbersome idea!</ref> Instead drag the mouse to mark the desired screen area. Releasing the mouse button copies the marked characters into a local buffer. | ||
Pasting is done by shift key + right click. Depending on the terminal's ''Offline Setup'', the text is pasted at the current cursor position, or at the mouse pointer position. The same data can be pasted repeatedly, until the display is turned off, or another copy is performed.<ref name="ug3489" /> | |||
This function allows copy-paste not only working within one terminal session, but also between multiple ones. | |||
=== About Multiple Sessions === | |||
There are two types of ''multiple sessions''. | |||
One is provided by the operating system in the host: | |||
* The ''secondary interactive job'' is reached by pressing the ''System Request'' key, and choosing the appropriate menu item. Two jobs can be switched between this way. | |||
* So called ''group jobs'' allow up to 16 jobs per group, 32 in total together with a secondary interactive job. Switching is done with the <code>TFRGRPJOB</code> command, which is typically run from a menu program called by pressing the ''Attention'' key.<ref>See ''Work Management'', chapter ''Group Jobs'', for an entire chapter dedicated to this topic. The attention key program is set with the <code>SETATNPGM</code> command.</ref> | |||
In both cases, only one job is active at a time, the others are suspended. | |||
The other is provided by the terminal itself, and usually takes additional addresses on the daisy-chained twinax line. Each session is then a separate device to the host. The number of additional sessions is dependent on the terminal's capabilities and configuration. Some terminals even allow sessions to be concurrently visible and active on the display. In any case, switching between sessions is done with a hotkey. The 3489 can also share one address between up to four display sessions. This ''shared addressing'' needs OS/400 V3R1, or a 5494 release 3.0.<ref>''IBM InfoWindow II 3489 Modular Display Station User's Guide'', GA18-7492-00, appendix G ''Prerequisites for 3489 Functions''.</ref> | |||
== Simple Hotspots == | == Simple Hotspots == | ||
These provide alternate ways of interacting with the system. | These provide alternate ways of interacting with the system. Hotspots are selected with the left mouse button.<ref name="adp">''AS/400 Advanced Series: Application Display Programming'', SC41-5715-00, chapter ''Simple Hotspots''.</ref> | ||
* Double-click with the left key is the same as pressing <code>Enter</code>. | * Double-click with the mouse's left key is the same as pressing <code>Enter</code>. | ||
* | * Left-clicking next to a menu item on AS/400 menus selects this menu item.<ref name="ug3489" /> | ||
* | * Command key descriptions — usually found at the bottom of a screen — are automatically converted to hotspots which can be left-clicked instead of pressing the respective function key. The controller recognizes text in the forms <code>F3=</code>, <code>F12=</code>, <code>PF3=</code>, or <code>PF3</code>, wherever it appears on the screen.<ref name="adp" /> | ||
* Appropriately written applications might | * Left-clicking a <code>+</code> character is the same as pressing ''Page Down'' (''Roll Up''), left-clicking a <code>-</code> character the same as pressing ''Page Up'' (''Roll Down'').<ref>IBM suggests to change the text of the messages <code>CPX6AB2</code> (default <code>More...</code>) to <code>More: +/-</code>, and <code>CPX6AB1</code> (default <code>Bottom</code>) to <code>Bottom: -</code>, to provide these characters for subfiles using <code>SFLEND(*MORE)</code>. Clicking the default <code>More...</code> text has no effect.</ref> | ||
* Appropriately written applications might provide a menu bar, and pulldown menus which can be used like well-known from GUIs through left-clicking them.<ref>I've not yet seen such an application in the wild. I refuse to utilize this technique in my applications because for plain keyboard users, a menu bar is more cumbersome to use than pressing a simple function key. Also, they look good only on a terminal (emulator) supporting the enhanced interface. Finally, implementing menus is also very cumbersome, a lot of definitions in the screen's DDS source.</ref> | |||
== Other Mouse Functions == | |||
* Left-clicking the error line resets an operator error.<ref name="ug3489" /> | |||
* Left-clicking anywhere on the screen moves the cursor to the mouse pointer position.<ref name="ug3489" /> | |||
* Applications can assign function keys to mouse events with the DDS keyword <code>MOUBTN</code>. Up to 18 events can be defined: Three buttons, with button down, button up, and double-click, each unshifted and shifted.<ref>''AS/400 Advanced Series: Application Display Programming'', SC41-5715-00, chapter ''Programmable Mouse Buttons''.</ref> | |||
== See also == | == See also == | ||
* [https:// | * [https://www.ibm.com/resources/publications/OutputPubsDetails?PubID=G326026510 IBM InfoWindow II 3486, 3488, 3489 Marketing Reference Guide], G326-0265-10 | ||
* [https://www.ibm.com/resources/publications/OutputPubsDetails?PubID=SC41530603 IBM AS/400e Work Management], SC41-5306-03 | |||
* [[IBM Twinax-Terminals Overview]] | |||
* [[Terminal graphics support]] | |||
== Literature == | |||
* ''IBM InfoWindow II 3489 Modular Display Station User's Guide'', GA18-7492-00 | |||
* ''AS/400 Advanced Series: Application Display Programming'', SC41-5715-00 | |||
== Footnotes == | == Footnotes == | ||
Latest revision as of 12:35, 1 December 2026
The IBM Terminals in the InfoWindow II line of products (3486, 3487, 3488, 3489) have an additional port where one can attach a PS/2 mouse.[1] Information about using the Mouse on a Hardware Terminal is scarce and not too easy to find.[2]
Besides local functions of the terminal itself, like moving the split screen separator line, or selecting items in the setup panels, four functions are available. These are described in the 3489 User's Guide, and on PDF page 13 of the Marketing Reference Guide.[3]
These four functions are provided by the twinax controller, not by the terminal alone. They are available only with a controller supporting the enhanced interface. That is a work station controller feature 6050, 2661, 9146, or 9148 with OS/400 V2R3 or later, or a 5494 remote control unit release 2.0 or later.[4] See also Enhanced display.
Copy-Paste
Two types are available:
- For copying a line, press and hold the shift key, press and hold the left mouse button and select the desired text by dragging. Releasing the mouse button copies the marked characters into a local buffer.
- For copying a block, press and hold the shift key, do a double-click with the left mouse button, but do not release the button at the second click.[5] Instead drag the mouse to mark the desired screen area. Releasing the mouse button copies the marked characters into a local buffer.
Pasting is done by shift key + right click. Depending on the terminal's Offline Setup, the text is pasted at the current cursor position, or at the mouse pointer position. The same data can be pasted repeatedly, until the display is turned off, or another copy is performed.[3]
This function allows copy-paste not only working within one terminal session, but also between multiple ones.
About Multiple Sessions
There are two types of multiple sessions.
One is provided by the operating system in the host:
- The secondary interactive job is reached by pressing the System Request key, and choosing the appropriate menu item. Two jobs can be switched between this way.
- So called group jobs allow up to 16 jobs per group, 32 in total together with a secondary interactive job. Switching is done with the
TFRGRPJOBcommand, which is typically run from a menu program called by pressing the Attention key.[6]
In both cases, only one job is active at a time, the others are suspended.
The other is provided by the terminal itself, and usually takes additional addresses on the daisy-chained twinax line. Each session is then a separate device to the host. The number of additional sessions is dependent on the terminal's capabilities and configuration. Some terminals even allow sessions to be concurrently visible and active on the display. In any case, switching between sessions is done with a hotkey. The 3489 can also share one address between up to four display sessions. This shared addressing needs OS/400 V3R1, or a 5494 release 3.0.[7]
Simple Hotspots
These provide alternate ways of interacting with the system. Hotspots are selected with the left mouse button.[8]
- Double-click with the mouse's left key is the same as pressing
Enter. - Left-clicking next to a menu item on AS/400 menus selects this menu item.[3]
- Command key descriptions — usually found at the bottom of a screen — are automatically converted to hotspots which can be left-clicked instead of pressing the respective function key. The controller recognizes text in the forms
F3=,F12=,PF3=, orPF3, wherever it appears on the screen.[8] - Left-clicking a
+character is the same as pressing Page Down (Roll Up), left-clicking a-character the same as pressing Page Up (Roll Down).[9] - Appropriately written applications might provide a menu bar, and pulldown menus which can be used like well-known from GUIs through left-clicking them.[10]
Other Mouse Functions
- Left-clicking the error line resets an operator error.[3]
- Left-clicking anywhere on the screen moves the cursor to the mouse pointer position.[3]
- Applications can assign function keys to mouse events with the DDS keyword
MOUBTN. Up to 18 events can be defined: Three buttons, with button down, button up, and double-click, each unshifted and shifted.[11]
See also
- IBM InfoWindow II 3486, 3488, 3489 Marketing Reference Guide, G326-0265-10
- IBM AS/400e Work Management, SC41-5306-03
- IBM Twinax-Terminals Overview
- Terminal graphics support
Literature
- IBM InfoWindow II 3489 Modular Display Station User's Guide, GA18-7492-00
- AS/400 Advanced Series: Application Display Programming, SC41-5715-00
Footnotes
- ↑ The 3489 also supports a light-pen.
- ↑ Who would search a Marketing Manual for information usually being written in a User's Manual? The 3489 User's Guide has a chapter about mouse operation, though.
- ↑ 3.0 3.1 3.2 3.3 3.4 IBM InfoWindow II 3489 Modular Display Station User's Guide, GA18-7492-00, chapters Use of the Mouse/Light-pen, and Mouse Operation for Advanced Functions.
- ↑ IBM InfoWindow II 3489 Modular Display Station User's Guide, GA18-7492-00, appendix G Prerequisites for 3489 Functions.
- ↑ I wonder what type of engineer comes up with such a cumbersome idea!
- ↑ See Work Management, chapter Group Jobs, for an entire chapter dedicated to this topic. The attention key program is set with the
SETATNPGMcommand. - ↑ IBM InfoWindow II 3489 Modular Display Station User's Guide, GA18-7492-00, appendix G Prerequisites for 3489 Functions.
- ↑ 8.0 8.1 AS/400 Advanced Series: Application Display Programming, SC41-5715-00, chapter Simple Hotspots.
- ↑ IBM suggests to change the text of the messages
CPX6AB2(defaultMore...) toMore: +/-, andCPX6AB1(defaultBottom) toBottom: -, to provide these characters for subfiles usingSFLEND(*MORE). Clicking the defaultMore...text has no effect. - ↑ I've not yet seen such an application in the wild. I refuse to utilize this technique in my applications because for plain keyboard users, a menu bar is more cumbersome to use than pressing a simple function key. Also, they look good only on a terminal (emulator) supporting the enhanced interface. Finally, implementing menus is also very cumbersome, a lot of definitions in the screen's DDS source.
- ↑ AS/400 Advanced Series: Application Display Programming, SC41-5715-00, chapter Programmable Mouse Buttons.