summaryrefslogtreecommitdiff
path: root/sys/dev/wscons
AgeCommit message (Collapse)Author
2002-10-12Remove more '\n's from panic() statements. Both trailing and leading.Kenneth R Westerback
Diff generated by Chris Kuethe.
2002-09-23Fix the extra cursor image remaining in the upper left corner of theMiod Vallat
screen after it has been cleared. ok fgs@ deraadt@
2002-09-15Add missing translations for End, Ins and f11-f12, indent the switch a bitFederico G. Schwindt
as well; miod@ ok.
2002-09-09Rework the wsemul_sun behaviour, and add color support, from the currentMiod Vallat
wsemul_vt100 code and NetBSD's rcons. Misc cleaning in the process. Use with TERM=rcons-color for color support for now. Tested by jason@ and matthieu@
2002-09-05Do not print the ASCII_ESC character.Jason Wright
2002-08-29Produce the same escape codes as SunOS with the L function keys in console.Miod Vallat
(tested against Solaris 2.5)
2002-08-29Define new wscons symbols for the L function keys found on Sun keyboards,Miod Vallat
and let the sun layout tables produce them. ok mickey@
2002-08-26now that none of the keyboard maps map anything intoMichael Shalayeff
the KS_BackSpace (use KS_Delete instead) we can restore an ability to map any key into BackSpace symbol: wsconsctl -w keyboard.map+="keycode 14 = Cmd_ResetEmul BackSpace" xfree is not using the key symbols, but raw key codes and therefore is not affected (as discussed w/ matthieu@). in fact, nothing in the whole tree is using the KS_BackSpace right now. existing KS_BackSpace definition is wrong and breaks the wsconsctl.
2002-08-21Attach one screen resource, by default, to every wsdisplay device,Miod Vallat
instead of zero, if the kernel configuration file does not override this setting. This enables X11 to work on multihead sparc{,64} configurations without the need for an explicit wsconscfg invocation first. If a non-default emulation is requested, the user can still delete this automatic resources and recreate it with wsconscfg. ok mickey@ jason@
2002-07-25Rework the color usage in wsemul_sun displays, to match SunOS and SolarisMiod Vallat
text mode colors. This means black text on white background, even for the kernel messages. Initially based on a patch from jason@, then some tinkering by me.
2002-07-25Rename the WSDISPLAY_TYPE_SUNFFB display type into a more generic name,Miod Vallat
..._SUN24, since this only means 24 bit framebuffers with BGR encoding. Also add a WSDISPLAY_TYPE_SUNBW for Sun monochrome framebuffers, to be used by Xwsfb shortly.
2002-07-01repair burner after X, as seen on misc@; from grange@Michael Shalayeff
2002-06-29Add Brazilian keymap (iso275). Create by me and tested byMats O Jansson
gustavo.rios@transport.alstom.com. -moj
2002-06-29Latinamerica keymap from Gerardo Santana Gomez Garrido <santana@openbsd.org.mx>.Mats O Jansson
-moj
2002-06-11Fix, s/pci_sel/pciselJason Wright
2002-06-11add a new ioctl to wscons (currently implemented only on sparc64)Matthieu Herrb
`that returns the bus:dev:func PCI id of the device. ok jason@.
2002-06-08Disable the screen burner if it is enabled and X starts, and reinable uponDale Rahn
leaving X, if it was enabled. looked at by miod, mickey.
2002-06-07Add wsconsctl recognition support for adb keyboard.Dale Rahn
2002-05-30remove silly ifdef's; mickey@ jason@ ok.Federico G. Schwindt
2002-05-29Add a new wskbd type for Sun type 5 keyboards (WSKBD_TYPE_SUN5).Mats O Jansson
This is needed since eg Swedish type 4 and 5 keyboard has keycodes with different keycodes. eg AltGr and Compose are switched in type 5 compared with type 4. This change will need a new Xserver to allow sun type 5 keyboards. -moj ok miod@
2002-05-22add WSDISPLAY_TYPE_SUNFFBJason Wright
2002-05-20Do not blindly call wsdisplay routines if no wsdisplay device is activeMiod Vallat
and the user presses a magic key. ok mickey@
2002-05-05fix panic triggered by using a 3.0 wsmoused on a 3.1 kernel, byMatthieu Herrb
checking that wsms_dev is not NULL before dereferencing it. ok jbm@
2002-04-30charClass is const and kill lotsa spacesMichael Shalayeff
2002-04-30cdev_decl is done in conf.h, do not dupe hereMichael Shalayeff
2002-04-09better lt keymap (in the best .su tradition); from Vladis Adler <vld@vic.lt>Michael Shalayeff
2002-04-05protect another use of wskbd_repeat with #if NWSDISPLAY > 0Jason Wright
2002-04-04lithuanian kbdmap, made from the script at http://open.bsd.ltMichael Shalayeff
2002-03-31add a new mode to wsdisplay, WSDISPLAYIO_MODE_DUMBFB. This mode isJason Wright
functionally equivalent what used to be WSDISPLAYIO_MODE_MAPPED, which now means a "native" mapping. vgafb_mmap() returns pci relative mappings in WSDISPLAYIO_MODE_MAPPED and linear framebuffer mappings in WSDISPLAYIO_MODE_DUMBFB
2002-03-30fix two evil bugs:Michael Shalayeff
panic on absent wsdiplay on scrollback; missing breaks.
2002-03-27Add X-Window support to wsmoused(8). This allows running wsmoused(8) andjbm
X-Window at the same time, removing the need to kill wsmoused(8) before starting X-Window.
2002-03-16skip absent screens; from leonardo@cefetpr.brMichael Shalayeff
2002-03-14initialized data cannot be common, dunno how it compiled beforeMichael Shalayeff
2002-03-14Final __P removal plus some cosmetic fixupsTodd C. Miller
2002-03-14First round of __P removal in sysTodd C. Miller
2002-01-30Move SET/CLR/ISSET macros to param.h. fgsch@ and millert@ okThomas Nordin
2002-01-16Add a sun keyboard typeJason Wright
2002-01-11Get order of operations correct so that we clear the wsmux array andJason Wright
initialize it correctly.
2002-01-03define a new wsemul_sun attribute and add it to the sparc64 framebuffersJason Wright
[This needs to be extended to the vt100 and dumb emulations too.. in time]. (This allows the removal of WSEMUL_SUN from sparc64/conf/GENERIC)
2001-12-01change to WSEMUL_NO_DUMBTheo de Raadt
2001-11-26allow pasting chars w/ codes >127 w/ mouse; from Denis Afonin <dfa@solo.ee>Michael Shalayeff
2001-11-01Change d_mmap in struct cdevsw from:Artur Grabowski
int (*d_mmap) __P((dev_t, int, int)); to: paddr_t (*d_mmap) __P((dev_t, off_t, int)); This allows us to mmap devices past 4GB offsets.
2001-10-30do not allow setting autorepeat delays causing zero timeouts later.Michael Shalayeff
pointed out for the case of del*=0 in pr@2156 by Juan Vera <juan@coredump.com.ar>.
2001-10-25If the console keyboard goes away, reinit wskbd_console_device.Dale Rahn
Will allow future console keyboard attaches to occur.
2001-10-04supply entropy from hereMichael Shalayeff
2001-09-30add mode_lock for mode_shift as the caps_lock is to shift; from Igor Grabin ↵Michael Shalayeff
<violent@death.kiev.ua>
2001-09-26Connect USB keyboards to the display after attaching, no longer requiringjoshua stein
'wsconscfg -k' to be run. Thanks to James Matthews for the extra keyboard. aaron@ ok
2001-09-16Add some missing lengths checks when passing data from userland toTodd C. Miller
kernel. From based on NetBSD patches.
2001-09-04.ua keyboard; from Igor Grabin <violent@death.kiev.ua>Michael Shalayeff
2001-08-29less definesMichael Shalayeff