… | |
… | |
1963 | |
1963 | |
1964 | ESC [ M o o o !1005, !1015 (three octets) |
1964 | ESC [ M o o o !1005, !1015 (three octets) |
1965 | ESC [ M c c c 1005, !1015 (three characters) |
1965 | ESC [ M c c c 1005, !1015 (three characters) |
1966 | ESC [ Pm M 1015 (three or more numeric parameters) |
1966 | ESC [ Pm M 1015 (three or more numeric parameters) |
1967 | |
1967 | |
1968 | The three parameters are C<code>, C<x> and C<y>. Code is the numeric code |
1968 | The first three parameters are C<code>, C<x> and C<y>. Code is the numeric |
1969 | as for the other modes (but encoded as a decimal number), C<x> and C<y> |
1969 | code as for the other modes (but encoded as a decimal number, including |
|
|
1970 | the additional offset of 32, so you have to subtract 32 first), C<x> and |
1970 | are the coordinates (1|1 is the upper left corner, just as with cursor |
1971 | C<y> are the coordinates (1|1 is the upper left corner, just as with |
1971 | positioning). |
1972 | cursor positioning). |
1972 | |
1973 | |
1973 | Example: Shift-Button-1 press at top row, column 80. |
1974 | Example: Shift-Button-1 press at top row, column 80. |
1974 | |
1975 | |
1975 | ESC [ 5 ; 80 ; 1 M |
1976 | ESC [ 37 ; 80 ; 1 M |
1976 | |
1977 | |
1977 | One can use this feature by simply enabling it and then looking for |
1978 | One can use this feature by simply enabling it and then looking for |
1978 | parameters to the C<ESC [ M> reply - if there are any, this mode is |
1979 | parameters to the C<ESC [ M> reply - if there are any, this mode is |
1979 | active, otherwise one of the old reporting styles is used. |
1980 | active, otherwise one of the old reporting styles is used. |
1980 | |
1981 | |