The other thing I noticed is that as far as I can tell your code correctly identifies fields as continuous and whether they are first, middle, or last, sets the MDT flag appropriately, and returns their contents correctly to the as/400 (i.e. MDT set on the first field only). What I don't see happening is the contents of the fields being changed in a continuous way. Maybe I'm just not looking in the right places, but I don't anywhere where the contents of fields "flow" into the other continuous fields. Perhaps an illustration will explain what I mean:

Suppose you have a continuous field that has two subfields called cont1 and cont2. Let's say each subfield is 5 characters long. Let's suppose that the operator keys data into the fields so their contents are like this:

cont1 = "01234"
cont2 = "56789"

Now suppose the operator positions the cursor at the first position of cont1 and presses delete twice. This should delete the two leftmost characters from cont1 and the contents of cont2 should "flow" into cont1. After pressing the delete key twice the contents of these fields should be:

cont1 = "23456"
cont2 = "789  "

I don't see where you are doing this.  Are you?

btw - word wrap is a tougher problem. I've done a proof of concept program that handles it (the very first x5250 release). We could use my proof of concept code and integrate into tn5250.

James Rich

It's not the software that's free; it's you.
        - billyskank on Groklaw

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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

This mailing list archive is Copyright 1997-2022 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].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.