From krw@Pkrw.tcn.net  Tue Mar 25 20:03:11 1997
Received: from Pkrw.tcn.net (Pkrw.tcn.net [199.166.4.58])
          by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id UAA12029
          for <FreeBSD-gnats-submit@freebsd.org>; Tue, 25 Mar 1997 20:03:05 -0800 (PST)
Received: (from krw@localhost)
	by Pkrw.tcn.net (8.8.5/8.8.5) id XAA00326;
	Tue, 25 Mar 1997 23:06:30 -0500 (EST)
Message-Id: <199703260406.XAA00326@Pkrw.tcn.net>
Date: Tue, 25 Mar 1997 23:06:30 -0500 (EST)
From: krw@tcn.net
Reply-To: krw@tcn.net
To: FreeBSD-gnats-submit@freebsd.org
Subject: sysinstall 'Message' dialogs incorrectly colour [OK] button
X-Send-Pr-Version: 3.2

>Number:         3105
>Category:       misc
>Synopsis:       The opening brackett '[' not coloured blue like 'OK]'
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Mar 25 20:10:01 PST 1997
>Closed-Date:    Sat Mar 29 11:50:51 PST 1997
>Last-Modified:  Sat Mar 29 11:51:05 PST 1997
>Originator:     Kenneth R. Westerback
>Release:        FreeBSD 2.2.1-RELEASE i386
>Organization:
>Environment:

	

>Description:

	The opening '[' in the [OK] button on 'Message' dialogs seems
	to be consistantly lacking the blue background the 'OK]' characters
	have, giving the button a lopsided unappealing look.

>How-To-Repeat:

	/stand/sysinstall
	choose 'Custom'
	choose 'Label'
	examine '[OK]' button on resulting Message dialog

>Fix:
	
	unknown (to me!)

>Release-Note:
>Audit-Trail:

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);
       }
   
 
 

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);
        }
    
  
  
State-Changed-From-To: open->closed 
State-Changed-By: jkh 
State-Changed-When: Sat Mar 29 11:50:51 PST 1997 
State-Changed-Why:  
Fixed. 
>Unformatted:
