Received: from list by lists.gnu.org with archive (Exim 4.90_1) id 1nozBH-0005JW-K0 for mharc-grub-devel@gnu.org; Wed, 11 May 2022 23:07:59 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37888) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nozBG-0005G6-B3 for grub-devel@gnu.org; Wed, 11 May 2022 23:07:58 -0400 Received: from mail-vs1-xe29.google.com ([2607:f8b0:4864:20::e29]:44002) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nozBE-0001O4-NI for grub-devel@gnu.org; Wed, 11 May 2022 23:07:58 -0400 Received: by mail-vs1-xe29.google.com with SMTP id c62so3858470vsc.10 for ; Wed, 11 May 2022 20:07:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=efficientek-com.20210112.gappssmtp.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=EHcsFDi+DCD8+E1UGBiALO3sQb0clRim5GgYFC+RSNo=; b=2itoPGUmcZo2w5ucu57Fg3UQnsZ4E9pNdP2Xtk6MDC/AgAdlmHJCTFmSL8MSlgRzWk vEQPP1uIkuj6M62TlctBFXmD3O4WyUxAlr0z1GqScf/qWaDkznaG8EzjRqWdYeQvF32v 8G18+Gn+CgXR7bfKAmQKIg07YaJlFJk541E/l76l8iiWCs8Dd0xZOmv1fvF6EobmBN8g QvB3oS3qKC7MLx/ZZgC3h8ku5pGET5wymSaHFLvAmZuy6zvSEp0b6flTAdshdIHgRLVo MxGjje3bH1IT3Sn/ddAaZYWWuJjgevPTA+2xzwmcjQpZ9s1HaqjOA6ivFul1DEVLPH5W Ef5A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=EHcsFDi+DCD8+E1UGBiALO3sQb0clRim5GgYFC+RSNo=; b=HynlanOPakOjntx/10asIzGgmOPqYIVBDWxj5X72aKfIk9fbgvnZdZpbPizEDStJ0D g0LQjejXbru8wCnhphKLXNqhOOHN/9/7yY0SQfFIXSjLOcVIdXqhbx7CAbx6Ln85sL54 J9Z3trEY5Rm56NrY715lv3VcethX3hWX1ZzO6c+r6dZt0yDWV1iggPjlI2T80oVGDM1W ZqM2TKIN1/C2lrLie2RIhrKroTGTmtaTalDrfXxAsrGEWCEIibPLRCXMziLiAKG6oBFO zb1qvjyil9h39WsB4mYPMTrn9wNFGSRpvHLN1y2ssSJUt6i9cgLK3doel5Do/I1YUT7S Xtkw== X-Gm-Message-State: AOAM530FhBeqQLBE+3j4QFWbqL45KAA4yzZvriMM6QKAl8tc3XG9qdSc y15lYJ8vJJKz2jTxqEvCHZdeAU8Fbp8qm2jK X-Google-Smtp-Source: ABdhPJxfOIK4Th8tMppvrV1d4qNY1kAfQlgb9Ysz5u+mmj3HmKybJZI/VTbgtzItUaZ5K0ymCASy6w== X-Received: by 2002:a67:e3c8:0:b0:32c:dbee:88fe with SMTP id k8-20020a67e3c8000000b0032cdbee88femr14758756vsm.27.1652324875666; Wed, 11 May 2022 20:07:55 -0700 (PDT) Received: from localhost.localdomain ([37.218.244.249]) by smtp.gmail.com with ESMTPSA id u22-20020ac5c936000000b00351d39fb576sm483395vkl.53.2022.05.11.20.07.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 May 2022 20:07:55 -0700 (PDT) From: Glenn Washburn To: grub-devel@gnu.org, Daniel Kiper Cc: Gerd Hoffmann , Glenn Washburn Subject: [PATCH 2/2] docs: Add documentation for the efitextmode command Date: Wed, 11 May 2022 22:07:35 -0500 Message-Id: <3f2a99621316eeb84272a97b7c2bd3f16fbc56ff.1652324591.git.development@efficientek.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2607:f8b0:4864:20::e29; envelope-from=development@efficientek.com; helo=mail-vs1-xe29.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 May 2022 03:07:58 -0000 Signed-off-by: Glenn Washburn --- docs/grub.texi | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/docs/grub.texi b/docs/grub.texi index 3b5522b0a..50ef28edd 100644 --- a/docs/grub.texi +++ b/docs/grub.texi @@ -4202,6 +4202,7 @@ you forget a command, you can run the command @command{help} * distrust:: Remove a pubkey from trusted keys * drivemap:: Map a drive to another * echo:: Display a line of text +* efitextmode:: Set/Get text output mode resolution * eval:: Evaluate agruments as GRUB commands * export:: Export an environment variable * false:: Do nothing, unsuccessfully @@ -4638,6 +4639,28 @@ character will print that character. @end deffn +@node efitextmode +@subsection efitextmode + +@deffn Command efitextmode [min | max | mode_num] +When used with no arguments displays all available text output modes. The +set mode determines the columns and rows of the text display when in +text mode. An asterisk, @samp{*}, will be at the end of the line of the +currently set mode. + +Otherwise the command only takes a single parameter, which can be +@samp{min}, @samp{max}, or a mode number given by the listing when run +with no arguments. These arguments set the mode to the minimum, maximum, +and particular mode respectively. + +By default GRUB will start in whatever mode the EFI firmware defaults to. +There are firmwares known to setup the default mode such that output +behaves strangely. Setting the mode can fix this. + +Note: This command is only available on EFI platforms. +@end deffn + + @node eval @subsection eval -- 2.34.1