James Rich | 4 Jun 2004 02:36

Re: x5250 update

On Thu, 3 Jun 2004, Scott Klement wrote:

> There are a number of other options as well.  I'd hate to think that it's
> necessary to hard-code all of the ones that will have to be handled
> specially.

Hmm... the ones I mentioned are the only ones that show up in the help.

> getopt_long() does work, but it's NetBSD's implementation, not GNU's.
> There's a listing of the differences between them on the following page:
>
>    http://www.freebsd.org/cgi/man.cgi?query=getopt_long

Ok, I'll look at this and make sure it works for both platforms.

> Now that I've gotten it to compile, I see that you're overriding lib5250's
> keyboard handling?   If I type a key in a field that's supposed to be
> uppercase-only, it shows up as lowercase then converts to uppercase when I
> hit enter.

Actually, I'm not overriding it.  Right now I'm working on the problem of
redrawing the screen.  Here's what happens:

1. You press a key.  Xlib gets the keypress event and reports the event
back to x5250.

2. x5250 finds out what key was pressed from Xlib.  x5250 returns the
result to lib5250.  At this point x5250 knows what key was pressed and
remembers it.

(Continue reading)

James Rich | 4 Jun 2004 05:31

Re: x5250 update

On Thu, 3 Jun 2004, James Rich wrote:

> On Thu, 3 Jun 2004, Scott Klement wrote:
>
> > getopt_long() does work, but it's NetBSD's implementation, not GNU's.
>
> Ok, I'll look at this and make sure it works for both platforms.

> What should be done is that x5250 should remember where the cursor was and
> ask lib5250 what character should be drawn in just that place.  That way

Ok, both of these issues have been addressed and I released a new version
that fixes them.  A list of changes and the tarball are at the usual spot:

http://www.chowhouse.com/~james/x5250

Thanks again for testing this out.

James Rich

Vs lbh guvax bs argjbex frphevgl nf na vzzhar flfgrz, Jvaqbjf vf UVI.
	-- Wbr Cyhgn
_______________________________________________
This is the Linux 5250 Development Project (LINUX5250) mailing list
To post a message email: LINUX5250@...
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/linux5250
or email: LINUX5250-request@...
Before posting, please take a moment to review the archives
at http://archive.midrange.com/linux5250.
(Continue reading)

James Rich | 4 Jun 2004 23:08

Re: x5250 update

On Thu, 3 Jun 2004, James Rich wrote:

> Ok, both of these issues have been addressed and I released a new version
> that fixes them.  A list of changes and the tarball are at the usual spot:
>
> http://www.chowhouse.com/~james/x5250

Ok, this is twice I've responded to myself.  I hope no one gets upset :)

I had to make a new release since the version mentioned above was seg
faulting.  At the same URL you will find version 0.1.2 that fixes that.

James Rich

Vs lbh guvax bs argjbex frphevgl nf na vzzhar flfgrz, Jvaqbjf vf UVI.
	-- Wbr Cyhgn
_______________________________________________
This is the Linux 5250 Development Project (LINUX5250) mailing list
To post a message email: LINUX5250@...
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/linux5250
or email: LINUX5250-request@...
Before posting, please take a moment to review the archives
at http://archive.midrange.com/linux5250.


Gmane