From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:52795) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jFr2u-00079r-8d for guix-patches@gnu.org; Sat, 21 Mar 2020 23:13:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jFr2t-0007Oy-46 for guix-patches@gnu.org; Sat, 21 Mar 2020 23:13:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:42556) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jFr2t-0007Og-0h for guix-patches@gnu.org; Sat, 21 Mar 2020 23:13:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jFr2r-0000JK-SG for guix-patches@gnu.org; Sat, 21 Mar 2020 23:13:01 -0400 Subject: [bug#40120] [PATCH] doc: guix.texi: Add console-font-service-type to Base Services. Resent-Message-ID: From: John Soo References: <87blopwcr5.fsf@gnu.org> <87o8spmh7w.fsf@asu.edu> <87a749kt7j.fsf@asu.edu> Date: Sat, 21 Mar 2020 20:12:27 -0700 In-Reply-To: <87a749kt7j.fsf@asu.edu> (John Soo's message of "Sat, 21 Mar 2020 19:40:32 -0700") Message-ID: <875zexkrqc.fsf@asu.edu> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 40120@debbugs.gnu.org --=-=-= Content-Type: text/plain Hi again, Dang it I forgot to change the @end to @end defvr. This fixes it. - John --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-doc-guix.texi-Add-console-font-service-type-to-Base-.patch Content-Description: Fix @end >From cb4cf2b72766d4416fe5d2dc69a03914ec3c06c4 Mon Sep 17 00:00:00 2001 From: John Soo 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{} object, which specifies the message of the day, -- 2.25.2 --=-=-=--