Date: Sat, 2 Jan 2021 06:33:55 +0100 From: "Hartmann, O." <ohartmann@walstatt.org> To: Rozhuk Ivan <rozhuk.im@gmail.com> Cc: freebsd-current@freebsd.org, freebsd-hackers@freebsd.org Subject: Re: Terminal colours in current Message-ID: <20210102063355.1be83a57@hermann.fritz.box> In-Reply-To: <20210102082549.758bd189@rimwks.local> References: <20210102082549.758bd189@rimwks.local>
next in thread | previous in thread | raw e-mail | index | archive | help
--Sig_/hZKd4gHkKmK4/heR+9dQEAa Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Sat, 2 Jan 2021 08:25:49 +0300 Rozhuk Ivan <rozhuk.im@gmail.com> wrote: > Hi! >=20 > I am tring current and found that kernel options: > options TERMINAL_NORM_ATTR =3D (FG_GREEN|BG_BLACK) # def to > SC_NORM_ATTR / 2 | 0x00 options TERMINAL_KERN_ATTR =3D > (FG_YELLOW|BG_BLACK) # def to SC_KERNEL_CONS_ATTR / 14 / 0x00 does not wo= rk anymore. >=20 > Fast greping sources give me loader tunables: > teken.fg_color=3D"2" # > teken.bg_color=3D"0" # >=20 > but these optios does not allow set kernel messages colour. >=20 > https://www.freebsd.org/cgi/man.cgi?query=3Dvt&apropos=3D0&sektion=3D4&ma= npath=3DFreeBSD+13.0-current&arch=3Ddefault&format=3Dhtml > say that TERMINAL_NORM_ATTR and TERMINAL_KERN_ATTR should work. > Also it say that I should have: > kern.vt.color.<colornum>.rgb=3D"<colorspec>" > kern.vt.fb.default_mode=3D"<X>x<Y>" > kern.vt.fb.modes.<connector>=3D"<X>x<Y>" > but I only get: > kern.vty: vt > kern.vt.splash_cpu_duration: 10 > kern.vt.splash_cpu_style: 2 > kern.vt.splash_ncpu: 0 > kern.vt.splash_cpu: 0 > kern.vt.kbd_panic: 0 > kern.vt.kbd_debug: 0 > kern.vt.kbd_reboot: 0 > kern.vt.kbd_poweroff: 0 > kern.vt.kbd_halt: 0 > kern.vt.suspendswitch: 0 > kern.vt.deadtimer: 15 > kern.vt.debug: 0 > kern.vt.enable_bell: 0 > kern.vt.enable_altgr: 1 >=20 >=20 > Do I miss something? >=20 > _______________________________________________ > freebsd-current@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" Colour settings seem to be broken since a couple of months. Out of the blue= , coloured kernel messages vanished - this problem is on 12 as well as CURRENT (we're = running 12.2-RELENG, 12-STABLE and CURRENT). Kind regards, O. Hartmann --Sig_/hZKd4gHkKmK4/heR+9dQEAa Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iHUEARYIAB0WIQSy8IBxAPDkqVBaTJ44N1ZZPba5RwUCX/AFwwAKCRA4N1ZZPba5 R9vIAP455rbbEiifgL3MfQeivQabAb9Tw0N4NBCdMp1j47vXcAD/bZ7hToDF0DM3 FW9X0saOwk7IiRSlasfQSX1bByYepQ0= =SXF0 -----END PGP SIGNATURE----- --Sig_/hZKd4gHkKmK4/heR+9dQEAa--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20210102063355.1be83a57>