/usr/share/doc/the/html/app3.html is in the-doc 3.3~rc1-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 | <HTML>
<HEAD><TITLE>THE Reference - Appendix 3 </TITLE></HEAD>
<BODY BGCOLOR="#F1EDD1" LINK = "#0000FF" VLINK = "#FF0022" ALINK = "#808000">
<CENTER> <img WIDTH="64" HEIGHT="64" HSPACE="20" SRC="the64.png" ALT="THE"> </CENTER>
<A NAME="APPENDIX3"></A>
<H2> APPENDIX 3 - POINTER DEVICE SUPPORT IN THE </H2>
<HR>
This appendix describes the default behaviour of supported pointer devices when running THE; usually a mouse. <P>
<B> SYNTAX: </B><P>
Mouse "keys" have the following syntax: <P>
<CENTER><TABLE BORDER=1 CELLSPACING=1 CELLPADDING=2>
<TR><TH>[a-]bcB IN window</TH><TH>Description</TH></TR>
<TR><TD>[a-]<BR><BR><BR><BR>b<BR><BR><BR>c<BR><BR><BR>d<BR>IN<BR>window<BR><BR><BR><BR><BR></TD><TD>is a keyboard modifier, the same as keyboard<BR>keys. The 'a' can be one of S,C or A for<BR>SHIFT, CONTROL and ALT respectively. The '-'<BR>is mandatory.<BR>is the mouse action. This can be one of P, R,<BR>C, 2, D or S for PRESS, RELEASE, CLICK,<BR>DOUBLE_CLICK, DRAG and SCROLL respectively.<BR>is the mouse button. This can be one of L, R<BR>M, U or D for LEFT, RIGHT, MIDDLE, UP or DOWN<BR>respectively.<BR>B for BUTTON, W for WHEEL<BR>mandatory keyword<BR>the area of the screen in which the mouse<BR>event is to take place. The valid values<BR>for this are:<BR>Filearea, Cmdline, Idline, Arrow, PRefix,<BR>STatarea, Divider and * (for all)<BR></TD></TR>
<TR><TD></TD><TD></TD></TR></TABLE></CENTER><P>
<B> EXAMPLES: </B><P>
<CENTER><TABLE BORDER=1 CELLSPACING=1 CELLPADDING=2>
<TR><TH>Mouse Event</TH><TH>Description</TH></TR>
<TR><TD>S-PLB IN PR<BR><BR><BR><BR>2RB IN I<BR><BR>SUW IN *<BR></TD><TD>Left mouse button is pressed,<BR>while holding down the SHIFT key,<BR>and the mouse positioned in the<BR>prefix area.<BR>Right mouse button double-clicked<BR>in idline.<BR>Scroll Up Wheel in all windows.<BR></TD></TR>
<TR><TD></TD><TD></TD></TR></TABLE></CENTER><P>
<B> DEFAULTS: </B><P>
<CENTER><TABLE BORDER=1 CELLSPACING=1 CELLPADDING=2>
<TR><TH>Mouse Event (Win32)</TH><TH>Command(s)</TH></TR>
<TR><TD>2LB in FILEAREA<BR>2LB in PREFIX<BR>CRB in FILEAREA<BR>CRB in PREFIX<BR>CLB in CMDLINE<BR>CLB in DIVIDER<BR>CLB in FILEAREA<BR>CLB in FILETABS<BR>CLB in IDLINE<BR>CLB in PREFIX<BR>CLB in STATAREA<BR>CRB in IDLINE<BR>A-PLB in FILEAREA<BR>A-PRB in FILEAREA<BR>C-DLB in FILEAREA<BR>C-PLB in FILEAREA<BR>C-PRB in FILEAREA<BR>S-DLB in FILEAREA<BR>S-PLB in FILEAREA<BR>S-PRB in FILEAREA<BR>SUW in *<BR>SDW in *<BR>SLW in *<BR>SRW in *<BR></TD><TD>cursor MOUSE#sos EDIT<BR>cursor MOUSE#sos EDIT<BR>cursor MOUSE#sos MAKECURR<BR>cursor MOUSE#sos MAKECURR<BR>cursor MOUSE<BR>screen 1<BR>cursor MOUSE<BR>tabfile<BR>xedit<BR>cursor MOUSE<BR>status<BR>xedit -<BR>backward<BR>forward<BR>cursor MOUSE#mark BOX<BR>cursor MOUSE#reset BLOCK#mark BOX<BR>cursor MOUSE#mark BOX<BR>cursor MOUSE#mark LINE<BR>cursor MOUSE#reset BLOCK#mark LINE<BR>cursor MOUSE#mark LINE<BR>backward 5 lines<BR>forward 5 lines<BR>left 5<BR>right 5<BR></TD></TR>
<TR><TD></TD><TD></TD></TR></TABLE></CENTER><P>
<CENTER><TABLE BORDER=1 CELLSPACING=1 CELLPADDING=2>
<TR><TH>Mouse Event (X11)</TH><TH>Command(s)</TH></TR>
<TR><TD>2LB in FILEAREA<BR>2LB in PREFIX<BR>CLB in CMDLINE<BR>CLB in DIVIDER<BR>CLB in FILEAREA<BR>CLB in IDLINE<BR>CLB in PREFIX<BR>CLB in STATAREA<BR>CRB in FILEAREA<BR>CRB in IDLINE<BR>CRB in PREFIX<BR>C-DLB in FILEAREA<BR>C-PLB in FILEAREA<BR>C-PRB in FILEAREA<BR>S-DLB in FILEAREA<BR>S-PLB in FILEAREA<BR>S-PRB in FILEAREA<BR></TD><TD>cursor MOUSE#sos EDIT<BR>cursor MOUSE#sos EDIT<BR>cursor MOUSE<BR>screen 1<BR>cursor MOUSE<BR>xedit<BR>cursor MOUSE<BR>status<BR>cursor MOUSE#sos MAKECURR<BR>xedit -<BR>cursor MOUSE#sos MAKECURR<BR>cursor MOUSE#mark BOX<BR>cursor MOUSE#reset BLOCK#mark BOX<BR>cursor MOUSE#mark BOX<BR>cursor MOUSE#mark LINE<BR>cursor MOUSE#reset BLOCK#mark LINE<BR>cursor MOUSE#mark LINE<BR></TD></TR>
<TR><TD></TD><TD></TD></TR></TABLE></CENTER><P>
<CENTER><TABLE BORDER=1 CELLSPACING=1 CELLPADDING=2>
<TR><TH>Mouse Event (ncurses)</TH><TH>Command(s)</TH></TR>
<TR><TD>2LB in FILEAREA<BR>2LB in PREFIX<BR>CLB in CMDLINE<BR>CLB in DIVIDER<BR>CLB in FILEAREA<BR>CLB in IDLINE<BR>CLB in PREFIX<BR>CLB in STATAREA<BR>CRB in FILEAREA<BR>CRB in IDLINE<BR>CRB in PREFIX<BR></TD><TD>cursor MOUSE#sos EDIT<BR>cursor MOUSE#sos EDIT<BR>cursor MOUSE<BR>screen 1<BR>cursor MOUSE<BR>xedit<BR>cursor MOUSE<BR>status<BR>cursor MOUSE#sos MAKECURR<BR>xedit -<BR>cursor MOUSE#sos MAKECURR<BR></TD></TR>
<TR><TD></TD><TD></TD></TR></TABLE></CENTER><P>
<B> NOTES: </B><P>
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. <P>
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. <P>
<HR>
<ADDRESS>
The Hessling Editor is Copyright © <A HREF = "http://www.rexx.org/">Mark Hessling</A>, 1990-2016
<<A HREF = "mailto:mark@rexx.org">mark@rexx.org</A>>
<BR>Generated on: 10 Aug 2016
</ADDRESS><HR>
Return to <A HREF = "index.html#TOC"> Table of Contents </A><BR>
</BODY> </HTML>
|