× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



On Tue, 8 Feb 2005, Ruel, Marc-Antoine wrote:

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
(...)
I don't see where you are doing this.  Are you?

No. That should be added. I just forgot about that.

Ok. At least now I know I'm not missing something. I have code that does this. I'll see if I can make it work with the stuff you've done.


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.

No problem! I'm sorry, but I don't know what word wrap is. My knowledge

Word wrap is a special case continuous field where words are kept kept together and the lines break at spaces.


I think the single FFW variable is fine since according to the docs you
can only have one field format word for each field.  As for the continuous
flags, my implementation is not complete and I think we should use yours.
While what I had in mind for continuous fields would work, what you have
done better follows the 5250 protocol and thus would make more sense to
some future coder.

Sure. But I can't take the credit for the correctness of the code since I did have inspiration from the tn5250j project. I only had to understand the inner workings and reproduce it in C. Ohh... C, I still code in C!?! :)

Ok, I'll put together a combined field.h with these ideas. Then I will make field.c and session.c have our combined work and use the new field.h.


The only change I would make to your implementation is that it assumes
continuous fields all occur in order one after the other.  The way I did
cursor progression allows us to use continuous fields even if they are out
of order.

Ok, I can't recall but I assume you understand the problem better than me :) Anyway, we would have to add the content flow on "middle deletion" to the code. Did you implement that? I haven't looked at this.

I did implement this, but not in tn5250. I only have proof of concept code that I did for the very first versions of x5250. I'll see if I can make that code work here in 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-2024 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.