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
-- 
[EMAIL PROTECTED] / [EMAIL PROTECTED]
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 [EMAIL PROTECTED]
| To subscribe to this list send email to [EMAIL PROTECTED]
| To unsubscribe from this list send email to [EMAIL PROTECTED]
| Questions should be directed to the list owner/operator: [EMAIL PROTECTED]
+---

Reply via email to