From: Avnish Chouhan <avnish@linux.ibm.com>
To: grub-devel@gnu.org
Cc: grub-devel-request@gnu.org, lsandova@redhat.com
Subject: Re: [PATCH v3 02/16] term/terminfo: for ppc, reset console display attr when clear screen
Date: Tue, 12 Nov 2024 11:36:53 +0530 [thread overview]
Message-ID: <b85b1461496d7231b2829b52a1bdc1ce@linux.ibm.com> (raw)
In-Reply-To: <mailman.5684.1728596634.1206.grub-devel@gnu.org>
> Message: 4
> Date: Thu, 10 Oct 2024 15:43:20 -0600
> From: Leo Sandoval <lsandova@redhat.com>
> To: grub-devel@gnu.org
> Subject: [PATCH v3 02/16] term/terminfo: for ppc, reset console
> display attr when clear screen
> Message-ID: <20241010214334.1749167-3-lsandova@redhat.com>
> Content-Type: text/plain; charset="US-ASCII"; x-default=true
>
> From: Paulo Flabiano Smorigo <pfsmorigo@br.ibm.com>
>
> v2: Also use \x0c instead of a literal ^L to make future patches less
> awkward.
>
> This should fix this bugzilla:
> https://bugzilla.redhat.com/show_bug.cgi?id=908519
>
> Signed-off-by: Peter Jones <pjones@redhat.com>
> Signed-off-by: Paulo Flabiano Smorigo <pfsmorigo@br.ibm.com>
> Signed-off-by: Robbie Harwood <rharwood@redhat.com>
> ---
> grub-core/term/terminfo.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/grub-core/term/terminfo.c b/grub-core/term/terminfo.c
> index 4e534c683..3dbe88e89 100644
> --- a/grub-core/term/terminfo.c
> +++ b/grub-core/term/terminfo.c
> @@ -151,7 +151,7 @@ grub_terminfo_set_current (struct grub_term_output
> *term,
> /* Clear the screen. Using serial console, screen(1) only
> recognizes the
> * ANSI escape sequence. Using video console, Apple Open
> Firmware
> * (version 3.1.1) only recognizes the literal ^L. So use both.
> */
> - data->cls = grub_strdup ("\f\e[2J");
> + data->cls = grub_strdup ("\x0c\e[2J\e[m");
> data->reverse_video_on = grub_strdup ("\e[7m");
> data->reverse_video_off = grub_strdup ("\e[m");
> if (grub_strcmp ("ieee1275", str) == 0)
> --
> 2.46.2
>
>
>
>
> ------------------------------
Reviewed-by: Avnish Chouhan <avnish@linux.ibm.com>
_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel
next prev parent reply other threads:[~2024-11-12 6:07 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.5684.1728596634.1206.grub-devel@gnu.org>
2024-11-05 12:01 ` [PATCH v3 01/16] ieee1275/openfw: IBM client architecture(CAS) reboot support avnish
2024-11-08 11:30 ` [PATCH v3 03/16] ieee1275: Disable GRUB video support for IBM power machines avnish
2024-11-12 6:06 ` Avnish Chouhan [this message]
2024-10-10 21:43 [PATCH v3 00/16] First Distro-agnostic series taken from Fedora Rawhide Leo Sandoval
2024-10-10 21:43 ` [PATCH v3 02/16] term/terminfo: for ppc, reset console display attr when clear screen Leo Sandoval
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=b85b1461496d7231b2829b52a1bdc1ce@linux.ibm.com \
--to=avnish@linux.ibm.com \
--cc=grub-devel-request@gnu.org \
--cc=grub-devel@gnu.org \
--cc=lsandova@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.