From owner-freebsd-hackers@FreeBSD.ORG Thu Aug 21 08:16:16 2014 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 88449466; Thu, 21 Aug 2014 08:16:16 +0000 (UTC) Received: from smtp.dlink.ua (smtp.dlink.ua [193.138.187.146]) by mx1.freebsd.org (Postfix) with ESMTP id 4591B3567; Thu, 21 Aug 2014 08:16:16 +0000 (UTC) Received: from terran (unknown [192.168.99.1]) (Authenticated sender: ray) by smtp.dlink.ua (Postfix) with ESMTPSA id 44CB3C4927; Thu, 21 Aug 2014 11:08:45 +0300 (EEST) Date: Thu, 21 Aug 2014 11:09:20 +0300 From: Aleksandr Rybalko To: Stefan Esser Subject: Re: Opinions thought regarding: NEWCONS, rc.conf and rc.d/syscons Message-Id: <20140821110920.fecb365dda2129e5d21c351b@ddteam.net> In-Reply-To: <53F30A81.9090302@freebsd.org> References: <53F30A81.9090302@freebsd.org> X-Mailer: Sylpheed 3.4.2 (GTK+ 2.24.22; amd64-portbld-freebsd9.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: "freebsd-hackers@freebsd.org" X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Aug 2014 08:16:16 -0000 Hello Stefan! There is my opinion. On Tue, 19 Aug 2014 10:27:45 +0200 Stefan Esser wrote: > As you all probably know, 10.1 will ship with both SYSCONS and NEWCONS. > > I'm working keymap files for NEWCONS (translated from those in SYSCONS), > and they'll need to be named differently than before. > > The SYSCONF keymap names in rc.conf will not work for NEWCONS. They > include an encoding scheme in their name, while NEWCONS universally > uses Unicode. > > There are a few points that still need to be considered for 10.1: > > a) Is rc.d/syscons still an appropriate name when using NEWCONS? > (I'd leave it unchanged, but I thought I'd ask ...) It should follow same rules as other parts. So if we support syscons(4) kernel config options for compatibility, we should make it compatible too. (Then remove it all with syscons(4) removal) > > b) Do we need to identify NEWCONS vs. SYSCONS in the messages printed > by that rc script? (I guess this might be a good idea.) vt(4) print information about its attachment, so no requirement to do same once again. But will be nice to warn user on use syscons(4) rc variables with vt(4). > > c) Do we expect to warn the user when he has a SYSCONS keymap name > specified in the rc.conf "keymap" variable, while using NEWCONS? > (This might be a good idea, at least when the default is to use > NEWCONS and the user might not be aware of the change.) Yes. User have to know - "something can work incorrect". But I think with your great work on keymaps translation it will not have a place. :) > > d) Do we want to provide the user with an information regarding the > name of the SYSCONS keymap configured, to ease the transition? > (Could be done ...) IMO - yes > > e) Do we want the rc script to translate the SYSCONS keymap name > to its new form? (This might be good for people using foreign > keyboards, if their password uses characters located at other > positions than on the default keymap, that will be used if no > valid "keymap" is specified.) dunno > > f) It might be good to introduce "keymap_sc" (and/or "keymap_vt") > as a value used in preference to "keymap" if defined and the > corresponding console driver is detected. (An alternativ to > e) that is easier to implement and still allows to have one > rc.conf file that covers both SYSCONS and NEWCONS.) IMO good idea to name default one as 'keymap' + both version with suffixes. > > I'd appreciate opinios and ideas how to proceed with these > questions. Thank you very much for that work!!! > > Regards, STefan > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" WBW -- Aleksandr Rybalko