Using version 0.17.3 with SLES 10. It works almost perfectly with this one
exception. We have custom as400 menus that have a 2 character option field
to select your option. If I take a single digit menu option to run a
program... when I exit the program, it returns to the menu with the cursor
in the second position of the option field. Technically, that is where the
cursor was when it left the menu, but it needs to reset back to the first
position of that field. We don't have this cursor problem with Client
Access or tn5250 0.16.5 in windows. Also, if I use a single digit option
that calls a submenu, backing out of that submenu does return the cursor to
the beginning of the option field of the previous menu.

I tried to cheat and map the enter key to do a field home and then enter,
which worked perfectly...except for when you have to press enter when there
are no fields on the screen (like when you sign on and your user is already
signed on). I could map enter to do a field home/reset/enter, but that's a
little too hackish for me.

We had this exact same bug using tn5250j, but one of our java developers
was able to fix it. He says he just had to comment one line of code out to
make it work right. I'm hoping this can be fixed that easily.

I'm definitely no C programmer, and I don't know much about the 5250
protocol, but I may be able to figure this out if someone could guide me to
the general area of the source to look at. Should I be looking in
session.c or display.c? In all of the source files, there are 318 lines
that include the word cursor...so I have it narrowed down that far, I
think. =) I'll take any help or advice I can get on this one...

Thanks!

--- - Toby Stanfill
--- - Programmer/Analyst
--- - O'Reilly Auto Parts
--- - (417)862-2674 ext. 1291

This message is protected by the Electronic Communications Privacy Act, 18
USCS § 2510 et seq., and may not be used, copied or forwarded without the
consent of the named recipient(s). The information contained in this
message is confidential, is intended only for the use of the individual or
entity named. If the reader of this message is not the intended recipient,
you are hereby notified that any dissemination, distribution or copying of
this communication is strictly prohibited. If you have received this
communication in error, please notify me immediately at 417-862-2674 ext
1291.


This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2020 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].