On Thu, Sep 23, 2021 at 6:03 PM Alan Mackenzie <a...@muc.de> wrote: >
> > As for the two(?) versions of my patch, they differed mainly in the > aesthetics - diff.20210405.diff had lots of ugly maintainer comments in > it. So, could I ask you please to try that 1-hunk patch I posted > yesterday on top of the version you have. Please then tell me whether > or not it works. > It still fails: $ patch -p0 <../patch_for_5.14.diff patching file ./drivers/tty/vt/vt.c Hunk #1 FAILED at 3208. 1 out of 1 hunk FAILED -- saving rejects to file ./drivers/tty/vt/vt.c.rej $ cat ../patch_for_5.14.diff --- ./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 @@ -3208,6 +3208,12 @@ param.vc = vc; +#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 + while (!tty->flow.stopped && count) { int orig = *buf; buf++; Thanks, Jorge Almeida
--- ./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 @@ -3208,6 +3208,12 @@ param.vc = vc; +#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 + while (!tty->flow.stopped && count) { int orig = *buf; buf++;