freebsd-nq/usr.sbin/vidcontrol
Bruce Evans 03096857fd Fix setting of the border color. Teken doesn't support syscons' escape
sequence "ESC [ %d A" for this although that was used here.  I will fix
teken later, but use the more portable ioctl KDSBORDER here.

The ioctl is also much easier to use if you check that it works.  For
-b, check it and complain and exit if it failed, so that it is more
obvious that that vt doesn't support border colors.  Don't check it
when restoring the border color in revert(), since revert() is used
on vt for handling other errors.

Fix nearby error handling and style.  For the error of an invalid
color, revert() and print a specific error message using err() instead
of not revert()ing and printing spam using usage().
2017-08-16 15:14:46 +00:00
..
decode.c
decode.h
Makefile
Makefile.depend Add META_MODE support. 2015-06-13 19:20:56 +00:00
path.h
vidcontrol.1 Add "vidcontrol -i active", to print out active vty number, 2016-01-19 13:09:20 +00:00
vidcontrol.c Fix setting of the border color. Teken doesn't support syscons' escape 2017-08-16 15:14:46 +00:00