From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Subject: bug#30505: Starting console/terminal Unicode support Date: Mon, 26 Feb 2018 18:09:53 +0100 Message-ID: <87sh9nvfry.fsf@gnu.org> References: <87vaevi2sk.fsf@gnu.org> <20180218114833.7d5e7848@scratchpost.org> <87r2phezzv.fsf@gnu.org> <20180219180849.3a509e80@scratchpost.org> <87d110g1l2.fsf@gnu.org> <20180219233553.31aeef1a@scratchpost.org> <87bmgic7bl.fsf_-_@gnu.org> <20180222000105.46d017ca@scratchpost.org> <87lgfjbczk.fsf@gnu.org> <20180225133131.76260198@scratchpost.org> <20180225135704.3c437152@scratchpost.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44757) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eqMHv-0005iE-Se for bug-guix@gnu.org; Mon, 26 Feb 2018 12:10:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eqMHq-0002m2-OI for bug-guix@gnu.org; Mon, 26 Feb 2018 12:10:07 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:54100) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eqMHq-0002lo-Ky for bug-guix@gnu.org; Mon, 26 Feb 2018 12:10:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eqMHq-0005o6-Es for bug-guix@gnu.org; Mon, 26 Feb 2018 12:10:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <20180225135704.3c437152@scratchpost.org> (Danny Milosavljevic's message of "Sun, 25 Feb 2018 13:57:04 +0100") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Danny Milosavljevic Cc: 30505@debbugs.gnu.org Hey, Danny Milosavljevic skribis: >> Usually I'm not a fan of overriding user settings (in this case the kern= el >> command line) but in this case it's OK since the rest of the system at l= east >> can be sure that we have UTF-8 VTs. > > Aha, the gnu/services/base.scm tries to make sure that an UTF-8 aware uni= code > font is already loaded before switching the tty to UTF-8. We would have = to > set default_utf8 earlier (before even the vt is activated), otherwise the > setting wouldn't be copied to the new terminal. You=E2=80=99re talking about %default-console-font? What does that change? I=E2=80=99m lost. :-) We have the following options: 1. status quo, i.e., tcsetattr without %G in the =E2=80=98term-ttyN=E2=80= =99 services; 2. remove the tcsetattr call, write =E2=80=9C1=E2=80=9D to /sys/module/vt/parameters/default_utf8; 3. do nothing (no tcsetattr, no /sys, no %G). It seems that systemd does everything: %G, tcsetattr, and /sys. What do we do now? Ludo=E2=80=99.