summaryrefslogtreecommitdiff
path: root/gnu/system
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2019-04-12 17:19:31 +0200
committerLudovic Courtès <ludo@gnu.org>2019-04-12 17:56:23 +0200
commit13fd0a30877acc8c152c37d0b04158f7b65e4646 (patch)
tree7b91ecd1b3346ae2ab2948279e5a700e0286dc88 /gnu/system
parentc7dc604253631588c659c1022256af98ec9262af (diff)
install: Use a font with more glyphs on tty2.
* gnu/system/install.scm (%installation-services): For 'console-font-service-type', use LatGrkCyr-8x16 on tty2.
Diffstat (limited to 'gnu/system')
-rw-r--r--gnu/system/install.scm16
1 files changed, 11 insertions, 5 deletions
diff --git a/gnu/system/install.scm b/gnu/system/install.scm
index d37315810d0..c32bb6056ec 100644
--- a/gnu/system/install.scm
+++ b/gnu/system/install.scm
@@ -342,12 +342,18 @@ Access documentation at any time by pressing Alt-F2.\x1b[0m
342 ;; since it takes the installation directory as an argument. 342 ;; since it takes the installation directory as an argument.
343 (cow-store-service) 343 (cow-store-service)
344 344
345 ;; Install Unicode support and a suitable font. Use a font that 345 ;; Install Unicode support and a suitable font.
346 ;; doesn't have more than 256 glyphs so that we can use colors with
347 ;; varying brightness levels (see note in setfont(8)).
348 (service console-font-service-type 346 (service console-font-service-type
349 (map (lambda (tty) 347 (map (match-lambda
350 (cons tty "lat9u-16")) 348 ("tty2"
349 ;; Use a font that contains characters such as
350 ;; curly quotes as found in the manual.
351 '("tty2" . "LatGrkCyr-8x16"))
352 (tty
353 ;; Use a font that doesn't have more than 256
354 ;; glyphs so that we can use colors with varying
355 ;; brightness levels (see note in setfont(8)).
356 `(,tty . "lat9u-16")))
351 '("tty1" "tty2" "tty3" "tty4" "tty5" "tty6"))) 357 '("tty1" "tty2" "tty3" "tty4" "tty5" "tty6")))
352 358
353 ;; To facilitate copy/paste. 359 ;; To facilitate copy/paste.