Hello,

It may sound silly: nobody use console these days (except emergency),
but I am curious:
I want to load font and set it using wsconsctl display.font
I also want to change display type.

I can do all of that in rc.local, but there is a separeate place for
wsconsctl :
/etc/wsconsctl.conf

I want to use it, but I can't set font.display there because it is called
by rc, hence before  rc.local, before my font loaded.

And there is no place for wsconscfg except rc.local.

In NetBSD they solved it by having separate file
for all wscons* stuff
https://www.daemon-systems.org/man/wscons.conf.5.html
In FreeBSD they set everything in rc.conf

And OpenBSD has:
1) /etc/kbdtype for kbd
(its weird because I can use keyboard.ecnoding in /etc/wsconsctl.conf)
2) /etc/wsconsctl.conf
(for everything else exception font loading and virtual display management)

So, there is no place for fonts.
And there is no place for wsconscfg
(if I want to creareate display changing its type I should set it to
rc.local)

I like NetBSD approach here, and it seems that it can be implemented
using simple ksh or perl script.

One may say that is it too complicated: why create
separate config file for something that could be done with 3 lines in
rc.local.

But then why do we have  /etc/kbdtype and  /etc/wsconsctl.conf ?

Ilya

Reply via email to