From debbugs-submit-bounces@debbugs.gnu.org Sat Mar 21 19:16:56 2020 Received: (at 40120) by debbugs.gnu.org; 21 Mar 2020 23:16:56 +0000 Received: from localhost ([127.0.0.1]:48437 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jFnMN-000650-Rh for submit@debbugs.gnu.org; Sat, 21 Mar 2020 19:16:56 -0400 Received: from mail-pg1-f193.google.com ([209.85.215.193]:38756) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jFnMM-00064j-5c for 40120@debbugs.gnu.org; Sat, 21 Mar 2020 19:16:54 -0400 Received: by mail-pg1-f193.google.com with SMTP id x7so5106929pgh.5 for <40120@debbugs.gnu.org>; Sat, 21 Mar 2020 16:16:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=asu-edu.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=ZuR0bM9WEM0gYnHvOFgxWEhDPjJRD1daSHx33ZAtmLE=; b=R9CE4uJrptX64z6Eu7grVlmxkYWQi9qWJUnFaqPyWPAVFaezrGMZZ8Acvp74/afCQV S+Tti04tSvEvFk+D0vN0H2LG/aBkzjHwNIv1da4BDNxclDTuBmPUJ38iwzhapGPfRf5B qyjHJ3RQ20sNkjjLivSWr8TzOsjn1Q3IKvSnUiBqlkvHuXCYX8tPFLRZJJr34BhY+ehm p0ZlJE9ZAEhPfCtDrDzEY2Yz7iXhrLIAxKAG8aaQQBs7aju5f+IvdGjqPDnlR3fnXg3b QMLu6K6PJIUEnyShl/0rVJ8jcD5a15uwGV+4CxDpP1304enInwZ4WNDsNsYHjmULT7jb SgcA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=ZuR0bM9WEM0gYnHvOFgxWEhDPjJRD1daSHx33ZAtmLE=; b=HSeHQM5uVg9Qu3ASsk55O5M/D9ISj3sf9PR7hpxkkFuHsd6mKdnkgRTBTEC0iZVFbS yNDLq1J0sS/XxBaZEqc89peJVgSXrJ3fsMfJP0k11RKcta35O8pFDvaUefrHVwjG8Rj8 W2ZbVIVLym4fxCHmnCMu8cIyCl/VV9EmF6BqX4MwyoYYbiv3nbHFO6lvq3OvIUoamAyS cJYIMDcHd3mU/LqZrn57TG7fBswhGkDKAdwb9fmz7ojzHjrNLNBxOeNe/QwRbUHJhBF8 Jo//NGl/3nQ82vk2h3vuqZx2Zrxa0aU4hvYAwMsYAGgtGIkXzsLV095QNOWqvk34TgAH HWBw== X-Gm-Message-State: ANhLgQ3EUc90ttJkbkKGY89DjOLnYS28MQCkknyqZQm4YdruRMG7bp3o AJvQJRPRdfMP/byMOOAQr8s/zzg6Eiw= X-Google-Smtp-Source: ADFU+vutzYzB7s71DCGX3ytKyqM/TT+DcJVbXv/T+aqhM8TQYU0hD+ZGnEebKlVIERtH4H2nm84wcA== X-Received: by 2002:a62:16d2:: with SMTP id 201mr16239007pfw.295.1584832608106; Sat, 21 Mar 2020 16:16:48 -0700 (PDT) Received: from ecenter ([2600:1700:83b0:8bd0::6c3]) by smtp.gmail.com with ESMTPSA id h15sm8371124pgd.19.2020.03.21.16.16.46 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 21 Mar 2020 16:16:47 -0700 (PDT) From: John Soo To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: [bug#40120] [PATCH] doc: guix.texi: Add console-font-service-type to Base Services. 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=22'?= =?utf-8?Q?s?= message of "Sat, 21 Mar 2020 23:42:54 +0100") Message-ID: <87o8spmh7w.fsf@asu.edu> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 40120 Cc: 40120@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-=-= 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 --=-=-=--