Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src



Module Name:    src
Committed By:   jmmv
Date:           Thu Jul 29 22:29:37 UTC 2004

Modified Files:
        src/doc: CHANGES
        src/sbin/wsconsctl: display.c
        src/share/man/man4: wsdisplay.4
        src/sys/arch/i386/conf: DELPHI GENERIC GENERIC_LAPTOP GENERIC_TINY
            INSTALL INSTALL_LAPTOP IOPENER LAMB SWINGER VIRTUALPC
        src/sys/dev/ic: vga.c vga_subr.c vgareg.h
        src/sys/dev/wscons: files.wscons wsconsio.h wsdisplay.c wsdisplayvar.h

Log Message:
Implement border color customization in wscons(4), only available for vga(4)
at the moment.

This includes the addition of two new wsdisplay ioctls, WSDISPLAY_{G,S}BORDER,
one to get the actual color and one to set it, respectively.  Possible colors
match those defined by ANSI (and listed in wsdisplayvar.h).

It also adds two accessops to the underlying graphics device, getborder and
setborder, which mach their ioctl counterparts.

Two kernel options are added: WSDISPLAY_CUSTOM_BORDER, which enables the
ioctls described above (to customize the border color from userland after
boot), and WSDISPLAY_BORDER_COLOR, which sets the color at boot time.
The former is enabled by default on the GENERIC kernel, but not on INSTALL
(among others).  The later is always commented out, leaving the usual black
border as a default.

wsconsctl is modified to allow accessing this value easily.  For example,
'wsconsctl -d -w border=blue'.


To generate a diff of this commit:
cvs rdiff -r1.350 -r1.351 src/doc/CHANGES
cvs rdiff -r1.5 -r1.6 src/sbin/wsconsctl/display.c
cvs rdiff -r1.23 -r1.24 src/share/man/man4/wsdisplay.4
cvs rdiff -r1.38 -r1.39 src/sys/arch/i386/conf/DELPHI \
    src/sys/arch/i386/conf/LAMB
cvs rdiff -r1.624 -r1.625 src/sys/arch/i386/conf/GENERIC
cvs rdiff -r1.108 -r1.109 src/sys/arch/i386/conf/GENERIC_LAPTOP
cvs rdiff -r1.70 -r1.71 src/sys/arch/i386/conf/GENERIC_TINY
cvs rdiff -r1.246 -r1.247 src/sys/arch/i386/conf/INSTALL
cvs rdiff -r1.65 -r1.66 src/sys/arch/i386/conf/INSTALL_LAPTOP
cvs rdiff -r1.47 -r1.48 src/sys/arch/i386/conf/IOPENER
cvs rdiff -r1.51 -r1.52 src/sys/arch/i386/conf/SWINGER
cvs rdiff -r1.8 -r1.9 src/sys/arch/i386/conf/VIRTUALPC
cvs rdiff -r1.75 -r1.76 src/sys/dev/ic/vga.c
cvs rdiff -r1.17 -r1.18 src/sys/dev/ic/vga_subr.c
cvs rdiff -r1.7 -r1.8 src/sys/dev/ic/vgareg.h
cvs rdiff -r1.32 -r1.33 src/sys/dev/wscons/files.wscons
cvs rdiff -r1.68 -r1.69 src/sys/dev/wscons/wsconsio.h
cvs rdiff -r1.80 -r1.81 src/sys/dev/wscons/wsdisplay.c
cvs rdiff -r1.28 -r1.29 src/sys/dev/wscons/wsdisplayvar.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index