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,
C, 2 or D for PRESS, RELEASE, CLICK,
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 Event (PDCurses)Command(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

Mouse Event (ncurses)Command(s)
CLB in FILEAREA
CRB in FILEAREA
2LB in FILEAREA
CLB in PREFIX
CRB in PREFIX
2LB in PREFIX
CLB in CMDLINE
CLB in STATAREA
CLB in IDLINE
CRB in IDLINE
CLB in DIVIDER
cursor MOUSE
cursor MOUSE#sos MAKECURR
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 CLICK action. This is the case for THE with ncurses or PDCurses. Therefore itis usually a good idea to have the CLICK action assigned to a cursor positioning command if the DOUBLE_CLICK for the same button is used.


The Hessling Editor is Copyright © Mark Hessling, 1990-2002 <M.Hessling@qut.edu.au>
Generated on: 15 Aug 2002

Return to Table of Contents