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)
RSS Feed