CC'ing the linux5250 list since there are people there who may be interested.

On Wed, 11 Aug 2004, Brendan Bispham wrote:

On Tuesday 10 August 2004 23:18, James Rich wrote:

This is exactly what lib5250 does. lib5250 sees the 5250 protocol's CREATE WINDOW Structured Field and calls a function with the correct

Well, you're a C programmer, you would say it's sane :)

You did prompt me to look to see if anyone had used lib5250 within python and
lo and behold it's hidden in the depths of tn5250...

I'm trying to get it going, but it both proves your point that lib5250 does
everything and mine - that this is not easy to use with python, php etc.
Still if I can get it working then the hard part would be done, and it'll be
fun to play with...

The python stuff in tn5250 hasn't been working for a long time (at least not for me). I believe Jason Felice was the guy who wrote it. As Scott Klement explained to me (or at least as I understood it ;) ) you need to duplicate the main() function of tn5250.c or x5250.c and the functions in cursesterm.c or x5250term.c.


I *think* the python work that Jason did was to create python bindings which would enable python to be used with lib5250. But I'm not a python programmer and really am just guessing here. Perhaps Jason can respond?

James Rich

Vs lbh cynl n Zvpebfsg PQ  onpxjneqf, lbh pna urne fngnavp zrffntrf. Ohg
rira jbefr, vs lbh cynl vg sbejneq, vg vafgnyyf gurve fbsgjner!
        -- Fcbgvphf ba /.

As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.