Gentoo Archives: gentoo-user

From: Jorge Almeida <jjalmeida@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] console scrollback (kernel 5.14)
Date: Fri, 24 Sep 2021 08:23:02
Message-Id: CAKpSnpKuOjGRJuRHgUG6MvANq+aa3vNnDwM=jxt57-LENgmnww@mail.gmail.com
In Reply to: Re: [gentoo-user] console scrollback (kernel 5.14) by Alan Mackenzie
1 On Thu, Sep 23, 2021 at 6:03 PM Alan Mackenzie <acm@×××.de> wrote:
2 >
3
4 >
5 > As for the two(?) versions of my patch, they differed mainly in the
6 > aesthetics - diff.20210405.diff had lots of ugly maintainer comments in
7 > it. So, could I ask you please to try that 1-hunk patch I posted
8 > yesterday on top of the version you have. Please then tell me whether
9 > or not it works.
10 >
11 It still fails:
12 $ patch -p0 <../patch_for_5.14.diff
13 patching file ./drivers/tty/vt/vt.c
14 Hunk #1 FAILED at 3208.
15 1 out of 1 hunk FAILED -- saving rejects to file ./drivers/tty/vt/vt.c.rej
16
17 $ cat ../patch_for_5.14.diff
18 --- ./drivers/tty/vt/vt.c.orig 2020-12-13 22:41:30.000000000 +0000
19 +++ ./drivers/tty/vt/vt.c 2021-04-05 16:20:32.624563241 +0000
20 @@ -3208,6 +3208,12 @@
21
22 param.vc = vc;
23
24 +#ifdef CONFIG_FRAMEBUFFER_CONSOLE_SOFT_SCROLLBACK
25 + /* Undo any soft scrolling - <Alt><Fn> and <Shift><PgUp/Down> do
26 + not pass through this function. */
27 + concon_set_origin (vc);
28 +#endif
29 +
30 while (!tty->flow.stopped && count) {
31 int orig = *buf;
32 buf++;
33
34 Thanks,
35
36 Jorge Almeida

Attachments

File name MIME type
vt.c.rej text/x-reject

Replies

Subject Author
Re: [gentoo-user] console scrollback (kernel 5.14) Alan Mackenzie <acm@×××.de>