This chapter describes the special functions assigned to the mouse buttons by teemX and how to redefine the buttons.
teemX assigns a variety of special functions to the mouse buttons. Each button can be used to action up to five functions when pressed in conjunction with modifier keys. The following table lists the functions assigned to each button and key combination by default.
Note that usually Button 1 is the leftmost button, Button 2 is the middle button, and Button 3 is the rightmost button. References to mouse buttons throughout this User's Guide will assume that they are configured in this way.
You can use the mouse buttons to copy and paste text. The region of the display that will be selected for copying depends on whether you use the Select Text or Rect Select Text function. The Select Text function will select all text from the start position to the finish position, working left to right across the entire width of the display, whereas the Rect Select Text function will only select text contained within the rectangular area defined by the start position (top left corner) and the finish position (bottom right corner).
The default method for selecting text is as follows. Place the cursor at the start of the text to be copied, hold down the Left mouse button (with Shift if a rectangular area is to be selected) then drag the cursor across to the end of the required text. Releasing the mouse button will cause the selected text to be saved in the global cut buffer.
Another method of selecting text is to quickly click the Left mouse button twice to select the word at the current cursor position, or three times to select the entire line. Clicking four times will revert back to single character selection. To extend the selection, click the Right mouse button.
Text that has been saved in the global cut buffer may be pasted at the current cursor position by clicking the Middle mouse button.
teemX provides a graphic copy facility which enables you to copy text and graphics and paste the information in any teemX window. The area to be copied is selected by positioning the mouse cursor at the top left corner of the required area, holding down the keys Control + Shift and the Left mouse button, then dragging the mouse cursor down to the bottom right corner of the required area. Releasing the keys will cause the currently selected area to be copied. To paste the data, position the mouse cursor where you wish the top left corner of the copied data to be positioned, then hold down the keys Control + Shift and click the Middle mouse button.
When teemX is in any of the local block modes, you can use the mouse instead of the cursor keys to position the text cursor. Move the mouse cursor to the required position then hold down the Control key and click the Left mouse button. The text cursor will then jump to that position.
teemX incorporates a user-definable hotspot facility which enables you to invoke a function by clicking the mouse cursor over a keyword displayed on the screen. For example, an application may display information relating to keys you can press to perform a particular function. Instead of pressing the key on the keyboard, you could invoke the function by moving the mouse cursor over the displayed key name, holding down the Control key and clicking the Middle mouse button.
Hotspots are supported in ALL terminal emulation modes. teemX provides a set of default hotspot keywords for each mode. These relate to key functions specific to the emulation. For example, in VT400 mode you can click on the word Help displayed on the screen and teemX will execute the function associated with the Help key.
You can identify hotspots that are currently present in display memory by holding down the Control key and the Right mouse button. All colour attributes will be temporarily removed from the display and the hotspots will be highlighted with a red background. Releasing the keys will return the display to its original state.
For information on defining hotspots, refer to the Hotspots chapter.
The Send Keyword function enables you to click on any delimited word displayed on the screen and it will be sent to the host, as long as the word is not already defined as a hotspot. Keyword delimiters are the same as for hotspots, that is: space, NULL, / , : = ( ) [ and ].
teemX enables you to redefine the functions assigned to the mouse buttons via the Mouse Button Actions dialog box, which is displayed from the Settings menu.
This enables you to specify the function of mouse buttons 1, 2 and 3 when they are pressed on their own or in conjunction with modifier keys. You can assign up to five functions to each button. Clicking one of the arrow buttons will display a drop-down list box which lists all the standard functions that can be assigned:
You can also enter a definition of your own in the text box associated with each button and key combination. Definitions are entered in the same way as for keyboard macros and soft buttons, as described in the Setup Menus chapter.
The setting of the Highlight When Actioned option determines whether or not a visual indication is given that a function has been actioned when a hotspot is clicked.