From owner-svn-src-all@FreeBSD.ORG Wed Apr 21 18:55:45 2010 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6F7D7106564A; Wed, 21 Apr 2010 18:55:45 +0000 (UTC) (envelope-from brucec@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 53E648FC14; Wed, 21 Apr 2010 18:55:45 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id o3LItjh1038859; Wed, 21 Apr 2010 18:55:45 GMT (envelope-from brucec@svn.freebsd.org) Received: (from brucec@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id o3LItiw2038856; Wed, 21 Apr 2010 18:55:44 GMT (envelope-from brucec@svn.freebsd.org) Message-Id: <201004211855.o3LItiw2038856@svn.freebsd.org> From: Bruce Cran Date: Wed, 21 Apr 2010 18:55:44 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r207005 - head/usr.sbin/sysinstall X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Apr 2010 18:55:45 -0000 Author: brucec Date: Wed Apr 21 18:55:44 2010 New Revision: 207005 URL: http://svn.freebsd.org/changeset/base/207005 Log: Make the "Q = Finish" text visible when running sysinstall as a normal application. Reword the boot manager screen to try and avoid confusion. Reviewed by: randi Approved by: rrs (mentor) MFC after: 1 week Modified: head/usr.sbin/sysinstall/disks.c head/usr.sbin/sysinstall/menus.c Modified: head/usr.sbin/sysinstall/disks.c ============================================================================== --- head/usr.sbin/sysinstall/disks.c Wed Apr 21 18:43:15 2010 (r207004) +++ head/usr.sbin/sysinstall/disks.c Wed Apr 21 18:55:44 2010 (r207005) @@ -207,9 +207,12 @@ print_command_summary(void) mvprintw(14, 0, "The following commands are supported (in upper or lower case):"); mvprintw(16, 0, "A = Use Entire Disk G = set Drive Geometry C = Create Slice"); mvprintw(17, 0, "D = Delete Slice Z = Toggle Size Units S = Set Bootable | = Expert m."); - mvprintw(18, 0, "T = Change Type U = Undo All Changes Q = Finish"); + mvprintw(18, 0, "T = Change Type U = Undo All Changes"); + if (!RunningAsInit) - mvprintw(18, 47, "W = Write Changes"); + mvprintw(18, 47, "W = Write Changes Q = Finish"); + else + mvprintw(18, 47, "Q = Finish"); mvprintw(21, 0, "Use F1 or ? to get more help, arrow keys to select."); move(0, 0); } Modified: head/usr.sbin/sysinstall/menus.c ============================================================================== --- head/usr.sbin/sysinstall/menus.c Wed Apr 21 18:43:15 2010 (r207004) +++ head/usr.sbin/sysinstall/menus.c Wed Apr 21 18:55:44 2010 (r207005) @@ -1175,20 +1175,16 @@ DMenu MenuMBRType = { "at boot time. If you have more than one drive and want to boot\n" "from the second one, the boot manager will also make it possible\n" "to do so (limitations in the PC BIOS usually prevent this otherwise).\n" - "If you will only have FreeBSD on the machine the boot manager is\n" - "not needed and it slows down the boot while offering you the choice\n" - "of which operating system to boot. If you do not want a boot\n" - "manager, or wish to replace an existing one, select \"standard\".\n" - "If you would prefer your Master Boot Record remain untouched then\n" - "select \"None\".\n\n" - " NOTE: PC-DOS users will almost certainly require \"None\"!", - "Press F1 to read about drive setup", + "If you have other operating systems installed and would like a choice when\n" + "booting, choose \"BootMgr\". If you would prefer to keep your existing\n" + "boot manager, select \"None\".\n\n", + "", "drives", - { { "Standard", "Install a standard MBR (no boot manager)", + { { "Standard", "Install a standard MBR (non-interactive boot manager)", dmenuRadioCheck, dmenuSetValue, NULL, &BootMgr, '(', '*', ')', 1 }, { "BootMgr", "Install the FreeBSD Boot Manager", dmenuRadioCheck, dmenuSetValue, NULL, &BootMgr, '(', '*', ')', 0 }, - { "None", "Leave the Master Boot Record untouched", + { "None", "Do not install a boot manager", dmenuRadioCheck, dmenuSetValue, NULL, &BootMgr, '(', '*', ')', 2 }, { NULL } }, };