I'd change the code in terminal.c around line 97 to something like this for 
faster compatibility with other port (for instance the win32 version hasn't 
been updated):

tn5250_terminal_enhanced (Tn5250Terminal * This)
  return (This)->enhanced == NULL ? 0 : (*((This)->enhanced)) ((This));

And am I wrong or you call tn5250_terminal_create_window() even though enhanced 
is false? I didn't see the check in 

I'm not sure of what I should do on window and scrollbar create/deletion. Could 
a default implementation update the display by using text boxes or it should 
really overlay the screen?

Marc-Antoine Ruel

> -----Message d'origine-----
> DeÂ: linux5250-bounces@xxxxxxxxxxxx [mailto:linux5250-
> bounces@xxxxxxxxxxxx] De la part de Ruel, Marc-Antoine
> EnvoyÃÂ: 23 fÃvrier, 2005 15:27
> ÃÂ: Linux 5250 Development Project
> ObjetÂ: RE: [LINUX5250] Screen bleeding
> Hi
> I looked at the changes and realized how I shouldn't have changed the form
> of the code so much. Anyway it's all reverted now. :)
> I still have some modifications to add but they are minor. I also fixed my
> CVS system to not have end of line problems anymore. What a pain... I
> should be able to create valid diff files now.
> There is only one thing I can't compile on VC7.1. It is the lines like
> this:
> ((int) border_length)--;
> So I'll post you a diff file to fix this.
> On my first run, the terminal did crash so I am currently investigating
> that.
> Marc-Antoine Ruel
> --
> This is the Linux 5250 Development Project (LINUX5250) mailing list
> To post a message email: LINUX5250@xxxxxxxxxxxx
> To subscribe, unsubscribe, or change list options,
> visit: http://lists.midrange.com/mailman/listinfo/linux5250
> or email: LINUX5250-request@xxxxxxxxxxxx
> Before posting, please take a moment to review the archives
> at http://archive.midrange.com/linux5250.

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.