On Jan 3, 2006, at 5:56 AM, Gregory Woodhouse 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. 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.
Just clarify (I hope): If i were to make a guess as to what George
might have done, I would think that if the emulator allowed custom
handling of mouse events, it could take MOUSEMOVE events, translate
the relative offset from pixels to IOM x IOSL (but how would it know
these values?) and "fire" key events corresponding to simulate use of
the arrow keys (maybe with a modifier) to simulate the same relative
motion. But then, of course, ScreenMan would have to be modified to
understand these key sequences, too.
===
Gregory Woodhouse
[EMAIL PROTECTED]
"The most incomprehensible thing about
the world is that it is at all comprehensible."
--Albert Einstein (1879-1955)
-------------------------------------------------------
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