Gregory wrote:
>On Jan 3, 2006, at 5:31 AM, Nancy Anthracite wrote:
>
>> In order to be able to use the mouse in Fileman, which I think has a
>> tremendous potential for easing the transition of a new user to the
>> non-gui
>> portions of VistA, George said to use this teminal emulation.  That
>> is all
>> that is about as far as I am concerned.
>
>I don't see how George's code could work without using special
>features of some terminal emulation package.

I don't know how special they are. Escape sequences for responding to mouse 
events and
checking mouse pointer status have been around for 15 to 20 years or more that 
I know of.
We used them in VMACS in some of the earliest terminal emulators for Macintosh 
and they
are a standard feature bult into all terminal emulators derived from XTerm.

>Think about it this
>way: when you manipulate the mouse, events there will be
>corresponding MOUSE events in the Windows (say) event loop, but
>either you'd have to fire KEY events (to which a terminal would
>respond), or do something with the corresponding events at the X11
>level (assuming you are using it). But under normal circumstances,
>even an X11 based terminal emulator would handle those events itself,
>and they would remain invisible to Fileman.

Mouse events come across as ESCAPE sequences, like function keys indicating 
mouseup or
mouse-down and row and column position, and there are ESCAPE sequences going 
back the
other way to turn on mouse reporting and to request a status update. We used 
them
extensively for menu navigation and text editing, including a logical multiple 
line
highlight and cut/copy/paste.

---------------------------------------
Jim Self
Systems Architect, Lead Developer
VMTH Computer Services, UC Davis
(http://www.vmth.ucdavis.edu/us/jaself)


-------------------------------------------------------
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

Reply via email to