| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
tested by Bryan Vyhmeister, krw, tb, and myself
ok jcs krw tb
|
|
|
|
|
| |
ioctl when getting the default repeat settings; bug report by ``Creamy'' on
tech@
|
|
|
|
| |
ok miod@
|
|
|
|
|
| |
simplify the code and apply some style(9).
Discussed with and ok miod@
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
That isn't the case. eg thorn, Cyrillic_CHE, L2_tcedilla, L5_scedilla and
L7_zcaron has the same (0xfe). So you have a 20% chance to get the right
output from wsconsctl.
Use the ksym name to decide which ksyms isn't Latin-1. Store that information
in the ksym tables. The use the keyboard encoding to make an educated guess
of which character to return.
Let say your encoding is pl. You have Latin-2 characters in the map.
Then check first for Latin-2 characters if none found try Latin-1.
ok miod@
-moj
|
|
|
|
|
|
|
| |
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@
|
|
|
|
|
|
|
|
|
| |
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@
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
- 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@
|
|
|
|
|
| |
no backwards compatibility keeped.
add ability to change screens from cmd line.
|
|
|