From patchwork Sat Mar 21 23:16:35 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: John Soo X-Patchwork-Id: 20839 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 5582A27BBE4; Sat, 21 Mar 2020 23:17:11 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id D539027BBEA for ; Sat, 21 Mar 2020 23:17:10 +0000 (GMT) Received: from localhost ([::1]:41710 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jFnMc-0007nP-Cg for patchwork@mira.cbaines.net; Sat, 21 Mar 2020 19:17:10 -0400 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 X-Loop: help-debbugs@gnu.org Subject: [bug#40120] [PATCH] doc: guix.texi: Add console-font-service-type to Base Services. Resent-From: John Soo Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 21 Mar 2020 23:17:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 40120 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Ludovic =?utf-8?q?Court=C3=A8s?= Cc: 40120@debbugs.gnu.org Received: via spool by 40120-submit@debbugs.gnu.org id=B40120.158483261623378 (code B ref 40120); Sat, 21 Mar 2020 23:17:02 +0000 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 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> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches 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’s a variable, not a procedure (and thus > has no arguments). Done and done, thanks again! John 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