[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Weird characters in virtual terminal consoles from (CTRL-ALT) F2 to F6 and over F7



On 12/22/25 16:09, Camaleón wrote:
El 2025-12-22 a las 11:59 +0100, Gianluca Renzi escribió:
On 12/22/25 11:13, Helge Deller wrote:
On 12/22/25 11:09, Gianluca Renzi wrote:
Wow! So you found the culprit.

My deepest congrats (and a bunch of thanks) to William Burrow and
Gianluca Renzi for their finding, testing, reporting (finally, «time
spent») and the overall well job done! :-)

Well, it seems pretty likely that you get the "copyright symbol",
because ch gets assigned "0".  The question is: Why does this happen?
It shouldn't.

Does it only happens with old kernels (5.x), or does it happen with
latest
Linux kernels (>= 6.8) too?

The issue is not present with the kernel 5.10.0-36-amd64, only in kernel
5.10.0-37-amd64 (5.10.247-1)

I have a couple of Debian 12 machines laying around, and this bug is not
present for sure.

I do not remember which kernel they can have, but it's the stable Debian 12
version.

(...)

Well, I do confirm I CANNOT reproduce the «©©©©©©©©©©©©©©©©©©©©©©©©©©©©»
copyright issue neither on my Debian testing (kernel image
6.17.9+deb14) nor Debian stable (kernel image 6.1.0-41).

That's good.
Could you please try a second patch, where you replace both occurances of:
	ch = (charcnt - 1);
by:
	ch = 0x20; /* ASCII space char */
?

If that works, we maybe should use this approach....

Helge


Reply to: