Mouse support in curses is available (see:  man curs_mouse)  but it's a
bit ugly when running inside of an xterm, because the xterm processes the
mouse events, but apparently has some way of communicating them to the
application that's under it, as well.

I haven't had a chance to do complete research on this since I was (at
that time) looking at copy/paste capabilities in xt5250, and decided that
there'd be no way to determine if input was coming from the keyboard or
the clipboard, so I figured it was a waste of time.

With a lot of the features we're having requests for, it seems to make
more sense to concentrate on gtk5250 rather than xt5250.   The enhanced
5250 support is one obvious place (how do we do a scrollbar in text?)
the keyboard mapping is another big one, copy & paste is another, and
then of course there's this question about positioning the cursor via
mouse clicks...

If gtk5250 had all of xt5250's features, and was included in the main
distro, I think it'd be the TN5250e terminal of choice for Unix users.
What do you think?


On Fri, 29 Aug 2003, James Rich wrote:

> Alex Mauer wrote:
> > Is there any possibility that tn5250 may get integration with GPM
> > (mouse), for cursor positioning?
>
> To do so we would probably need to create a function similar to
> tn5250_display_set_cursor_home() which would take as coordinates of the
> mouse click given to us from gpm.  I'm not sure how gpm interacts with
> curses.  If curses has mouse handling in it then there should be a way.
>
_______________________________________________
This is the Linux 5250 Development Project (LINUX5250) mailing list
To post a message email: [EMAIL PROTECTED]
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/linux5250
or email: [EMAIL PROTECTED]
Before posting, please take a moment to review the archives
at http://archive.midrange.com/linux5250.

Reply via email to