1 |
Hello, Peter. |
2 |
|
3 |
On Sun, Jan 01, 2023 at 15:13:02 +0000, Alan Mackenzie wrote: |
4 |
> On Sat, Dec 31, 2022 at 16:13:23 +0000, Alan Mackenzie wrote: |
5 |
> > On Sat, Dec 31, 2022 at 15:47:01 +0000, Peter Humphrey wrote: |
6 |
> > > Hello Alan, |
7 |
> > > On Saturday, 31 December 2022 14:08:43 GMT you wrote: |
8 |
|
9 |
> [ .... ] |
10 |
|
11 |
> > > I think you've put your finger on it: |
12 |
|
13 |
> > > $ file /lib/rc/console/font |
14 |
> > > /lib/rc/console/font: Linux/i386 PC Screen Font v2 data, 256 characters, |
15 |
> > > Unicode directory, 22x11 |
16 |
|
17 |
> > > I use consolefont="ter-122n" from the terminus-font package. It's a long time |
18 |
> > > since I was able to read a high-resolution screen in its native resolution. |
19 |
|
20 |
> That's a nice font. I could get used to it if I wasn't so attached to |
21 |
> the 8x16 font. |
22 |
|
23 |
[ .... ] |
24 |
|
25 |
> The included patch is still imperfect. When booting in 11x22, it doesn't |
26 |
> handle the early boot messages at all well. Also, I'm a little confused |
27 |
> by what a low-level scroll function is meant to do - sometimes, scrolling |
28 |
> happens when you type a CR, and want a line on the screen to be space |
29 |
> filled. Other times, you type <shift><PgUp> and don't want any space |
30 |
> filling to happen. So I'm not convinced that scrolling, invoked by, say, |
31 |
> an editor program, will work correctly. |
32 |
|
33 |
OK, I'm now including a revised patch which is less imperfect. ;-) |
34 |
|
35 |
To use it, please apply it to the vanilla gentoo-sources 5.15.88 (or |
36 |
similar) with the usual: |
37 |
|
38 |
patch -p1 < 5.15.80-GPM.20230126.diff |
39 |
|
40 |
, followed by configuring in CONFIG_FRAMEBUFFER_CONSOLE_SOFT_SCROLLBACK |
41 |
and CONFIG_FRAMEBUFFER_CONSOLE_SOFT_SCROLLBACK_GPM, and setting an |
42 |
appropriate scrollback buffer size as already done. The ..._GPM is new, |
43 |
but is enabled by default. Build and install the kernel, then reboot |
44 |
into it, to try it out. |
45 |
|
46 |
I think it will work better than the previous patch. |
47 |
|
48 |
> >>>> To use it, please apply the supplied patch ON TOP OF the patch I |
49 |
> >>>> posted here on 12th December. Proceed as documented in that post, |
50 |
> >>>> up until configuring the kernel - in Device drivers/Graphic |
51 |
> >>>> support/Console display driver support, there's an extra item |
52 |
> >>>> "Enable a working GPM for scrolled back scrollback buffer in System |
53 |
> >>>> RAM" which should be enabled by default. Check this is set up |
54 |
> >>>> properly. Then build and install the kernel. Then reboot into it |
55 |
> >>>> and try it out. |
56 |
|
57 |
Again, on any problems please let me know and I'll try to fix them. As |
58 |
ever, there are no guarantees, etc., etc., etc. My only promise is that |
59 |
there's no malicious code in the patch. |
60 |
|
61 |
> > > -- |
62 |
> > > Regards, |
63 |
> > > Peter. |
64 |
|
65 |
-- |
66 |
Alan Mackenzie (Nuremberg, Germany). |