1/*man-start********************************************************************* 2 3 4======================================================================== 5APPENDIX 3 - POINTER DEVICE SUPPORT IN THE 6======================================================================== 7 8This appendix describes the default behaviour of supported pointer devices 9when running THE; usually a mouse. 10 11------ 12SYNTAX: 13------ 14 15Mouse "keys" have the following syntax: 16 17 +--------------------+----------------------------------------------+ 18 | [a-]bcB IN window | Description | 19 +--------------------+----------------------------------------------+ 20 | [a-] |is a keyboard modifier, the same as keyboard | 21 | |keys. The 'a' can be one of S,C or A for | 22 | |SHIFT, CONTROL and ALT respectively. The '-' | 23 | |is mandatory. | 24 | b |is the mouse action. This can be one of P, R,| 25 | |C, 2, D or S for PRESS, RELEASE, CLICK, | 26 | |DOUBLE_CLICK, DRAG and SCROLL respectively. | 27 | c |is the mouse button. This can be one of L, R | 28 | |M, U or D for LEFT, RIGHT, MIDDLE, UP or DOWN | 29 | | respectively. | 30 | d |B for BUTTON, W for WHEEL | 31 | IN |mandatory keyword | 32 | window |the area of the screen in which the mouse | 33 | |event is to take place. The valid values | 34 | |for this are: | 35 | |Filearea, Cmdline, Idline, Arrow, PRefix, | 36 | |STatarea, Divider and * (for all) | 37 +--------------------+----------------------------------------------+ 38 39 40-------- 41EXAMPLES: 42-------- 43 44 +--------------------+------------------------------------+ 45 | Mouse Event | Description | 46 +--------------------+------------------------------------+ 47 | S-PLB IN PR | Left mouse button is pressed, | 48 | | while holding down the SHIFT key, | 49 | | and the mouse positioned in the | 50 | | prefix area. | 51 | 2RB IN I | Right mouse button double-clicked | 52 | | in idline. | 53 | SUW IN * | Scroll Up Wheel in all windows. | 54 +--------------------+------------------------------------+ 55 56 57-------- 58DEFAULTS: 59-------- 60 61 +------------------------+------------------------------------+ 62 | Mouse Event (Win32) | Command(s) | 63 +------------------------+------------------------------------+ 64 | 2LB in FILEAREA | cursor MOUSE#sos EDIT | 65 | 2LB in PREFIX | cursor MOUSE#sos EDIT | 66 | CRB in FILEAREA | cursor MOUSE#sos MAKECURR | 67 | CRB in PREFIX | cursor MOUSE#sos MAKECURR | 68 | CLB in CMDLINE | cursor MOUSE | 69 | CLB in DIVIDER | screen 1 | 70 | CLB in FILEAREA | cursor MOUSE | 71 | CLB in FILETABS | tabfile | 72 | CLB in IDLINE | xedit | 73 | CLB in PREFIX | cursor MOUSE | 74 | CLB in STATAREA | status | 75 | CRB in IDLINE | xedit - | 76 | A-PLB in FILEAREA | backward | 77 | A-PRB in FILEAREA | forward | 78 | C-DLB in FILEAREA | cursor MOUSE#mark BOX | 79 | C-PLB in FILEAREA | cursor MOUSE#reset BLOCK#mark BOX | 80 | C-PRB in FILEAREA | cursor MOUSE#mark BOX | 81 | S-DLB in FILEAREA | cursor MOUSE#mark LINE | 82 | S-PLB in FILEAREA | cursor MOUSE#reset BLOCK#mark LINE | 83 | S-PRB in FILEAREA | cursor MOUSE#mark LINE | 84 | SUW in * | backward 5 lines | 85 | SDW in * | forward 5 lines | 86 | SLW in * | left 5 | 87 | SRW in * | right 5 | 88 +------------------------+------------------------------------+ 89 90 +------------------------+------------------------------------+ 91 | Mouse Event (X11) | Command(s) | 92 +------------------------+------------------------------------+ 93 | 2LB in FILEAREA | cursor MOUSE#sos EDIT | 94 | 2LB in PREFIX | cursor MOUSE#sos EDIT | 95 | CLB in CMDLINE | cursor MOUSE | 96 | CLB in DIVIDER | screen 1 | 97 | CLB in FILEAREA | cursor MOUSE | 98 | CLB in IDLINE | xedit | 99 | CLB in PREFIX | cursor MOUSE | 100 | CLB in STATAREA | status | 101 | CRB in FILEAREA | cursor MOUSE#sos MAKECURR | 102 | CRB in IDLINE | xedit - | 103 | CRB in PREFIX | cursor MOUSE#sos MAKECURR | 104 | C-DLB in FILEAREA | cursor MOUSE#mark BOX | 105 | C-PLB in FILEAREA | cursor MOUSE#reset BLOCK#mark BOX | 106 | C-PRB in FILEAREA | cursor MOUSE#mark BOX | 107 | S-DLB in FILEAREA | cursor MOUSE#mark LINE | 108 | S-PLB in FILEAREA | cursor MOUSE#reset BLOCK#mark LINE | 109 | S-PRB in FILEAREA | cursor MOUSE#mark LINE | 110 +------------------------+------------------------------------+ 111 112 +------------------------+------------------------------------+ 113 | Mouse Event (ncurses) | Command(s) | 114 +------------------------+------------------------------------+ 115 | 2LB in FILEAREA | cursor MOUSE#sos EDIT | 116 | 2LB in PREFIX | cursor MOUSE#sos EDIT | 117 | CLB in CMDLINE | cursor MOUSE | 118 | CLB in DIVIDER | screen 1 | 119 | CLB in FILEAREA | cursor MOUSE | 120 | CLB in IDLINE | xedit | 121 | CLB in PREFIX | cursor MOUSE | 122 | CLB in STATAREA | status | 123 | CRB in FILEAREA | cursor MOUSE#sos MAKECURR | 124 | CRB in IDLINE | xedit - | 125 | CRB in PREFIX | cursor MOUSE#sos MAKECURR | 126 +------------------------+------------------------------------+ 127 128 129----- 130NOTES: 131----- 132 1331. In the X11 port, pressing the middle mouse button anywhere within the 134 THE window, will result in the contents of the X selection being pasted 135 where the text cursor is currently displayed. If you hold down 136 any modifier key, such as SHIFT or CONTROL, that sequence is 137 passed to THE and can be mapped. Therefore; PMB or RMD is NOT 138 able to be used in THE, but C-PMB, C-RMB, S-PMB etc. can. 139 1402. The button action DOUBLE_CLICKED will always be preceded by a CLICK 141 action. This is the case for THE with ncurses or PDCurses. Therefore 142 itis usually a good idea to have the CLICK action assigned to a 143 cursor positioning command if the DOUBLE_CLICK for the same button is 144 used. 145 146**man-end**********************************************************************/ 147