DragonFly commits List (threaded) for 2004-04
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
cvs commit: src/usr.sbin/vidcontrol vidcontrol.1 vidcontrol.c
dillon 2004/04/24 23:35:32 PDT
DragonFly src repository
Modified files:
usr.sbin/vidcontrol vidcontrol.1 vidcontrol.c
Log:
Support for more video modes: accept mode names like MODE_<NUMBER> where
<NUMBER> is the video mode number from the vidcontrol -i mode output.
MODE_13 is 320x200, for example...
Change the default geometry of raster modes: calculate rows and columns
using the font width and height. This results in the row * col geometry
being as large as possible if no geometry is specified by the user. If
no font is specified the current font's height is used. The old
vidcontrol used a default geometry of 80x25 for raster modes.
Remove restrictions on the range of background colors for graphics modes.
Implement a cleaner revert mechanism: in case something goes wrong we
restore the previous settings and give a message telling what exactly
went wrong. Unfortunately, there are several parameters that cannot
(yet) be saved and restored due to restrictions in the syscons driver:
screen saver timeout, cursor type, mouse character, mouse show/hide
state, vty switching on/off state, history buffer size and history
buffer contents are not saved because the syscons driver doesn't provide
ioctl()s to read those parameters. Font maps are not restored because
the syscons driver won't let us load a font map without setting it.
Submitted-by: Sascha Wildner <saw@xxxxxxxxx>
Revision Changes Path
1.3 +10 -5 src/usr.sbin/vidcontrol/vidcontrol.1
1.4 +1013 -623 src/usr.sbin/vidcontrol/vidcontrol.c
http://www.dragonflybsd.org/cvsweb/src/usr.sbin/vidcontrol/vidcontrol.1.diff?r1=1.2&r2=1.3&f=h
http://www.dragonflybsd.org/cvsweb/src/usr.sbin/vidcontrol/vidcontrol.c.diff?r1=1.3&r2=1.4&f=h
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]