summaryrefslogtreecommitdiff
path: root/sys/dev/wscons
AgeCommit message (Collapse)Author
2007-11-27Remove whitespace at EOL, KNF, ansify. Move jump scroll code to a separateMiod Vallat
routine. No functional change (har, har)
2007-11-27Add display type for SGI GBE.Joel Sing
ok miod@
2007-11-26Constify the output of the emulops translate() function, as well as theMiod Vallat
various tables they use.
2007-11-25Ask the emulation code to hide the cursor when leaving emulation mode. ThisMiod Vallat
way we do not get a phantom cursor image when X exits.
2007-11-24typoMiod Vallat
2007-09-17Only the most obvious bzero() -> M_ZERO changes. No cast changes, noKenneth R Westerback
MALLOC/FREE, etc. Just adding M_ZERO to malloc() and deleting an immediately adjacent bzero().
2007-09-11KNFGilles Chehade
prompted and "much better" by marco@, ok pyr@
2007-09-10more MALLOC/FREE -> malloc/free and M_ZERO changesGilles Chehade
ok pyr@
2007-09-01- Add bthidev(4), from NetBSD.Xavier Santolaria
- Make btms(4) and btkbd(4) compile. - Removed remaining proplib NetBSD'sim Prodded a while ago by gwk@. Eyeballed by miod@.
2007-07-25Back out the tracking of procs in struct selinfo. There's one seriousArtur Grabowski
bug in the code, but as soon as I try to fix it, it seems to trigger some other bugs. Instead of trying to figure out what's going on while everyone suffers, it's better to back out and figure out the bugs outside the tree.
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.