Received: from list by lists.gnu.org with archive (Exim 4.90_1) id 1npZUs-00076F-6T for mharc-grub-devel@gnu.org; Fri, 13 May 2022 13:54:38 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53320) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1npZUq-00071I-Lz for grub-devel@gnu.org; Fri, 13 May 2022 13:54:36 -0400 Received: from mail-vk1-xa34.google.com ([2607:f8b0:4864:20::a34]:42810) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1npZUp-0004hq-19 for grub-devel@gnu.org; Fri, 13 May 2022 13:54:36 -0400 Received: by mail-vk1-xa34.google.com with SMTP id e144so4562979vke.9 for ; Fri, 13 May 2022 10:54:34 -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=ScuflqfpWwytUx932PKg4ssmQUBA95a8eBjFLi2Ze3Y=; b=oEz3eHlUNNvkDGmIBapb7eI584IapDzz+YunvSx58DOg37E3U/6NSNt7NaAjFUw5YD AFwTsdT2a1f8Lizhm0P1paKWM1GcNm/pmtwU7+aZ0bPXJnQaKeBG/ktbfrBt4ZcjI9Jo kiuatMoxlUQgZLn6srClMKSYQ4tMUEbE1b+ue+qoy3vFgBGIVECkLPbWp4EuCcVxxpAC EpVfpnLwyacp+to3U4904wKVt40WannCRo3Y7+ONd9ec8mFQfIigR+3/wMpKkQDnINa6 cGtiSDRRr1m3CYCuuh8VXylP47NE3FVnj8bMLhcflwAoR6Sw1uIMFwDhp8B/2GKnbFf6 NT4A== 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=ScuflqfpWwytUx932PKg4ssmQUBA95a8eBjFLi2Ze3Y=; b=y49iwj4LRVSZKrIHVMliyWbwcKKNcOBBr0vlBphCmNIWuLdocNs9LByqeIJSHTXriX KPZZZzi64ofh5n+846P/dJgyT/jPDnYACJdEBP69JSUHx6BKG3zNApfYE/ALLfRzwEsv h7epzbd01deQmzJCYLi4YptN/1hA+6GTRECSP9DFAc1zRCv97Hm+cPaR5CkQejn76J+2 AWNXPfjdh1+oTdM6pAJuIKmnGFfTJKfG4zS1FAqVOeUBDbO6VIte0udqY9gHZ3p0oF18 4c3jb6A8kjRE4IUB8x/WvObPeFGHfLbYf6vYm0Y8Z6OKgwPeMQZFrkqfWuyV1FFlK14d WO+A== X-Gm-Message-State: AOAM531nB1HVcTBRveu3GTamTJhDUYlAEMfLGZqH3yH3J8MQoHlpabPB WrHKWieRDO6ZuxHHkB2nvQmSX7hOFD5r6sdd X-Google-Smtp-Source: ABdhPJyD2TxlnwEyIGyIdYuWQtKo/F73xUIXnc+cds7AW4abKyBtow2VTgKm3pJm0ld448Hn9sIUAw== X-Received: by 2002:a1f:5842:0:b0:34e:7a9e:9579 with SMTP id m63-20020a1f5842000000b0034e7a9e9579mr2765934vkb.16.1652464473844; Fri, 13 May 2022 10:54:33 -0700 (PDT) Received: from localhost.localdomain ([37.218.244.249]) by smtp.gmail.com with ESMTPSA id l14-20020ab0164e000000b003626f894decsm421717uae.26.2022.05.13.10.54.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 May 2022 10:54:33 -0700 (PDT) From: Glenn Washburn To: grub-devel@gnu.org, Daniel Kiper Cc: Paul Menzel , Glenn Washburn Subject: [PATCH v2 2/2] docs: Document efitextmode command Date: Fri, 13 May 2022 12:54:12 -0500 Message-Id: <23f019b89ff5d8073b99a7df77c03b496a5477d6.1652464320.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::a34; envelope-from=development@efficientek.com; helo=mail-vk1-xa34.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: Fri, 13 May 2022 17:54:36 -0000 Signed-off-by: Glenn Washburn --- docs/grub.texi | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/docs/grub.texi b/docs/grub.texi index 5de94d062..178957096 100644 --- a/docs/grub.texi +++ b/docs/grub.texi @@ -4049,6 +4049,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 @@ -4505,6 +4506,31 @@ 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 set up the default mode such that output +behaves strangely, for example the cursor in the grub shell never reaches +the bottom of the screen or, when typing characters at the prompt, +characters from previous command output are overwritten. Setting the mode +may fix this. + +Note: This command is only available on EFI platforms. +@end deffn + + @node eval @subsection eval -- 2.34.1