legionus / kbd

Mirror of https://git.kernel.org/pub/scm/linux/kernel/git/legion/kbd.git

Home Page:https://kbd-project.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[bug] 'setfont' sometimes sets font for all ttys instead of the current one

Volian0 opened this issue · comments

how to reproduce:

  1. use setfont command to change font
  2. start X11
  3. switch to another tty
  4. the another tty also has the font set, instead of using the default one

This is not a bug in setfont. This is how the Linux kernel works. The setfont utility selects the current terminal and changes the font on it via ioctl.

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/video/fbdev/core/fbcon.c#n2504