From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:36481) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jFnMV-0007m3-Dc for guix-patches@gnu.org; Sat, 21 Mar 2020 19:17:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jFnMU-0006vd-De for guix-patches@gnu.org; Sat, 21 Mar 2020 19:17:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:42464) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jFnMU-0006vT-9X for guix-patches@gnu.org; Sat, 21 Mar 2020 19:17:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jFnMU-00065M-4z for guix-patches@gnu.org; Sat, 21 Mar 2020 19:17:02 -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> Date: Sat, 21 Mar 2020 16:16:35 -0700 In-Reply-To: <87blopwcr5.fsf@gnu.org> ("Ludovic =?UTF-8?Q?Court=C3=A8s?="'s message of "Sat, 21 Mar 2020 23:42:54 +0100") Message-ID: <87o8spmh7w.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; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi Ludo, >> * doc/guix.texi (console-font-service-type): Add it. > ^ > This should be the name of the section this is added in. >> +@deffn {Scheme Procedure} console-font-service-type @var{tty-font-pairs} > > This should be @defvr because it=E2=80=99s a variable, not a procedure (a= nd thus > has no arguments). Done and done, thanks again! John --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=0001-doc-guix.texi-Add-console-font-service-type-to-Base-.patch Content-Description: Fixed commit message and used defvr >From 74e8c62c584ac33909036992dde7d4cf3a1c7588 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 c2eff582f8..8c694a9e73 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -12287,6 +12287,23 @@ symlink: Return a service that sets the host name to @var{name}. @end deffn +@defvr {Scheme Procedure} 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 deffn + @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 --=-=-=--