OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
From: Michael Shalayeff (mickeycvs.openbsd.org)
Date: Wed May 22 2002 - 15:36:07 CDT

  • Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

    CVSROOT: /cvs
    Module name: src
    Changes by: mickeycvs.openbsd.org 2002/05/22 14:36:06

    Modified files:
            sbin/wsconsctl : display.c util.c wsconsctl.c wsconsctl.h

    Log message:
    implement new type: %%, given min,cur,max print the value in %%.
    also accepts -= and += to adjust the value.
    implement new flags: INIT, DEAD.
    init means to prefetch the variable before setting, where
    dead means to assume the variable is not implemented
    (enottty was observed, most likely), set by the low-level
    routines (upon observing the ioctl results).
    add the variables for screen brightness,contrast,backlight --
    all are precent-type, also rework the display.c to be easier
    on the eyes. requested, commented and helped upon by miod and drahn.
    there was a discussion on wheather truncate or round
    (the thin and think ends of the same egg) where
    decided to allow it to truncate until demanded
    otherwise by the eager masses.