summaryrefslogtreecommitdiff
path: root/sys/dev/wscons
AgeCommit message (Collapse)Author
2007-06-02little fixes to get hotkeys working again. from alexey vatchenkoTed Unangst
2007-05-31switch wskbd hotkeys over to workq. this eliminates quite a bit of code,Ted Unangst
so remove the option too. if you have audio and wskbd, you have hotkeys. ok dlg
2007-05-14wsmouse.h is needed for the NWSMOUSE test to actually workTed Unangst
found by and ok art
2007-05-08add swapxy, resx and resy to struct wsmouse_calibcoords,Robert Nagy
so we can store these values here; ok miod@
2007-04-10Add support for a fourth axis on wsmouse devices, e.g. on the Apple MightMiod Vallat
Mouse. Currently limited to USB mice. Adapted from a diff from Gareth <garf@loveandnature.co.za> on tech@
2007-04-10``it's'' -> ``its'' when the grammar gods require this change.Miod Vallat
2007-03-25POLLERR is the correct return code for poll errorsTed Unangst
ok art deraadt miod
2007-03-24Kill the horrible hack of storing the pid in struct selinfo.Artur Grabowski
Instead, keep the proc pointer in it and put the selinfo on a list in struct proc in selrecord. Then clean up the list when leaving sys_select and sys_poll. miod@ ok, testing by many, including Bobs spamd boxes.
2007-03-07For unsupported (yet) Expert3D style frame buffers, attach pcons and attachMiod Vallat
a really dumb wsdisplay to pcons, so that wskbd/wsmouse input drivers can be used for input, and prom for output. This is a band-aid for the release, so that people with such frame buffers do not need to unplug them or switch to serial console to install OpenBSD. Probably not the best way to do this, but this one has a minimal footprint and no tentacles in wscons. ok deraadt@
2007-02-14FALLTHRU -> FALLTHROUGH for consistency.Jonathan Gray
Suggested by miod@
2007-02-14Consistently spell FALLTHROUGH to appease lint.Jonathan Gray
ok kettenis@ cloder@ tom@ henning@
2007-01-07Some dynamically allocated elements are not considered of vital importanceMiod Vallat
for the vt100 emulation to work well enough for most cases (i.e. alternate character set tables, non-default tab settings, etc). However, code did not always check if these elements had been successfully allocated before trying to use them, or worse, would explicitely panic in DIAGNOSTIC kernels. Change this to work in a degraded mode (by ignoring related escape sequences) instead.
2007-01-07Change allocations to M_NOWAIT in attach methods, and return NULL if they fail.Miod Vallat
2007-01-07In wsscreen_attach(), allow wsemul->attach to fail (returning NULL) if theMiod Vallat
screen is not the console.
2006-12-17More leftovers from rcons.Miod Vallat
2006-12-17When processing a compose sequence of a dead accent and the spacebar, putMiod Vallat
the ``mundane'' accent: apostrophe instead of acute, and comma instead of cedilla. This matches what existing keyboard layouts with dead keys do. From Maurice Janssen via otto@
2006-12-09Do not make sun terminal emulation selected by the wsemul_sun frame bufferMiod Vallat
attribute anymore; remove it and use option WSEMUL_SUN instead, which gets added to all sparc* kernels. While there, do not compile vt100 emulation on sparc* kernels, this saves 16+ KB of text. ok deraadt@
2006-12-02Use a better strategy to make the mouse pointer visible in inverse_char();Miod Vallat
also check the return value of alloc_attr() for failure. No functional change.
2006-12-02Fix ri_devcmap[] to allow WSCOL_BLACK and WSCOL_WHITE to not have to beMiod Vallat
different for sparc{,64} systems.
2006-11-29No need to include pcdisplay.h here anymore.Miod Vallat
2006-11-29Change the getchar wsdisplay_accessops function to not return aMiod Vallat
display-dependent value, but instead fill a structure with the chaarcter and a valid attribute, suitable for use with unpack_attr. Adapt the wsmoused code to these changes, and remove all knowledge of the text-mode style pc video attributes in it. This will eventually allow wsmoused to be used on non-pcdisplay devices.
2006-11-29Add an unpack_attr function to struct wsdisplay_emulops, to match theMiod Vallat
existing alloc_attr function. This allows rasops_unpack_attr to be kept private to rasops, yet available to the screen drivers.
2006-11-29Add a new member to struct wsemuldisplaydev_attach_args, for a frame bufferMiod Vallat
driver to be able to tell how many wscons screens to attach to it, instead of WSDISPLAY_DEFAULTSCREENS which is a global setting.
2006-11-27commit vesabios for matthieu@Gordon Willem Klok
ok deraadt, "slap it in" miod@
2006-11-01poll errors should be POLLERR, not some random E valueTed Unangst
from alexandre ratchov. ok claudio
2006-10-19Fix hopefully the last wscons jump scrolling glitch, which can occurDimitry Andric
in case autowrapping is on, and control characters other than BS, CR, HT are encountered. Righto! miod@, also verified by Paul Stoeber.
2006-10-16Fix some more "is is"s. ok otto@.Tom Cosgrove
2006-10-09Fix jump scroll glitch, reported by dim@ and Paul Stoeber.Miod Vallat
2006-08-17Jump scroll support for vt100 and sun wscons emulations, helps macppc andMiod Vallat
zaurus a lot, tested by many; ok deraadt@
2006-08-14Really do what I intended on SMALL_KERNEL configurations.Miod Vallat
2006-08-14Add an attribute to the keyboard devices which can produce the keys theMiod Vallat
wskbd hotkey thread knows about, and make this code conditional on this attribute. No functional change, simply smaller kernels on a few platforms.
2006-08-06Convert the Sony wsfonts to ISO-Latin1 encoding, and drop the Sony encodingMiod Vallat
conversion tables; from NetBSD.
2006-08-06Time for rcons code to retire.Miod Vallat
2006-08-06Do not try and mate wskbd0 and wsdisplay0 if there is now wsdisplay in theMiod Vallat
kernel; spotted by kettenis.
2006-08-05Oops, forgot these changes.Miod Vallat
2006-08-05On platforms which do not use wsmux (because they can't have more than oneMiod Vallat
keyboard at once), force wskbd0 to connect to wsdisplay0 even if they are not console devices.
2006-08-01Avoid a few NULL dereferences, and boot -c works on vax with glass console.Miod Vallat
2006-07-31Kill autorepeat on ``all keys up'' event.Miod Vallat
2006-07-29Do not fail KDENABIO and KDDISABIO ioctls on non-i386 platforms, this allowsMiod Vallat
older X servers to run; ok matthieu@
2006-07-24Driver for the VS4000/90 frame buffer, adapted from NetBSD (ragge) andMiod Vallat
Blaz Antonic's work, no acceleration yet, untested due to the lack of hardware, but enough sacrifices were made to the RAMDAC Gods.
2006-07-20latvian kbd map; from Martynas Venckus <lab@plius.net>Michael Shalayeff
2006-07-11Compile out syncops support unless option WSDISPLAY_COMPAT_USLMiod Vallat
2006-07-06acquiration -> acquisition (so that eyes stop bleeding)Miod Vallat
2006-07-01Make sure the color selection escape sequences use black for 0 and white for 7,Miod Vallat
as on vt220.
2006-06-30For 32bit sun frame buffers, tweak ri_devcmap to get the BoW palette insteadMiod Vallat
of needing different WSCOL_{BLACK,WHITE} values than 8bit frame buffers. This allows us to not special case the alloc_attr() invocations depending on the color depth, and to make WSCOL_{BLACK,WHITE} constants again in the wsemul_sun land.
2006-06-30Make routines which may set PSL_IOPL consistent wrt the securelevel forMiod Vallat
which this is allowed; ok deraadt@
2006-06-29No need to keep specific variables for the kernel messages colors on sunMiod Vallat
emulation, we can reuse the existing WSCOL_xxx codes, and WSCOL_BLACK and WSCOL_WHITE will point to variables anyway.
2006-05-29Add support for the audio volume keys found on many laptops' builtinMiod Vallat
keyboard. These specific keys are posted to a kernel thread which will issue mixer commands if an audio device exists. Written by Alexey Vatchenko <avv , mail zp ua> with tweaks by deraadt@ and I.
2006-05-19Add the missing Latin-2 glyphs, not used yet.Miod Vallat
2006-04-28In wsmux_set_display(), pass FWRITE instead of 0 when invoking ioctlMiod Vallat
WSKBDIO_SETMODE, or it will be ignored.