|
Hi Scott On Monday 18 June 2001 04:58, Scott Klement wrote: > Could you re-send this as a "unified" diff? That is, use "diff -u" > instead of just "diff" default mode? It's a bit easier to see what you > did that way... > On Sun, 17 Jun 2001, Martin Rowe wrote: > > Digging about in cursesterm.c I found (I think) the code you were > > speaking of and swapped it about. If I've used diff correctly (not > > used it before) this is what I did. Hopefully this makes more sense now - thanks for the -u pointer. I got a bit lost in the man page options list :) mrowe@jamaro:~$ diff -u tn5250/src/cursesterm.c.old tn5250/src/cursesterm.c --- tn5250/src/cursesterm.c.old Sun Jun 17 21:00:14 2001 +++ tn5250/src/cursesterm.c Sun Jun 17 21:04:24 2001 @@ -575,14 +575,14 @@ || This->data->last_height != tn5250_display_height(display)) { clear(); if(This->data->is_xterm) { - printf ("\x1b[8;%d;%dt", tn5250_display_height (display)+1, - tn5250_display_width (display)); if (This->data->font_132!=NULL) { if (tn5250_display_width (display)>100) printf(This->data->font_132); else printf(This->data->font_80); - } + printf ("\x1b[8;%d;%dt", tn5250_display_height (display)+1, + tn5250_display_width (display)); + } fflush (stdout); #ifdef HAVE_RESIZETERM resizeterm(tn5250_display_height(display)+1, tn5250_display_width(display)+1); Regards, Martin -- martin@dbg400.net / jamaro@firstlinux.net http://www.dbg400.net DBG/400 - DataBase Generation utilities Open Source test environment tools for the AS/400 / iSeries and miscellaneous database & spooled file management commands. +--- | This is the LINUX5250 Mailing List! | To submit a new message, send your mail to LINUX5250@midrange.com. | To subscribe to this list send email to LINUX5250-SUB@midrange.com. | To unsubscribe from this list send email to LINUX5250-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +---
As an Amazon Associate we earn from qualifying purchases.
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.