summaryrefslogtreecommitdiff
path: root/sys/dev/wscons
AgeCommit message (Collapse)Author
2001-04-18Oops -- adjust the comment as well.Aaron Campbell
2001-04-18Set the default bell pitch to 400, like X.Aaron Campbell
2001-04-17During a mouse motion event, inverse the new mouse position first, then theAaron Campbell
old one, instead of the other way around. This makes the motion look much more fluid on my laptop LCD.
2001-04-17Implement cnbell(), an optional entrypoint that rings the console bell; fromAaron Campbell
NetBSD. deraadt@ ok
2001-04-16Don't remove the mouse cursor when output occurs on a virtual terminal differentjbm
from the current one.
2001-04-14KNFAaron Campbell
2001-04-14Remove non-portable sysbeep calls; deraadt@Aaron Campbell
2001-04-14Remove some static.Aaron Campbell
2001-04-14Kernel support for console mouse functionality which will be controlled byAaron Campbell
the wsmoused daemon (replacement for moused which was used with PCVT). Adds a "getchar" method to the display drivers which returns the value of the character currently under the cursor (e.g., so it may be inversed). From jbm@. Still needs a bit of cleanup and improvement, especially X cohabitation features. The pointer moves to fast as well. These sorts of issues will be corrected in-tree.
2001-04-09Honor the db_console sysctl variable, like PCVT did.Aaron Campbell
2001-03-30Add a new wsmuxop, dissetdisplay, which wsmux uses to disocver whether a muxAaron Campbell
device is connected to a display or not. Use it in wsmux_detach_sc(). This fixes a problem I've been struggling with whereby the machine panics if I detach a USB keyboard before disconnecting it from wsdisplay.
2001-03-14Back out order change in conf.c and priority change in wscons_machdep.cTodd C. Miller
Add kludge to prevent wscons on i386 from stealing the console from another source. wscons should really be fixed to not touch cn_tab...
2001-03-14allow listing and soon deleting fonts; aaron@ okMichael Shalayeff
2001-03-09Add Belgian keymap for wscons; addresses PR/1592 from TDeval@PrimeOBJ.COM.Aaron Campbell
2001-03-08Make struct wscons_keydesc public. To make it possible for kbd(1) toMats O Jansson
list known encodings. -moj ok @aaron
2001-03-07C requires labels to be followed by statements; from NetBSD.Aaron Campbell
2001-03-07Instead of panic'ing when an ESC is found in kernel output, print a warningAaron Campbell
and ignore it; from NetBSD.
2001-03-05Backs out changes to wsdisplay.c so alpha (and presumably others)Todd C. Miller
is happy again. It also makes i386 serial console work by changing the console priority in wscons_machdep.c from CN_INTERNAL to CN_NORMAL and moves the com/pccom console attach routine for i386 to be the first so it will be matched (consinit takes the first highest match).
2001-03-03complete wscons support for abd keyboard. -moj ok @deraadtMats O Jansson
2001-03-01Wrap KS_Cmd_KbdReset in #ifdef __i386__ for now; politely pointed to this byAaron Campbell
drahn@, snarked at by mickey@ ;)
2001-03-01port kqueue changes from freebsd, plus all required openbsd glue.Niels Provos
okay deraadt@, millert@ from jlemon@freebsd.org: extend kqueue down to the device layer, backwards compatible approach suggested by peter@freebsd.org
2001-03-01Add CTRL-ALT-DEL machine reset support, like PCVT had, enabled by theAaron Campbell
machdep.kbdreset sysctl as configured in /etc/sysctl.conf.
2001-02-28Add ability to get display width in bytes for display memory, thisDale Rahn
may be the same as visual width or larger. This is seen on iMacDV systems running at 640x480 or 800x600 with a linebytes of 1024.
2001-02-25Add wscons_machdep.c which is a constab-style wrapper driver for wscons onAaron Campbell
i386. This fixes serial console. millert@, mickey@ ok
2001-02-20default to kernel messages blueTheo de Raadt
2001-02-18Fix an uninitialized variable which could cause corruption of the userAaron Campbell
button state (and hence spurious mouse clicks) if the event queue filled up; from NetBSD.
2001-02-13default more wscons optionsTheo de Raadt
2001-02-11$OpenBSD$Federico G. Schwindt
2001-02-11Allow up to 12 virtual terminals (CTRL-ALT-F1 through CTRL-ALT-F12). OnlyAaron Campbell
6 are enabled by default. After these changes, to enable more you must change the "option WSDISPLAY_DEFAULTSCREENS" in the kernel config file and edit /etc/ttys to switch the new ones from 'off' to 'on'.
2001-02-11Change MAXSCREEN to 12 so ttyC8-b can be used. Previous behaviorFederico G. Schwindt
only allowed 8 ttys as maximun, despite the WSDISPLAY_DEFAULTSCREENS value. ttyCa-b can't be accessed now but a fix is on the way; aaron@ ok.
2001-02-10sync w/ netbsd; aaron@ okMichael Shalayeff
2001-02-09Fix an uninitialized variable.Aaron Campbell
2001-02-08Cause keypresses to reset the screen in case we are in scrollback (previouslyAaron Campbell
the screen was only restored if a new character was actually displayed on the screen); jcs@rt.fm. This brings us closer to the behavior of PCVT. Also, while I'm here, add some #ifdef so wskbd does not depend on wsdisplay (pointed out to me by fgsch@).
2001-02-05WSMOUSEIO_SRES, WSMOUSEIO_SSCALE and WSMOUSEIO_SRATE are _IOW(), not _IOR()Matthieu Herrb
2001-02-02Fix an uninitialized variable; henric@aimnet.comAaron Campbell
2001-02-01Fix the wsmux_setmax() function. By the time wsmuxattach() runs (through hookAaron Campbell
in ioconf.c created by the wsmux pseudo-device), an input device may have already attached itself as a mux. We don't want to whack these pointers. Net result: the PS/2 mouse on my laptop is now properly mux'd. Right now I have my laptop's builtin keyboard and builtin mouse (ps/2), plus I have attached a separate USB keyboard and USB mouse. All four devices are accepting input at the same time. If I want to go mobile, I can unhook the USB devices and my builtin devices will still work without changing X settings. Very cool.
2001-01-31OpenBSD does have paddr_t, I can't explain why I thought it didn't; art@Aaron Campbell
2001-01-31Some int -> u_long (I incorrectly converted paddr_t to int when porting this).Aaron Campbell
2001-01-30Pass the correct MUX type to wsmux_attach_sc().Aaron Campbell
2001-01-30- Add some checks for (sc != NULL). Missed by me previously. Fixes boot -c.Aaron Campbell
- Remove static.
2001-01-30WSMOUSEDEVCF_MUX_DEFAULT -> WSKBDDEVCF_MUX_DEFAULT, although this didn'tAaron Campbell
matter much since they are the same value, but confusing nonetheless.
2001-01-19as the rest of our systems, make the most common key return ^? not ^H; ↵Theo de Raadt
agreed with aaron
2000-11-24Better key repeat logic. When we're in repeat mode, with the exception ofAaron Campbell
modifier keys (SHIFT, CTRL, ALT, etc.), and a key "up" event is received, only delete the key repeat timeout if the key that generated the "up" event is the key currently being repeated. When a key "down" event is received, the opposite -- only delete the key repeat if the key that generated the "down" event is _not_ the key currently being repeated. Playing here is a bit dangerous since we are constraining the conditions in which a timeout(9) is deleted (we don't want to mistakenly get stuck in a non-legitamite key repeat). Using timeout(9) for this is kind of gross. I guess it is done here to avoid key repeat code in all of the actual hardware keyboard drivers. There is still a bug here. If you have a key held down and detach your keyboard (by either unplugging it or doing a KVM switch), the timeout is not deleted and the key continues to repeat until it gets the keyboard back and receives an interrupt. Perhaps we should not be ignoring typematic keys after all?
2000-11-23Make wsdisplaystart() a bit more like PCVT's pcstart() to avoid tty races whenAaron Campbell
switching virtual terminals.
2000-11-15Make sure not to null deref the function pointer for the scrollback accessopAaron Campbell
(some hardware drivers do not support this yet, i.e., vgafb in powerpc); mickey@ ok
2000-11-15Support console scrollback in wscons through a new "scrollback" accessop thatAaron Campbell
hooks into the lower-level display driver. The updated vga(4) driver I'm about to commit has support for this. This is a fairly unobtrusive way to implement scrollback while maintaining the abstraction of the wscons system.
2000-11-15Add two command definitions for wscons scrollback support and link them toAaron Campbell
the PGUP/PGDN keys.
2000-11-15Brown is ugly.Aaron Campbell
2000-11-13Make this compile under OpenBSD.Aaron Campbell
2000-09-06Add support for smaller font, default 23point font is too large for 800x600Dale S. Rahn
or 640x480 screen. Move font initialization into source file, rather than in header file. New font added, 8x16, derived from ic/font8x16.c If gallant font will give 80 or more columns, it is used, if not the 8x16 font is used.