summaryrefslogtreecommitdiff
path: root/sbin/wsconsctl/wsconsctl.c
AgeCommit message (Collapse)Author
2004-08-09minor cleanupTheo de Raadt
2004-07-30mark down some punctuation, and sync usage();Jason McIntyre
2004-06-23make -w optional; ok miod@David Krause
2003-07-10add missing includesDavid Krause
ok deraadt@ millert@ tedu@
2002-12-11ansiTheo de Raadt
2002-05-22implement new type: %%, given min,cur,max print the value in %%.Michael Shalayeff
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.
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ↵Todd C. Miller
hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
2001-10-24- repair usage() outputMiod Vallat
- when changing display.foo settings, print "display.foo -> bar" like done for mouse.* and keyboard.* - use warn() over err() whenever possible and appropriate code path to display as much as useful information as possible even if one ioctl fails. This is especially useful to get the display.* settings via wsconsctl -a if your mouse can't be probed, like on the iBook. ok mcikye@
2001-08-26minor cleanupsTheo de Raadt
2001-07-15paste open for each use, cache file descriptorsMichael Shalayeff
2001-07-07major -Wall cleanup, almost completeTheo de Raadt
2001-06-30make it more sysctl-like, ommit -kmd switches.Michael Shalayeff
no backwards compatibility keeped. add ability to change screens from cmd line.
2001-05-18why exit if returnsMichael Shalayeff
2001-02-05when flags are FLG_WRONLY, say "write only" instead of "read only"Matthieu Herrb
2001-01-30Change /dev/ttyE* to /dev/ttyC* to reflect reality in OpenBSD.Aaron Campbell
2000-07-01wscons control tool; initial import from newtbsd treeMichael Shalayeff