[DragonFlyBSD - Bug #2493] vidcontrol: invalid video mode name
sigttou
bugtracker-admin at leaf.dragonflybsd.org
Mon Nov 2 06:10:33 PST 2026
Issue #2493 has been updated by sigttou.
File 0001-vidcontrol-accept-documented-argument-forms.patch added
File 0002-vidcontrol-keep-ioctl-errno-across-revert.patch added
1 fixes the reported bug: an unrecognized first argument is left
for @get_normal_colors()@ instead of being reported as an invalid mode, so
"vidcontrol yellow blue" works.
2 @revert()@ calls @ioctls@ of its own, so if one of them fails the
message reports that error instead of the one that made us revert. Save it
first. This follows 1b8c842e, which does it for the mode-set failure only.
Not ported, because neither applies here: the removal of FreeBSD's second
parsing pass (we have none) and the re-applying of colors after a mode change
for a scteken bug (our emulator keeps std_color across WARM_INIT).
----------------------------------------
Bug #2493: vidcontrol: invalid video mode name
http://bugs.dragonflybsd.org/issues/2493#change-14934
* Author: Svarov
* Status: In Progress
* Priority: Normal
* Target version: 6.4
* Start date: 2013-01-19
----------------------------------------
Hello.
I tried to change foreground/background color of the virt. console (ttyv1) with command `vidcontrol lightwhite black` but haven't got any success. The program reports "vidcontrol: invalid video mode name". The syntax seems to be correct because on FreeBSD (latest) it works fine.
Do I miss something or it's a bug?
Regards, Dmitry.
==================================
PC: Netbook Eee PC 900AX
OS: DragonFlyBSD 3.2.1
----------------------------------
I am sorry for my english, it's still very poor.
Hope that my message is understandable.
---Files--------------------------------
0001-vidcontrol-allow-colors-without-mode.patch (1.17 KB)
0001-vidcontrol-accept-documented-argument-forms.patch (2.13 KB)
0002-vidcontrol-keep-ioctl-errno-across-revert.patch (1.87 KB)
--
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://bugs.dragonflybsd.org/my/account
More information about the Bugs
mailing list