summaryrefslogtreecommitdiff
path: root/sys/dev/wscons
AgeCommit message (Collapse)Author
2005-06-01Do not kill the event sink when closing a wsmouse device opened in write-onlyMiod Vallat
mode, thus only been used to issue ioctls. This chunk was lost in r1.14; reported by Douglas Santos.
2005-05-18Do not compile the screen burner code if SMALL_KERNEL, helps floppies.Miod Vallat
ok deraadt@
2005-05-15only inside DIAGNOSTICTheo de Raadt
2005-05-15Partial sync to the NetBSD wscons code, bringing a better wsmux behaviourMiod Vallat
and bugfixes (the kqueue code, /dev/wsmuxctl and screen border color changes have not been picked), keeping local changes. Tested by many on alpha/cats/hp300/i386/macppc/sparc/sparc64/zaurus if not more.
2005-05-12Define a keyboard layout variant for Apple international USB keyboards, whichMiod Vallat
sometimes sligthly differ from the canonical layout.
2005-05-06french a canadian; form Arnaud Bergeron <abergeron@gmail.com>Michael Shalayeff
2005-04-22Driver for the Apollo Domain keyboard and mouse, for the HP 9000/4xx series.Miod Vallat
Claims the console keyboard if a keyboard is detected at boot time, otherwise HIL is preferred (but due to wsmux both can be used simultaneously).
2005-04-21correct idion for snprintf failure handling; ok cloderTheo de Raadt
2005-03-09Make the sun emulation match what the old SunOS cons(4) manual page describes:Miod Vallat
- Fix an uninitialized variable for ESC[p and ESC[q control sequences. - Skip invoxing wscons accessops when we know they'll have nothing to do (e.g. scroll 0 lines, erase 0 lines, etc) - Correctly handle spurious parameters in control sequences - the ones to take into account are the _last_ received, not the _first_. Which makes things pretty funny for control sequences requiring more than one parameter, since it is not mandatory to provide all parameters. ok todd@
2005-03-08Cosmetics...Thierry Deval
Mainly remove space between locators parens, replace spaces with tabs where appropriate and consistently align dependencies.
2005-01-18WSDISPLAY_COMPAT_RAWKBD support for hilkbd.Miod Vallat
2005-01-17Display driver for zaurus, PXALCD requested and ok miod@Dale Rahn
2005-01-14Switch OpenBSD/hp300 to wscons, still using on-board ROM fonts for now.Miod Vallat
Main features: - MI hil drivers, allowing live plug/unplug of devices, and the keyboard does not need to be at id 1 anymore. - SGC bus support on 4xx models. SGC frame buffers are supported too, but not as console, though you can use them as a regular glass terminal if you run a getty on ttyC0. Currently not compiled-in, awaiting for an sti(4) fix to be commited. - HP-UX compatibility interfaces are removed. grfinfo and hilinfo are removed. X11 support is currently broken by these changes; X.org X11R6 support will be available very soon. Tested on hyperion and 4 different flavours of catseye/topcat/kathmandu; other, older frame buffers (davinci, gatorbox and renaissance) could not been tested but should work; please report any regression.
2005-01-14Add type for zaurus, ok miod@Dale Rahn
2004-12-25correct indentTheo de Raadt
2004-12-23vt100 wscons crashes restoring cursor if it had never been saved before.Miod Vallat
From NetBSD (wsemul_vt100.c 1.24, wsemul_vt100var.h 1.7)
2004-12-23Fix crash due to wrong argument in the (almost useless) DECRQUPSS escapeMiod Vallat
sequence. From NetBSD (1.13)
2004-12-23Reliability fix, from NetBSD:Miod Vallat
When moving the cursor down, only scroll up if cursor is exactly at bottom of scroll region; don't scroll if below scroll region.
2004-11-05Better granularity between wsmouse support and wsmoused support, as oneMiod Vallat
could use wsmoused with a serial mouse; wsmoused support will now be compiled regardless of wsmouse attachments, unless option SMALL_KERNEL. Thanks to mickey@ for pointing out my mistake.
2004-11-04Only compile the mouse pasting code if wsmouse is configured in the kernel;Miod Vallat
shaves a few dozens of KB on installation media.
2004-09-21Do not retrigger the screen blanker if one change its settings throughMiod Vallat
wsconsctl, while running X11.
2004-06-24This moves access to wall and uptime variables in MI code,Thorsten Lockert
encapsulating all such access into wall-defined functions that makes sure locking is done as needed. It also cleans up some uses of wall time vs. uptime some places, but there is sure to be more of these needed as well, particularily in MD code. Also, many current calls to microtime() should probably be changed to getmicrotime(), or to the {,get}microuptime() versions. ok art@ deraadt@ aaron@ matthieu@ beck@ sturm@ millert@ others "Oh, that is not your problem!" from miod@
2004-06-05Remove unneeded dependency on wscons_raster.hMiod Vallat
2004-04-24Define wscons device ids for the Luna devices.Miod Vallat
2004-04-05Most of the non-US keyboard layouts define an ``AltGr'' key to access upMiod Vallat
to two extra symbols per key; usually, this key also serves as the compose key, if used with shift. Because of this, accessing the fourth symbol of a key would work with a sequence altgr-shift-key, but not with a sequence shift-altgr-key, since it would trigger compose behaviour. In order to be less confusing, let the AltGr behaviour win over the Compose behaviour if AltGr would produce a different symbol. Since most of those AltGr symbols are never part of compose rules, this is transparent. Problem found by xsa@; ok deraadt@ otto@ xsa@
2004-04-02remove terms 3 & 4 for drochner@NetBSD.org; as seen on netbsd listsTheo de Raadt
2004-03-16Slovenian keymap, contributed by Jernej Kovacic (jkovacic, email dot si).Miod Vallat
2004-03-14Caps lock should only affect the letter keys, rather than enforcing a shiftMiod Vallat
state. Fixes PR#2555
2004-03-10indentTheo de Raadt
2004-03-09Allow the screen blanker to be disabled; PR#3123Miod Vallat
2004-03-01Define a wsdisplay type for rfx; ok deraadt@Miod Vallat
2004-02-27kbd_reset can work on amd64 tooTheo de Raadt
2004-02-24Do not check for end of line too early, as this will confuse the cursorMiod Vallat
position. Easily reproduceable using emacs, but no fully sane human being would use emacs anyway.
2003-12-06Fix for gcc3 compilation suggested by miod@: use temporary variableAlexander Yurchenko
when dealing with KS_GROUP macro. ok miod@
2003-10-03Merge tty_attach() in ttymalloc() and tty_detach() in ttyfree(). The need forMiod Vallat
separate tty registering is gone now that sparc has switched to wscons, and this makes the code less error-prone. Also, remove tests for ttymalloc() failure, since it uses M_WAITOK. ok millert@ deraadt@, tested by various people as well besides me...
2003-09-23Replace select backends with poll backends. selscan() and pollscan()Todd C. Miller
now call the poll backend. With this change we implement greater poll(2) functionality instead of emulating it via the select backend. Adapted from NetBSD and including some changes from FreeBSD. Tested by many, deraadt@ OK
2003-08-15change arguments to suser. suser now takes the process, and a flagsTed Unangst
argument. old cred only calls user suser_ucred. this will allow future work to more flexibly implement the idea of a root process. looks like something i saw in freebsd, but a little different. use of suser_ucred vs suser in file system code should be looked at again, for the moment semantics remain unchanged. review and input from art@ testing and further review miod@
2003-08-11Add signal number sanity checking to usl_sync_init(). This is notTodd C. Miller
strictly required since the signal routines do their own sanity checks, but this way the VT_SETMODE ioctl() gets a nice EINVAL. Potential problem pointed out by Jacques Vidrine; deraadt@ OK
2003-08-06Remove some double semicolons (hmm, do two semis equal a maxi?).Todd C. Miller
I've skipped the GNU stuff for now. From Patrick Latifi.
2003-06-17New driver and wsdisplay type for the Weitek Power9000 and Brooktree Bt445Miod Vallat
combination, found on the Tadpole SPARCbook 3 only (later model use the Power9100 and are already supported). Untested for lack of hardware and volunteers, but carefully crafted; if it does not work out of the box, this should be a good starting point. "worth having in the tree" millert@
2003-06-16Provide more "dead_symbol + space -> symbol" entries in the compose table;Miod Vallat
fixes PR #3295
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
rescinded 22 July 1999. Proofed by myself and Theo.
2003-05-14The ramdac's hater club is proud to present new yet another SBus frameMiod Vallat
bufer driver, this time for the Southland Media Systems (now Quantum 3D) MGX and MGXPlus cards. Not complete, but a good start.
2003-04-27strcpy/sprintf cleanup of sys/dev. miod@, deraadt@ says to commit.Hakan Olsson
2003-03-28add a whole bunch of display types (will be used by the accelerated XJason Wright
stuff coming soon to a tree near you).
2003-02-23initialize errorTed Unangst
ok miod@
2003-02-16Provide a wskbd type for gsc keyboards, make gsckbd use it, and take advantageMiod Vallat
of it in kbd(8) to work correctly with such a keyboard. Reminded by maja some time ago.
2003-02-12in async mode, send SIGIO to the process group of the process thatMatthieu Herrb
requested the signal. This is coherent with what /dev/tty does and the current implementation of fcntl(F_SETOWN). Ok deraadt@
2003-02-12Define a wsmouse type for HIL mice.Miod Vallat
2003-02-11Define an HIL wscons keyboard type.Miod Vallat