From 62ca0fdf9e3b76f964bc953bfc39511c41be27b5 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Thu, 17 Jul 2014 15:53:01 +0200 Subject: services: Add 'console-font-service'. * gnu/services/base.scm (unicode-start, console-font-service): New procedures. (%base-services): Call 'console-font-service' for TTY1 to TTY6. * gnu/system/install.scm (installation-services): Add comment about the console font. Call 'console-font-service' for TTY1 to TTY6. --- gnu/system/install.scm | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'gnu/system') diff --git a/gnu/system/install.scm b/gnu/system/install.scm index b30c5577e4..3fbfaf6d77 100644 --- a/gnu/system/install.scm +++ b/gnu/system/install.scm @@ -63,7 +63,9 @@ (define (normal-tty tty) #:motd motd #:auto-login "root") - ;; Documentation. + ;; Documentation. The manual is in UTF-8, but + ;; 'console-font-service' sets up Unicode support and loads a font + ;; with all the useful glyphs like em dash and quotation marks. (mingetty-service "tty2" #:motd motd #:auto-login "guest" @@ -86,6 +88,14 @@ (define (normal-tty tty) ;; Start udev so that useful device nodes are available. (udev-service) + ;; Install Unicode support and a suitable font. + (console-font-service "tty1") + (console-font-service "tty2") + (console-font-service "tty3") + (console-font-service "tty4") + (console-font-service "tty5") + (console-font-service "tty6") + (nscd-service)))) (define %issue -- cgit v1.2.3