public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] console scrollback (kernel 5.14)
@ 2021-09-18 20:40 Jorge Almeida
  2021-09-22 20:28 ` Alan Mackenzie
  0 siblings, 1 reply; 16+ messages in thread
From: Jorge Almeida @ 2021-09-18 20:40 UTC (permalink / raw
  To: gentoo-user

Hello, gentooers in general and Alan in particular

I've been using Alan Mackenzie's patch until kernel 5.13, with
success. It failed with 5.14.4 --yes, I know, but it doesn't hurt to
try :)

Jorge Almeida

Just in case it is useful:

(Stripping trailing CRs from patch; use --binary to disable.)
patching file ./include/linux/vt_kern.h
Hunk #1 succeeded at 115 (offset -12 lines).
(Stripping trailing CRs from patch; use --binary to disable.)
patching file ./include/linux/console_struct.h
Hunk #1 succeeded at 110 (offset 1 line).
(Stripping trailing CRs from patch; use --binary to disable.)
patching file ./drivers/video/fbdev/core/fbcon.c
Hunk #1 succeeded at 3053 with fuzz 2 (offset -31 lines).
(Stripping trailing CRs from patch; use --binary to disable.)
patching file ./drivers/video/console/Kconfig
(Stripping trailing CRs from patch; use --binary to disable.)
patching file ./drivers/tty/vt/vt.c
Hunk #11 succeeded at 1358 with fuzz 2.
Hunk #12 succeeded at 1454 (offset -1 lines).
Hunk #13 succeeded at 1519 (offset -1 lines).
Hunk #16 FAILED at 3264.
Hunk #18 succeeded at 3709 (offset -7 lines).
Hunk #19 succeeded at 3736 (offset -7 lines).
Hunk #20 succeeded at 3797 (offset -7 lines).
Hunk #21 succeeded at 4497 (offset -8 lines).
Hunk #22 succeeded at 4798 (offset -8 lines).
1 out of 22 hunks FAILED -- saving rejects to file ./drivers/tty/vt/vt.c.rej
## cat ./drivers/tty/vt/vt.c.rej
--- ./drivers/tty/vt/vt.c.orig  2020-12-13 22:41:30.000000000 +0000
+++ ./drivers/tty/vt/vt.c       2021-04-05 16:20:32.624563241 +0000
@@ -3264,6 +3640,14 @@

        param.vc = vc;

+       /* NEW STOUGH, 2021-04-03 */
+#ifdef CONFIG_FRAMEBUFFER_CONSOLE_SOFT_SCROLLBACK
+       /* Undo any soft scrolling - <Alt><Fn> and <Shift><PgUp/Down> do
+          not pass through this function.  */
+       concon_set_origin (vc);
+#endif
+       /* END OF NEW STOUGH */
+
        while (!tty->stopped && count) {
                int orig = *buf;
                buf++;


^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2021-10-03 11:54 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-09-18 20:40 [gentoo-user] console scrollback (kernel 5.14) Jorge Almeida
2021-09-22 20:28 ` Alan Mackenzie
2021-09-22 21:40   ` Jorge Almeida
2021-09-23 18:03     ` Alan Mackenzie
2021-09-24  8:22       ` Jorge Almeida
2021-09-24 17:29         ` Alan Mackenzie
2021-09-24 23:44           ` Jorge Almeida
2021-09-26 12:36             ` Alan Mackenzie
2021-09-26 17:24               ` antlists
2021-09-26 18:00                 ` Dale
2021-09-26 21:22                 ` Jorge Almeida
2021-09-26 22:17                   ` Wols Lists
2021-09-26 23:51                   ` Dale
2021-09-27 15:42                     ` Jorge Almeida
2021-10-03 11:53             ` Jorge Almeida
2021-09-25 10:14           ` Peter Humphrey

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox