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


d
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, D or S for PRESS, RELEASE, CLICK,
DOUBLE_CLICK, DRAG and SCROLL respectively.
is the mouse button. This can be one of L, R
M, U or D for LEFT, RIGHT, MIDDLE, UP or DOWN
respectively.
B for BUTTON, W for WHEEL
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, Divider and * (for all)

EXAMPLES:

Mouse EventDescription
S-PLB IN PR



2RB IN I

SUW IN *
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.
Scroll Up Wheel in all windows.

DEFAULTS:

Mouse Event (Win32)Command(s)
2LB in FILEAREA
2LB in PREFIX
CRB in FILEAREA
CRB in PREFIX
CLB in CMDLINE
CLB in DIVIDER
CLB in FILEAREA
CLB in FILETABS
CLB in IDLINE
CLB in PREFIX
CLB in STATAREA
CRB in IDLINE
A-PLB in FILEAREA
A-PRB in FILEAREA
C-DLB in FILEAREA
C-PLB in FILEAREA
C-PRB in FILEAREA
S-DLB in FILEAREA
S-PLB in FILEAREA
S-PRB in FILEAREA
SUW in *
SDW in *
SLW in *
SRW in *
cursor MOUSE#sos EDIT
cursor MOUSE#sos EDIT
cursor MOUSE#sos MAKECURR
cursor MOUSE#sos MAKECURR
cursor MOUSE
screen 1
cursor MOUSE
tabfile
xedit
cursor MOUSE
status
xedit -
backward
forward
cursor MOUSE#mark BOX
cursor MOUSE#reset BLOCK#mark BOX
cursor MOUSE#mark BOX
cursor MOUSE#mark LINE
cursor MOUSE#reset BLOCK#mark LINE
cursor MOUSE#mark LINE
backward 5 lines
forward 5 lines
left 5
right 5

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

Mouse Event (ncurses)Command(s)
2LB in FILEAREA
2LB in PREFIX
CLB in CMDLINE
CLB in DIVIDER
CLB in FILEAREA
CLB in IDLINE
CLB in PREFIX
CLB in STATAREA
CRB in FILEAREA
CRB in IDLINE
CRB in PREFIX
cursor MOUSE#sos EDIT
cursor MOUSE#sos EDIT
cursor MOUSE
screen 1
cursor MOUSE
xedit
cursor MOUSE
status
cursor MOUSE#sos MAKECURR
xedit -
cursor MOUSE#sos MAKECURR

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-2011 <mark@rexx.org>

Return to Table of Contents