From owner-freebsd-hackers@FreeBSD.ORG Sun Aug 24 00:00:08 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 E132DB7B; Sun, 24 Aug 2014 00:00:07 +0000 (UTC) Received: from h2.funkthat.com (gate2.funkthat.com [208.87.223.18]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "funkthat.com", Issuer "funkthat.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 006AC3BAF; Sun, 24 Aug 2014 00:00:06 +0000 (UTC) Received: from h2.funkthat.com (localhost [127.0.0.1]) by h2.funkthat.com (8.14.3/8.14.3) with ESMTP id s7O005uF066838 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 23 Aug 2014 17:00:05 -0700 (PDT) (envelope-from jmg@h2.funkthat.com) Received: (from jmg@localhost) by h2.funkthat.com (8.14.3/8.14.3/Submit) id s7O005hc066837; Sat, 23 Aug 2014 17:00:05 -0700 (PDT) (envelope-from jmg) Date: Sat, 23 Aug 2014 17:00:05 -0700 From: John-Mark Gurney To: Stefan Esser Subject: Re: Opinions thought regarding: NEWCONS, rc.conf and rc.d/syscons Message-ID: <20140824000005.GL71691@funkthat.com> Mail-Followup-To: Stefan Esser , "freebsd-hackers@freebsd.org" References: <53F30A81.9090302@freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <53F30A81.9090302@freebsd.org> User-Agent: Mutt/1.4.2.3i X-Operating-System: FreeBSD 7.2-RELEASE i386 X-PGP-Fingerprint: 54BA 873B 6515 3F10 9E88 9322 9CB1 8F74 6D3F A396 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ X-Resume: http://resnet.uoregon.edu/~gurney_j/resume.html X-TipJar: bitcoin:13Qmb6AeTgQecazTWph4XasEsP7nGRbAPE X-to-the-FBI-CIA-and-NSA: HI! HOW YA DOIN? can i haz chizburger? X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.2 (h2.funkthat.com [127.0.0.1]); Sat, 23 Aug 2014 17:00:05 -0700 (PDT) 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: Sun, 24 Aug 2014 00:00:08 -0000 Stefan Esser wrote this message on Tue, Aug 19, 2014 at 10:27 +0200: > 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 ...) Per compatibility, leave it names syscons until the old one is deprecated.. No point is having two copies.... > 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, and then if/when syscons is removed, we remove the warning... > 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 ...) 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.) Yes, and make sure to print out a [big] warning to have them update their config... > 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.) I would say no, since they are similar compatible... The biggest issue is if someone has a custom keymap... If this is the case, you might want to point them to a guide/your script for converting their custom keymap... Yes, I doubt many people are using a custom keymap, but they are probably out there... btw, thanks for your work on bringing FreeBSD into the 21st century! -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not."