#
df69c215 |
| 28-Jun-2019 |
deraadt <deraadt@openbsd.org> |
When system calls indicate an error they return -1, not some arbitrary value < 0. errno is only updated in this case. Change all (most?) callers of syscalls to follow this better, and let's see if
When system calls indicate an error they return -1, not some arbitrary value < 0. errno is only updated in this case. Change all (most?) callers of syscalls to follow this better, and let's see if this strictness helps us in the future.
show more ...
|
#
d22ea701 |
| 21-Jul-2017 |
bru <bru@openbsd.org> |
Add fields for wsmouse/touchpad configuration.
|
#
d6068540 |
| 06-Apr-2017 |
jmc <jmc@openbsd.org> |
document -=; while here, simplify things so that we don;t add a separate usage every time we think of a new way to use this;
-= bits from anton lindqvist ok tb tom
|
#
35d84bc0 |
| 08-May-2015 |
miod <miod@openbsd.org> |
Add a new `don't read back' flag for variables, to prevent reading their value after modifying them. Give this flag to `display.focus', since screen switching is asynchronous, and reading back will r
Add a new `don't read back' flag for variables, to prevent reading their value after modifying them. Give this flag to `display.focus', since screen switching is asynchronous, and reading back will return the screen we are switching from if the switch has not completed yet.
Also, disallow -= and += syntax for display.focus, as it doesn't make any sense.
show more ...
|
#
4a2a0733 |
| 14-Jul-2012 |
shadchin <shadchin@openbsd.org> |
ansify
ok deraadt@
|
#
3e5f9209 |
| 14-Jul-2012 |
shadchin <shadchin@openbsd.org> |
zap whitespace
ok deraadt@
|
#
54e3cb1d |
| 20-Aug-2010 |
fgsch <fgsch@openbsd.org> |
Don't silently ignore errors if we cannot open the device. While I'm here simplify the code and apply some style(9). Discussed with and ok miod@
|
#
1222b15b |
| 01-Jul-2010 |
maja <maja@openbsd.org> |
Learn wsconsctl to handle more than the first keyboard, mouse and display. E.g. if we have a /dev/wskbd1 keyboard1 will show up when doing a -a.
wsconsctl keyboard1 will now show you all variables f
Learn wsconsctl to handle more than the first keyboard, mouse and display. E.g. if we have a /dev/wskbd1 keyboard1 will show up when doing a -a.
wsconsctl keyboard1 will now show you all variables for keyboard1.
feedback and ok miod@. -moj
show more ...
|
#
80c6a312 |
| 19-Jul-2009 |
martynas <martynas@openbsd.org> |
if variable has a NOAUTO flag set; skip printing. requested & diff tested by david@ ok miod@
|
#
b554194a |
| 15-Jul-2009 |
martynas <martynas@openbsd.org> |
now that set print is in one place; it is possible to suppress var making n flag work as expected for set. ok miod@
|
#
f0cd74df |
| 15-Jul-2009 |
martynas <martynas@openbsd.org> |
for rw query and print value that has actually been set in the similar way that mixerctl does. so that info for setting things like brightness makes sense (since we scale, like, 8 values to per-cent
for rw query and print value that has actually been set in the similar way that mixerctl does. so that info for setting things like brightness makes sense (since we scale, like, 8 values to per-cent). also, it consistifies get/put, shrinks code since we don't need to do that in every single 'driver'. ok miod@
show more ...
|
#
d874cce4 |
| 26-Jun-2008 |
ray <ray@openbsd.org> |
First pass at removing clauses 3 and 4 from NetBSD licenses.
Not sure what's more surprising: how long it took for NetBSD to catch up to the rest of the BSDs (including UCB), or the amount of code t
First pass at removing clauses 3 and 4 from NetBSD licenses.
Not sure what's more surprising: how long it took for NetBSD to catch up to the rest of the BSDs (including UCB), or the amount of code that NetBSD has claimed for itself without attributing to the actual authors.
OK deraadt@
show more ...
|
#
fdae1d23 |
| 26-Nov-2007 |
deraadt <deraadt@openbsd.org> |
if no arguments given, assume a nice default; ok miod jakemsr deanna
|
#
18f4b016 |
| 21-May-2007 |
jmc <jmc@openbsd.org> |
options w/o args come before options which take args;
|
#
53ec592c |
| 20-May-2007 |
robert <robert@openbsd.org> |
add a -f option to allow specifing an alternative control device; "put it in" miod@
|
#
c859ff6c |
| 01-Apr-2006 |
miod <miod@openbsd.org> |
Do not attempt to print parameters which turned out to be dead; fixes PR#5066.
|
#
f9d3d2c5 |
| 09-Aug-2004 |
deraadt <deraadt@openbsd.org> |
minor cleanup
|
#
a913d6bf |
| 30-Jul-2004 |
jmc <jmc@openbsd.org> |
mark down some punctuation, and sync usage();
|
#
2b93bd72 |
| 23-Jun-2004 |
david <david@openbsd.org> |
make -w optional; ok miod@
|
#
b1b7cd8f |
| 10-Jul-2003 |
david <david@openbsd.org> |
add missing includes ok deraadt@ millert@ tedu@
|
#
2875d50e |
| 11-Dec-2002 |
deraadt <deraadt@openbsd.org> |
ansi
|
#
b8557c36 |
| 22-May-2002 |
mickey <mickey@openbsd.org> |
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
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.
show more ...
|
#
c72b5b24 |
| 16-Feb-2002 |
millert <millert@openbsd.org> |
Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be don
Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
show more ...
|
#
b0520bc4 |
| 24-Oct-2001 |
miod <miod@openbsd.org> |
- repair usage() output - 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 di
- repair usage() output - 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@
show more ...
|
#
9e9482bd |
| 26-Aug-2001 |
deraadt <deraadt@openbsd.org> |
minor cleanups
|