diff mbox series

[bug#40120] doc: guix.texi: Add console-font-service-type to Base Services.

Message ID 875zexkrqc.fsf@asu.edu
State Accepted
Headers show
Series [bug#40120] doc: guix.texi: Add console-font-service-type to Base Services. | expand

Checks

Context Check Description
cbaines/comparison success View comparision
cbaines/git branch success View Git branch
cbaines/applying patch fail View Laminar job

Commit Message

John Soo March 22, 2020, 3:12 a.m. UTC
Hi again,

Dang it I forgot to change the @end to @end defvr.

This fixes it.

- John

Comments

Ludovic Courtès March 22, 2020, 8:59 p.m. UTC | #1
Hi,

John Soo <jsoo1@asu.edu> skribis:

> From cb4cf2b72766d4416fe5d2dc69a03914ec3c06c4 Mon Sep 17 00:00:00 2001
> From: John Soo <jsoo1@asu.edu>
> Date: Wed, 18 Mar 2020 08:33:59 -0700
> Subject: [PATCH] doc: guix.texi: Add console-font-service-type to Base
>  Services.
>
> * doc/guix.texi (Base Services): Add console-font-service-type.

Applied with this changes:

> +@defvr {Scheme Variable} console-font-service-type @var{tty-font-pairs}

Remove @var{tty-font-pairs}.

> +@lisp
> +'((\"tty1\" . \"LatGrkCyr-8x16\")
> +  (\"tty2\" . (file-append
> +                font-tamzen
> +                \"/share/kbd/consolefonts/TamzenForPowerline10x20.psf\"))

Changed to quasiquote/unquote as needed (same in gnu/services/base.scm,
which had the same typo), and \" → ".

Thanks,
Ludo’.
diff mbox series

Patch

From cb4cf2b72766d4416fe5d2dc69a03914ec3c06c4 Mon Sep 17 00:00:00 2001
From: John Soo <jsoo1@asu.edu>
Date: Wed, 18 Mar 2020 08:33:59 -0700
Subject: [PATCH] doc: guix.texi: Add console-font-service-type to Base
 Services.

* doc/guix.texi (Base Services): Add console-font-service-type.
---
 doc/guix.texi | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/doc/guix.texi b/doc/guix.texi
index 92125abccc..2c54dc3493 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -12282,6 +12282,23 @@  symlink:
 Return a service that sets the host name to @var{name}.
 @end deffn
 
+@defvr {Scheme Variable} console-font-service-type @var{tty-font-pairs}
+Install the given fonts on the specified ttys (fonts are per
+virtual console on the kernel Linux).  The value of this service is a list of
+tty/font pairs.  The font can be the name of a font provided by the @code{kbd}
+package or any valid argument to @command{setfont}, as in this example:
+
+@lisp
+'((\"tty1\" . \"LatGrkCyr-8x16\")
+  (\"tty2\" . (file-append
+                font-tamzen
+                \"/share/kbd/consolefonts/TamzenForPowerline10x20.psf\"))
+  (\"tty3\" . (file-append
+                font-terminus
+                \"/share/consolefonts/ter-132n\"))) ; for HDPI
+@end lisp
+@end defvr
+
 @deffn {Scheme Procedure} login-service @var{config}
 Return a service to run login according to @var{config}, a
 @code{<login-configuration>} object, which specifies the message of the day,
-- 
2.25.2