THE

APPENDIX 3 - POINTER DEVICE SUPPORT IN THE


This appendix describes the default behaviour of supported pointer devices when running THE; usually a mouse.

SYNTAX:

Mouse "keys" have the following syntax:

[a-]bcB IN windowDescription
[a-]



b


c

B
IN
window




is a keyboard modifier, the same as keyboard
keys. The 'a' can be one of S,C or A for
SHIFT, CONTROL and ALT respectively. The '-'
is mandatory.
is the mouse action. This can be one of P, R,
2 or D for PRESS, RELEASE, DOUBLE_CLICK and
DRAG respectively.
is the mouse button. This can be one of L, R
or M for LEFT, RIGHT and MIDDLE respectively.
stands for BUTTON
mandatory keyword
the area of the screen in which the mouse
event is to take place. The valid values
for this are:
Filearea, Cmdline, Idline, Arrow, PRefix,
STatarea and Divider

EXAMPLES:

Mouse EventDescription
S-PLB IN PR



2RB IN I

Left mouse button is pressed,
while holding down the SHIFT key,
and the mouse positioned in the
prefix area.
Right mouse button double-clicked
in idline.

DEFAULTS:

Mouse EventCommand(s)
PLB in FILEAREA
S-PLB in FILEAREA
C-PLB in FILEAREA
S-PRB in FILEAREA
C-PRB in FILEAREA
PRB in FILEAREA
S-DLB in FILEAREA
C-DLB in FILEAREA
2LB in FILEAREA
PLB in PREFIX
PRB in PREFIX
2LB in PREFIX
PLB in CMDLINE
PLB in STATAREA
PLB in IDLINE
PRB in IDLINE
PLB in DIVIDER
cursor MOUSE
cursor MOUSE#reset BLOCK#mark LINE
cursor MOUSE#reset BLOCK#mark BOX
cursor MOUSE#mark LINE
cursor MOUSE#mark BOX
cursor MOUSE#sos MAKECURR
cursor MOUSE#mark LINE
cursor MOUSE#mark BOX
cursor MOUSE#sos EDIT
cursor MOUSE
cursor MOUSE#sos MAKECURR
cursor MOUSE#sos EDIT
cursor MOUSE
status
xedit
xedit -
screen 1

NOTES:

1. In the X11 port, pressing the middle mouse button anywhere within the THE window, will result in the contents of the X selection being pasted where the text cursor is currently displayed. If you hold down any modifier key, such as SHIFT or CONTROL, that sequence is passed to THE and can be mapped. Therefore; PMB or RMD is NOT able to be used in THE, but C-PMB, C-RMB, S-PMB etc. can.

2. The button action DOUBLE_CLICKED will always be preceded by a PRESS and a RELEASE action. This is the first "click" of the double click. It will also be followed by a RELEASE action. Thus a double click results in 4 actions:

PRESS
RELEASE
DOUBLE_CLICK
RELEASE

The Hessling Editor is Copyright © Mark Hessling, 1990-1997 <M.Hessling@qut.edu.au>
Generated on: 22 Dec 1998

Return to Table of Contents