On Jan 3, 2006, at 5:14 PM, Jim Self wrote:
The ESCAPE sequences that report mouse events, report the row and
column coordinates in
terms of character cell positions within the display area of the
terminal emulator.
It never occurred to me that terminal emulators would send escape
sequences for mouse click events.
I had almost forgotten about the possibility of translating mouse
events to arrow keys.
That is the oldest and crudest way of getting some utility from a
mouse in a terminal
emulator. The best thing about it was that it would work even if
the host application
didn't know anything about the possibility of a mouse. I know I
used that at least 20
years ago on early Macintosh with an emulator called VersaTerm. The
VersaTerm
documentation is what originally led me to understand that CHUI
applications could use the
mouse extensively - and quite efficiently - once they have a
comprehensive means of
handling ESCAPE sequences.
Yeah, I thought it was pretty ugly, too.
===
Gregory Woodhouse
[EMAIL PROTECTED]
"Good acts are like good poems. One may easily get their drift, but
they are not rationally understood."
--Albert Einstein
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Hardhats-members mailing list
Hardhats-members@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hardhats-members