From owner-freebsd-current@FreeBSD.ORG Sat Sep 17 16:24:22 2011 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 91DE0106566C; Sat, 17 Sep 2011 16:24:22 +0000 (UTC) (envelope-from fbsd8@a1poweruser.com) Received: from mail-03.name-services.com (mail-03.name-services.com [69.64.155.195]) by mx1.freebsd.org (Postfix) with ESMTP id 75D3E8FC0C; Sat, 17 Sep 2011 16:24:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; q=dns/txt; s=DKIM-NAME-SERVICES; d=a1poweruser.com; h=From:To:Cc:Subject:Message-ID:X-Sender:X-Envelope-From; l=500; bh=ZRc+xZyBbEcH0lG7bp0i10pSCim+4NjhkB9CWJvlq9Q=; b=J+bhPH5uybdPMvSmAlwJORnZJgVFRzAnEXpcRvBsR1ALJMuSiAlqPGD+3N0FRyqUbQXEyEu1bGLrqkRI2XUzRmMVZSFere6DERetWscFkrL/UIADzllng0Bg/VOMJCLgot2DobtWSscRZQWXvDre9nWxVmqfm+W7WYu9MU9YJZY= Received: from [192.168.1.64] ([76.240.47.196]) by mail-03.name-services.com with Microsoft SMTPSVC(6.0.3790.4675); Sat, 17 Sep 2011 09:24:22 -0700 Message-ID: <4E74C9B7.2090901@a1poweruser.com> Date: Sat, 17 Sep 2011 12:24:23 -0400 From: Fbsd8 User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: Nathan Whitehorn References: <4E71F647.2050007@a1poweruser.com> <4E7453CB.1040908@freebsd.org> In-Reply-To: <4E7453CB.1040908@freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 17 Sep 2011 16:24:22.0560 (UTC) FILETIME=[42397200:01CC7556] X-Sender: fbsd8@a1poweruser.com X-Envelope-From: fbsd8*a1poweruser.com Cc: freebsd-current@freebsd.org, FreeBSD Questions Subject: Re: 9.0 bata2 & keymap X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Sep 2011 16:24:22 -0000 Nathan Whitehorn wrote: >>>> On 09/15/11 14:57, Fbsd8 wrote: >>>> Out of the 9 USA maps only "us.iso.acc.kbd" worked somewhat. >>>> The keyboard 9 key block above the arrow keys don't function. >>>> Issuing the "man cmd_name" command doe's display the man page, >>>> but the {Page up, Page down keys } don't work. >>>> Also when using the "ee" edit command the {delete, Page up, Page down >>>> keys } don't work. This does not happen in any of the previous releases. >>>> >>>> Further more, localization of the keyboard should not be forced on the >>>> user during the install process. This BSDinstall option should be >>>> disabled or removed. >>> >>> You can press "Cancel" there, which will cancel keymap selection and >>> keep the default. The utility being invoked is just kbdmap(1), and any >>> changes to it need to go there. >>> -Nathan >> >> >> .. maybe name that button "skip" then? >> > >The button is provided by kbdmap, as is the entire screen. We could add >an "installer" mode to kbdmap that names it skip instead of cancel, of >course. I'm traveling for another 2 weeks and won't have time to do >that, however. >-Nathan > Nathan Its good to be talking directly with the bsdinstall author. Changing the cancel button in the kbdmap command to skip, does not address the problem, which is the lack of knowledge of the standard bsdinstall user. I've been using Freebsd since 4.0 and never used the kbdmap command or for that matter even knew it existed. The real question is not "how to change the kbdmap command" but one of should bsdinstall even be presenting this option? Localization of Freebsd has all ways been a advanced configuration task in previous releases and maybe it should remain that way. Even in the comments of bsdinstall you call this option as optional. The easiest solution is just to comment out this code in bsdinstall. As you stated above "selecting the cancel button will keep the default". How is the bsdinstall user suppose to know this? Changing 'cancel" to "skip" still does not address the problem that users are NOT going to know that doing so will give them the old default. This is a good case for a help dialog screen. One way to keep the localization option is to add an informational bsdinstall dialog screen asking the user if they want to modify this install to use a keyboard that is language specific, (ie: Japanese keyboard, Russian keyboard, ect). Including a statement saying that selecting localization will launch the system kbdmap command, and then selecting the cancel button will result in the default used in previous releases to be used. This gives the user the information needed to base a intelligent decision on and keeps the kbdmap command unchanged. Another way would be to add an entry to the top of kbdmap command database labeled "(default) description" so its highlighted on the initial display and hitting enter will take this selection. Now I must point out that I tested hitting the cancel button in the kbdmap command. It worked in that no keymap= statement was inserted into /etc/rc.conf but it must also make some other changes some where else in the system because if you do select an entry from the kbdmap database and them remove the keymap= statement that was inserted into /etc/rc.conf and then reboot the system, it will hang on reboot. Another point of interest is when selecting "cancel for the default keyboard" still results in the block of 9 keys above the arrow keys to not function. Issuing the "man cmd_name" command does display the man page, but the {Page up, Page down keys } don't work. Also when using the "ee" edit command the {delete, Page up, Page down don't work. There may be more system utility commands with the same flaw. This may indicate that the default keyboard map in kbdmap command has changed, is not the same as in previous releases or some thing else in the 9.0 system has changed. In either case this needs research. Joe