summaryrefslogtreecommitdiff
path: root/sbin/wsconsctl
AgeCommit message (Collapse)Author
2017-10-24remove defines for ioctls the kernel doesn't recogniseJonathan Gray
ok mpi@
2017-09-02teach wsconsctl about efifbPeter Hessler
OK patrick@
2017-08-01Handle the flags of mousecfg fields correctly.Ulf Brosziewski
2017-07-21Add fields for wsmouse/touchpad configuration.Ulf Brosziewski
2017-07-10remove misc. depend and yacc nits that no longer matter.Marc Espie
okay millert@
2017-07-09have bsd.prog.mk/bsd.lib.mk generate .y -> .c/.h rules without intermediateMarc Espie
files. This fixes up parallel builds in the default case. FreeBSD does something similar. okay millert@
2017-06-16mark files as BUILDFIRST, or write explicit dependencies, so that mostMarc Espie
programs will build even without a make depend first. okay tb@ millert@
2017-05-27Mention the display.font variable in EXAMPLES.Frederic Cambus
As mentioned by miod@ here [1], wsconsctl(8) has a currently undocumented 'display.font' variable allowing to change the current font on framebuffer consoles. [1] http://undeadly.org/cgi?action=article&sid=20131023125815 OK deraadt@
2017-04-06document -=; while here, simplify things so that we don;t add a separateJason McIntyre
usage every time we think of a new way to use this; -= bits from anton lindqvist ok tb tom
2016-05-12more hppa64 cleaningTheo de Raadt
2016-03-31Simplify MACHINE tests, the only platforms in the tree without wsdisplayJonathan Gray
are octeon and hppa64.
2016-03-09We are done providing support for the vax.Theo de Raadt
lots of agreement.
2016-02-10Permit negative x and y coordinates in mouse.scale for uts and ums.Philip Guenther
Needed by some touchscreens. no objection matthieu@
2015-12-12add keyboard backlight variableJoerg Jung
tested by Bryan Vyhmeister, krw, tb, and myself ok jcs krw tb
2015-11-19lexer fixes to work with new flex. from Serguey ParkhomovskyTed Unangst
2015-05-26build wsconsctl and wsconscfg on armv7Jonathan Gray
2015-05-08Add a new `don't read back' flag for variables, to prevent reading their valueMiod Vallat
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.
2015-04-18Convert many atoi() calls to strtonum(), adding range checks and failureTheo de Raadt
handling along the way. Reviews by Brendan MacDonell, Jeremy Devenport, florian, doug, millert
2015-02-15These functions turned up in my grep for bcmp. There are already perfectlyTed Unangst
good cmp functions written for qsort, but then different versions were written which (ab)use the fact that bsearch doesn't strictly require the key type to be the same as the element type. Nevertheless, I think it's clearer and cleaner to create a complete key struct and search with that. As a bonus, we don't need two different compare functions just to compare with two different encoding values. ok millert
2014-03-18Retire hp300, mvme68k and mvme88k ports. These ports have no users, keepingMiod Vallat
this hardware alive is becoming increasingly difficult, and I should heed the message sent by the three disks which have died on me over the last few days. Noone sane will mourn these ports anyway. So long, and thanks for the fish.
2013-11-17Distinguish between inteldrm and radeondrm.Mark Kettenis
ok jsg@, miod@
2013-10-20Introduce write-only (for now) display.font parameter, which issues aMiod Vallat
WSDISPLAYIO_USEFONT ioctl, asking the wsdisplay driver to change its current display font to the one requested (by name).
2013-10-20WSDISPLAYIO_GTYPE ioctl support for KMS drivers. ok jsg@Miod Vallat
2013-08-18Fix calls to printf-like functions which passed a non-fixed stringPhilip Guenther
as the format and no variable args. Replace "%#0.*X" with "%#.*X": the zero-fill flag is ignored/implied on numeric conversions when a precision is specified. ok jung@ millert@ krw@
2013-03-25the unused palm code goes away.Theo de Raadt
2013-03-21Correctly issue WSKBDIO_GETDEFAULTKEYREPEAT instead of WSKBDIO_GETKEYREPEATMiod Vallat
ioctl when getting the default repeat settings; bug report by ``Creamy'' on tech@
2012-10-29Teach wsconsctl(8) about the elantech mouse type. Diff from shadchin@.Stefan Sperling
2012-08-08fix type (part from NetBSD)Alexandr Shadchin
ok miod@
2012-07-14ansifyAlexandr Shadchin
ok deraadt@
2012-07-14fix typo in commentAlexandr Shadchin
ok deraadt@
2012-07-14zap whitespaceAlexandr Shadchin
ok deraadt@
2012-06-20more mac68k bits for the atticMatthew Dempsky
2012-05-14ansi. no binary changeJonathan Gray
2012-04-17typoTheo de Raadt
2012-04-17Add type numbers for upcoming sgi work, forgotten during newport(4) import.Miod Vallat
2012-01-31fix a typo; Steffen Daode NurpmesoTheo de Raadt
2011-09-20Prepare to add support ALPS touchpadsAlexandr Shadchin
no objections mpi@ and matthieu@
2011-09-15Fix recognition Synaptics touchpadAlexandr Shadchin
from Patrick Keshishian (sidster at boxsoft dot com)
2010-08-20Don't silently ignore errors if we cannot open the device. While I'm hereFederico G. Schwindt
simplify the code and apply some style(9). Discussed with and ok miod@
2010-07-02add missing header needed by ioctl()Charles Longeau
ok maja@
2010-07-01Learn wsconsctl to handle more than the first keyboard, mouse and display.Mats O Jansson
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
2010-07-01Remove two useless nul characters. -mojMats O Jansson
2010-07-01add screen types and emulations to things to be shown for displays.Mats O Jansson
ok miod@. -moj
2010-06-28A long time ago when wsconsctl was written it expected that ksym was uniq.Mats O Jansson
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
2010-03-07Minimalistic driver for the ImpactSR (Mardigras) video option found on olderMiod Vallat
Octane systems, as well as some Onyxes. With special permission to change a systemwide .h file and add a manpage from deraadt@ Magic numbers and operation sequencing borrowed from Linux; tested on Octane + ESI. ok deraadt@
2010-03-04Add wsdisplay type for SGI VPro (aka Odyssey)Joel Sing
ok miod@
2010-02-28Minimal frame buffer driver for the SiS 315 found on Lemote Fuloong systems.Miod Vallat
Currently unable to change video modes or provide any form of acceleration, so you are stuck in a 640x400x8 mode, but at least people scared of serial consoles will get a chance to use their Fuloongs now. Tested by otto@ (early developments) and jasper@ (final version)
2010-01-30Build on loongson, and sort platform list.Miod Vallat
2009-12-25A couple more device types.Miod Vallat
2009-11-24Preserve rawmode when setting scale. ok miod@, oga@.Matthieu Herrb