Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Mar 1997 00:30:01 -0800 (PST)
From:      "Kenneth R. Westerback" <krw@tcn.net>
To:        freebsd-bugs
Subject:   misc/3105 - patch to fix/close
Message-ID:  <199703290830.AAA16067@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR misc/3105; it has been noted by GNATS.

From: "Kenneth R. Westerback" <krw@tcn.net>
To: freebsd-bugs@freefall.freebsd.org
Cc:  Subject: misc/3105 - patch to fix/close
Date: Fri, 28 Mar 1997 18:50:01 -0800 (PST)

 The following reply was made to PR misc/3105; it has been noted by GNATS.
 
 From: "Kenneth R. Westerback" <krw@tcn.net>
 To: freebsd-gnats-submit@freebsd.org
 Cc:  Subject: misc/3105 - patch to fix/close
 Date: Fri, 28 Mar 1997 21:50:39 -0500 (EST)
 
  The problem is not in sysinstall it is in 
  /usr/src/gnu/lib/libdialog/msgbox.c and here is the patch:
  
  *** msgbox.c	Tue Mar 18 08:06:49 1997
  --- msgbox.c.NEW	Fri Mar 28 17:13:58 1997
  ***************
  *** 180,186 ****
        max_lines = getnlines(prompt);
        print_page(dialog, theight, width, prompt, startline, hscroll);
        print_perc(dialog, height-3, width-9, (float) (startline+theight)/max_lines);
  !     wmove(dialog, height-2, width/2-6);
        wrefresh(dialog);
        while ((key != ESC) && (key != '\n') && (key != '\r')) {
    	key = wgetch(dialog);
  --- 180,186 ----
        max_lines = getnlines(prompt);
        print_page(dialog, theight, width, prompt, startline, hscroll);
        print_perc(dialog, height-3, width-9, (float) (startline+theight)/max_lines);
  !     wmove(dialog, height-2, width/2-3);
        wrefresh(dialog);
        while ((key != ESC) && (key != '\n') && (key != '\r')) {
    	key = wgetch(dialog);
  ***************
  *** 230,236 ****
    	}
    	print_page(dialog, theight, width, prompt, startline, hscroll);
    	print_perc(dialog, height-3, width-9, (float) (startline+theight)/max_lines);
  ! 	wmove(dialog, height-2, width/2-2);
    	wrefresh(dialog);
        }
    
  --- 230,236 ----
    	}
    	print_page(dialog, theight, width, prompt, startline, hscroll);
    	print_perc(dialog, height-3, width-9, (float) (startline+theight)/max_lines);
  ! 	wmove(dialog, height-2, width/2-3);
    	wrefresh(dialog);
        }
    
  
  



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199703290830.AAA16067>