Commit Graph

500 Commits

Author SHA1 Message Date
jmcneill
a737ed394b Don't use intarg uninitialized in wsdisplay_usl_ioctl2. Fixes CID 2507 2006-03-18 13:06:38 +00:00
uwe
4030a5d7d5 Make this compile with WSKBD_DEBUG again. 2006-03-14 23:41:45 +00:00
christos
1b2709754a cleanup more SET/CLR/ISSET lossage 2006-03-05 17:33:33 +00:00
jmmv
05e04b5edf Add missing closing parenthesis to a diagnostic message. 2006-03-05 16:04:37 +00:00
macallan
31038cb7db Add support for virtual consoles to igsfb.
Works fine on a Krups, needs testing on other ports.
2006-02-23 08:01:59 +00:00
jmcneill
117a143dac Multiple inclusion protection. 2006-02-19 15:09:58 +00:00
macallan
23d4731713 add a flag to completely disable drawing on a screen 2006-02-19 03:51:03 +00:00
jmcneill
4baf344378 Bunch of changes to wscons in preparation for splash screen support:
* Add WSDISPLAY_TYPE_VESA for vesafb. While here, fix a typo in a comment.
 * Add WSDISPLAYIO_SSPLASH and WSDISPLAYIO_SPROGRESS ioctls. The former
   toggles the splash screen on and off, and the latter updates the progress
   animation.
 * Prevent more than one hw driver from claiming to be the console.
 * In vcons, keep two pointers to the screen's vcons_data. This lets us
   override the original (ie with null emulops during boot), and restore
   them later on.
2006-02-18 18:56:05 +00:00
macallan
b16c42a99d bzero() -> memset() 2006-02-14 16:02:00 +00:00
macallan
e594a4142f do some extra initialization and zeroing, fixes odd problems on x86 2006-02-14 14:15:59 +00:00
macallan
569533352e framework for generic virtual consoles 2006-02-12 20:55:35 +00:00
christos
2038078d40 fix compilation problems. 2006-02-10 20:38:54 +00:00
christos
0fa6ea2f2c PR/32794: Paul Shupak: Panic in wsmouse code.
Checking the number of events after you've trashed the stack is not very
useful. Instead, break out of the loop if we ran out, printing a message.
Also don't try to inject 0 events; reset our state instead. Maybe having
0 events should be a diagnostic printf at this point? Anyway it is not
nice having the kernel die because the mouse code got confused. Finally,
explain why the array of events is sized funny.
2006-02-10 17:33:01 +00:00
jmmv
ddaa1b349e wsevent cleanup:
- Add a wsevent_inject function that atomically adds a set of events to an
  event queue and change all code that directly messed with a queue to use it.
- Replace the WSEVENT_WAKEUP macro with a regular function.
- Make WSEVENT_QSIZE, PWSEVENT and splwsevent private definitions to
  wsevent.c, instead of exposing them in the header file.
- Make the wsevent_init function take a process to attach to the queue,
  instead of leaving this task to the caller (which always did it).

Reviewed in tech-kern@.
2006-02-07 09:13:02 +00:00
jmmv
8b589aee17 Add support to automatically repeat mouse button events in wsmouse(4) and
change wsconsctl(4) so that this is configurable.

This is specially useful for mice that provide page up/down buttons instead
of a real wheel and that do not send events repeatedly from the hardware.
(E.g.: Logitech Marble Mouse.)

No objections in tech-kern@.
2006-02-05 17:38:33 +00:00
tsutsui
4d4ef38433 Add WSKBD_TYPE_EWS4800 for EWS4800 machines. 2005-12-29 15:24:51 +00:00
chs
0545b6e0cb changes for making DIAGNOSTIC not change the kernel ABI:
- for structure fields that are conditionally present,
   make those fields always present.
 - for functions which are conditionally inline, make them never inline.
 - remove some other functions which are conditionally defined but
   don't actually do anything anymore.
 - make a lock-debugging function conditional on only LOCKDEBUG.

as discussed on tech-kern some time back.
2005-12-27 04:06:45 +00:00
jmmv
39d0d77704 Let this build when WSMUX_DEBUG is set after the merge of ktrace-lwp. 2005-12-25 17:23:42 +00:00
christos
95e1ffb156 merge ktrace-lwp. 2005-12-11 12:16:03 +00:00
macallan
eecff0f52d back out the changes to KD* ioctl()s for now, seem to break more than they
do good.
2005-12-05 18:27:59 +00:00
macallan
91d47a92df - remove a leftover debug printf()
- fix the other cases of _IO() type ioctl() abuse ( mainly keyboard related
  stuff )
2005-12-05 11:46:19 +00:00
macallan
826e1b36bc Make the VT_* ioctl()s work in LP64/big endian platforms, like sparc64.
The problem is that these ioctl()s are declared as _IO() and expect to pass an
integer as argument, instead of a pointer. When dereferencing the argument
pointer in the ioctl() handler as an int we get the upper 32bit of the value so
we simply dereference it as long. Other _IO() ioctl()s may need similar fixes.

Tested on sparc64, sparc and macppc.
2005-12-04 14:03:42 +00:00
augustss
5b71c2bf99 Some devices provide more than three (X, Y, and Z) "directions". So add
a W "coordinate" that can be used for these.
This changes the type of wsmouse_input().  To avoid changing a lot of drivers
a compatibilty #define is provided.  Maybe changing all drivers would have
been better?
2005-11-23 09:38:02 +00:00
simonb
a21c456e2e Call nanotime() directly, instead of doing the
microtime()/TIMEVAL_TO_TIMESPEC() dance.
2005-11-11 07:07:42 +00:00
kleink
aece7a90fd Change the driver open function's conditional for overriding exclusive tty
use from checking the proc's uid to suser(9), and account for the use of
privileges.  Noted by David Holland in PR kern/31126.
2005-09-06 21:40:37 +00:00
tsutsui
ee0931f86c TAB/space cosmetics. 2005-08-28 13:08:16 +00:00
ws
9d78e0cf36 PR-30566: Poll must not return <sys/errno.h> values.
Start with those places I can easily test.
2005-06-21 14:01:11 +00:00
martin
b8aea19a7a Add a key symbol for the "Power" key. 2005-06-08 09:11:09 +00:00
uwe
5442d49e77 Constify. Drivers pass const default calibration data to
WSMOUSEIO_SCALIBCOORDS using __UNCONST, so make sure we don't try to
modify it.
2005-06-01 00:02:17 +00:00
uwe
7d69499bba Fix misleading indentation. 2005-05-31 23:37:47 +00:00
christos
d4268da6a0 add const. 2005-05-30 22:16:27 +00:00
martin
c12108712c Adapt to recent constification. 2005-05-30 09:36:50 +00:00
christos
f90bcf3a23 - sprinkle const.
- avoid variable shadowing.
2005-05-29 21:56:35 +00:00
martin
228158ce8c If the driver supports reverse, try that first - even on color displays.
This removes a XXX and makes us independent of the users default colors.
2005-05-25 06:46:07 +00:00
martin
b7de61b9b3 Rename REALWHITE to SNOWWHITE.
While there, add LIGHT versions of the other predefined colours as well.
2005-05-23 09:44:57 +00:00
martin
e5c6528779 Define a real white color - since WSCOL_WHITE is ANSI-emulation specific
defined as grey (which can't be fixed w/o breaking user config files).
Fixes PR kern/30064.
2005-05-22 20:16:08 +00:00
he
4f4c9a7624 Enclose some code dependent on wsdisplay in #if NWSDISPLAY > 0 / #endif;
fixes build problem for news68k.

Reviewed by augustss
2005-05-08 17:16:34 +00:00
augustss
1710458cee Make auto repeat of events a compile time option, and have it off by default.
Turn on by WSKBD_EVENT_AUTOREPEAT.
2005-05-04 01:52:16 +00:00
augustss
09661ed83a Change the logic for generating auto repeat from the keyboard. Previously
auto repeat was only available in translated mode, but not in event mode.
Now both modes have auto repeat.  There are actually a few users of
the event mode, and they deserve auto repeat too. :)

Also make it possible to turn off auto repeat by setting repeat.del1=0.
2005-05-03 13:13:07 +00:00
augustss
949688eeaf Remember what keyboard layout is set in the mux, that way new keyboards
can be given the same layout.  Fixes kern/19153.
2005-04-30 03:47:12 +00:00
martin
05308d1b95 Make it possible for a console driver to deliver raw ASCII characters
to wskbd. This is for special cases only, and may even be considered a
hack, but it is cheap and very local.
2005-04-28 07:15:44 +00:00
martti
d927f0a6a7 s/Finish/Finnish/ 2005-04-04 09:08:54 +00:00
dsl
e3f3e5cc51 Change the wa ythe KB_xxx and KB_ENCTAB are defined so we have all the
data for a single keyboard on one line - including the long name and
default modifiers that sysinst needs.
2005-03-08 08:06:26 +00:00
perry
f31bd063e9 nuke trailing whitespace 2005-02-27 00:26:58 +00:00
joff
5cc20bed82 Support wsdisplay(4) attachments of hd44780 LCD controllers 2005-02-04 05:58:44 +00:00
perry
18db93c7f6 de-__P 2005-02-04 02:10:35 +00:00
joff
5c5c7c1047 Add new wskbd type MATRIXKP 2005-01-31 06:07:32 +00:00
martin
9eba7eabba PR kern/28837: fix undef typo. 2005-01-02 15:43:49 +00:00
hubertf
b73330c814 Try to document keymap names - this really a trip into the obscure.
XXX someone please review!
2004-12-02 19:59:31 +00:00
jkunz
1035c6af08 Import STI wscons(4) driver from OpenBSD and add new driver for PS/2
keyboard / mouse pots of LASI.
2004-08-26 16:48:06 +00:00
he
8c0706bddd Remove include of "opt_wsmsgattrs.h" here, since that's already done
by wsdisplayvar.h.  Fixes build problem for sparc.
2004-08-03 11:16:30 +00:00
jmmv
2a08d54a9a Implement border color customization in wscons(4), only available for vga(4)
at the moment.

This includes the addition of two new wsdisplay ioctls, WSDISPLAY_{G,S}BORDER,
one to get the actual color and one to set it, respectively.  Possible colors
match those defined by ANSI (and listed in wsdisplayvar.h).

It also adds two accessops to the underlying graphics device, getborder and
setborder, which mach their ioctl counterparts.

Two kernel options are added: WSDISPLAY_CUSTOM_BORDER, which enables the
ioctls described above (to customize the border color from userland after
boot), and WSDISPLAY_BORDER_COLOR, which sets the color at boot time.
The former is enabled by default on the GENERIC kernel, but not on INSTALL
(among others).  The later is always commented out, leaving the usual black
border as a default.

wsconsctl is modified to allow accessing this value easily.  For example,
'wsconsctl -d -w border=blue'.
2004-07-29 22:29:35 +00:00
jmmv
bc47208cb0 Forgot to define WSDISPLAY_CUSTOM_OUTPUT here. 2004-07-28 15:12:07 +00:00
jmmv
92f81ea7d3 Implement support to dynamically change wscons console and kernel colors.
Two new ioctls are added to the wsdisplay device, named WSDISPLAY_GMSGATTRS
and WSDISPLAY_SMSGATTRS, used to retrieve the actual values and set them,
respectively (the name, if you are wondering, comes from "message attributes").

A new emulop is added to the underlying display driver (only vga, for now)
which sets the new attribute for the whole screen, without having to clear
it.  This is optional, which means that this also works with other drivers
that don't have this new operation.

Five new kernel options have been added, although only documented in
i386 kernels (for now):
- WSDISPLAY_CUSTOM_OUTPUT, which enables the ioctls described above to
  change the colors dynamically from userland.  This is enabled by default
  in the GENERIC kernel (as well as others) but disabled on all INSTALL*
  kernels (as this feature is useless there).
- WS_DEFAULT_COLATTR, WS_DEFAULT_MONOATTR, WS_DEFAULT_BG and WS_DEFAULT_FG,
  which specify the default colors for the console at boot time.  These have
  the same meaning as the (already existing) WS_KERNEL_* variables.

wsconsctl is modified to add msg.default.{attrs,bg,fg} and
msg.kernel.{attrs,bg,fg} to the display part, so that colors can be changed
after boot.

Tested on NetBSD/i386 with vga (and vga in mono mode), and on NetBSD/mac68k.
No objections in tech-kern@.
2004-07-28 12:34:02 +00:00
heas
a3f3869414 Add WSDISPLAYIO_[GS]MODE type _DUMBFB - mapped fb (no registers)
Add WSDISPLAYIO_LINEBYTES ioctl - # bytes/row

Used by ffb driver and XFree wsfb driver module - From OpenBSD
2004-07-20 20:28:20 +00:00
sekiya
95ef21ea53 Add SGI types for mouse and keyboard. 2004-07-07 00:10:30 +00:00
tsarna
4605dd7457 Add calibration support to uep driver.
Untested, still need a userland utility to calibrate with.
2004-06-12 17:52:41 +00:00
christos
f6a0807a9e make the scroll lines ioctl struct take u_int's again. The wsconsctl
command does not deal with shorts well.
2004-06-07 01:13:40 +00:00
christos
6a5f1d6689 return ENODEV if functions are not compiled in the kernel. 2004-06-03 19:04:58 +00:00
christos
c7d300d20b White space changes only;
1. put value defines under the fields that they refer too, all the time
   not just in some of the ioctls.
2. use #define<tab>value consistently.
2004-06-01 18:58:51 +00:00
christos
f7e75201b3 Re-group scrolling ioctl's and provide new numbers for them! (thanks to
John Heasley for catching that).
2004-06-01 18:49:46 +00:00
christos
b7aff9bc12 fix scrolling code that was not ifdefed. 2004-05-29 02:01:09 +00:00
christos
1143925e65 move scroll function definition last. 2004-05-28 22:38:28 +00:00
christos
7208404c41 PR/19925: David Ferlier: Add scrolling support to wscons. 2004-05-28 21:42:29 +00:00
tsarna
f53a32e6c9 Refactor tpcalib and hpc* ports to make tpcalib MI, as discussed on tech-kern. 2004-05-28 17:52:06 +00:00
pooka
71085f7d18 Add el-cheapo finnish encoding, i.e. make the name "fi" point to
the swedish keymap, which actually gets set.

inspired by wiz
keymap name blessed by Klaus
2004-05-13 15:00:27 +00:00
itojun
db9226c772 use bounded string ops 2004-04-23 21:29:16 +00:00
drochner
ef369e0ed6 remove license clauses 3 and 4 from my cpoyright notices 2004-03-24 17:26:53 +00:00
petrov
42615e3301 Add sun display types. 2004-03-19 09:00:38 +00:00
sekiya
d1ae192917 Add console type for SGI GR2 family. 2004-03-18 08:30:58 +00:00
bjh21
a093883c82 Trailing whitespace cleanup. 2004-02-08 13:49:43 +00:00
sekiya
2b71c666ca Add display type for SGI Newport. 2004-01-24 09:53:54 +00:00
drochner
86048e5a3d always check whether a display is attached before calling
wsdisplay_*() functions
2003-11-28 13:32:55 +00:00
drochner
4d60676c44 -remove a check of errno against -1, this is nonsense since
we have EPASSTHROUGH
-remove a superflous #if NWSMOUSE
2003-11-28 13:19:46 +00:00
simonb
5a696d0850 Fix uninitialised variable introduced with previous change.
Patch from mlelstv.
2003-09-23 09:16:07 +00:00
jdolecek
7cea8a1389 cleanup & uniform descriptor owner handling:
* introduce fsetown(), fgetown(), fownsignal() - this sets/retrieves/signals
  the owner of descriptor, according to appropriate sematics
  of TIOCSPGRP/FIOSETOWN/SIOCSPGRP/TIOCGPGRP/FIOGETOWN/SIOCGPGRP ioctl; use
  these routines instead of custom code where appropriate
* make every place handling TIOCSPGRP/TIOCGPGRP handle also FIOSETOWN/FIOGETOWN
  properly, and remove the translation of FIO[SG]OWN to TIOC[SG]PGRP
  in sys_ioctl() & sys_fcntl()
* also remove the socket-specific hack in sys_ioctl()/sys_fcntl() and
  pass the ioctls down to soo_ioctl() as any other ioctl

change discussed on tech-kern@
2003-09-21 19:16:48 +00:00
manu
9a42b7a993 Do much more sanity checks when handling entries in the sc_scr array
of struct wsdisplay_softc. Unused entries are NULL, and there were
a lot of places where we did not checked that the caller did not
requested an operation on a NULL entry.

While we are there, one bit of KNFification, and make return code more
consistent by always returning the same code (EINVAL) when a screen
number higer than the maximum is requested.
2003-09-21 18:47:59 +00:00
agc
aad01611e7 Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22364, verified by myself.
2003-08-07 16:26:28 +00:00
fvdl
d5aece61d6 Back out the lwp/ktrace changes. They contained a lot of colateral damage,
and need to be examined and discussed more.
2003-06-29 22:28:00 +00:00
darrenr
960df3c8d1 Pass lwp pointers throughtout the kernel, as required, so that the lwpid can
be inserted into ktrace records.  The general change has been to replace
"struct proc *" with "struct lwp *" in various function prototypes, pass
the lwp through and use l_proc to get the process pointer when needed.

Bump the kernel rev up to 1.6V
2003-06-28 14:20:43 +00:00
petrov
78fc8fd68f Add sun keyboards and display. 2003-06-03 06:48:12 +00:00
christos
52be04c4cc PR/17738: Matthias Drochner, PR/21230: Onno van der Linden: vt100 wscons
crashes restoring cursor. Fixed by adding a flag as suggested.
2003-04-19 23:28:46 +00:00
drochner
9ec3975139 allow to customize how highlighting and underlining text is substituted
if the display doesn't provide this
submitted by xs@kittenz.org per PR kern/18004
2003-04-02 18:22:56 +00:00
drochner
f9773705b1 fix crash due to wrong argument in the (almost useless)
DECRQUPSS escape sequence
2003-04-02 17:48:59 +00:00
matt
7109fe9012 Add cn_halt and cn_flush entries to consdevs. (needed for dma-only console
devices).
2003-03-06 00:38:26 +00:00
drochner
05faaa969d stylistic change: put variable declarations to the top of a function 2003-02-11 10:45:28 +00:00
jdolecek
cd6f847ec6 undo constification of 'data' for wsdisplay font - unfortunately we need
to be able to adjust the font to display adapter needs very soon (in consinit()),
so it's not possible to do font copy
2003-02-10 14:28:19 +00:00
jdolecek
998befbc32 make 'name' and 'data' of struct wsdisplay_font const, mark data arrays
in font sources const
2003-02-09 10:29:35 +00:00
thomas
59b8b56225 Define Atari wskeyboard type. 2003-01-31 23:28:30 +00:00
simonb
276fd1665c The Double-Semi-Colon Police. 2003-01-20 05:29:53 +00:00
simonb
e53ee11473 Use u_int variables for some variables that are passed to
functions that expect u_int parameters.
Remove a semi-colon after the trailing brace of a function.
2003-01-20 02:16:55 +00:00
thorpej
c62a74e6d5 Merge the nathanw_sa branch. 2003-01-18 10:32:11 +00:00
sommerfeld
df5660c9f3 Fix build glitch. 2003-01-05 23:23:43 +00:00
sommerfeld
7b74535513 When moving the cursor down, only scroll up if cursor is exactly at
bottom of scroll region; don't scroll if below scroll region.
Should fix kern/11827
2003-01-05 23:20:00 +00:00
takemura
285679b875 Added new ioctl command, WSMOUSEIO_GETID to tell touch panel identifier
for tpctl(8).
2003-01-03 04:36:26 +00:00
thorpej
72a7af27b0 Use aprint_normal() in cfprint routines. 2003-01-01 00:10:15 +00:00
christos
1ee98692bb Don't leak memory on double init, and don't panic on double fini. Emit
a message when diagnostic.
2002-12-26 12:01:42 +00:00
fvdl
e718b57a20 Silence strict-alias warning. 2002-12-10 20:56:30 +00:00
itohy
32c9c7f1cc Add WSKBD_TYPE_MAPLE and WSMOUSE_TYPE_MAPLE for Dreamcast Maple bus devices. 2002-12-10 13:05:09 +00:00
christos
514f7047e4 si_ -> sel_ 2002-11-26 18:49:40 +00:00
fvdl
c858fe312c Add 'U' to 16-bit hex constants to stop gcc 3.3 from complaining. Shouldn't
really be needed, but.. (from scw and thorpej).
2002-11-25 20:49:55 +00:00
martin
8c2d46f972 Add a few symbols. 2002-10-25 21:49:41 +00:00
jdolecek
e0cc03a09b merge kqueue branch into -current
kqueue provides a stateful and efficient event notification framework
currently supported events include socket, file, directory, fifo,
pipe, tty and device changes, and monitoring of processes and signals

kqueue is supported by all writable filesystems in NetBSD tree
(with exception of Coda) and all device drivers supporting poll(2)

based on work done by Jonathan Lemon for FreeBSD
initial NetBSD port done by Luke Mewburn and Jason Thorpe
2002-10-23 09:10:23 +00:00
junyoung
847ebeec25 Add modecookie to struct wsscreen_descr, which is used to point to video
mode specific information.
2002-10-15 17:38:08 +00:00
thorpej
b75a007d9f Add trailing ; to CFATTACH_DECL. 2002-10-02 16:51:16 +00:00
thorpej
90c48d2563 Use CFATTACH_DECL(). 2002-10-01 01:25:25 +00:00
thorpej
bf97c13c6c Declare all cfattach structures const. 2002-09-27 20:41:46 +00:00
provos
0f09ed48a5 remove trailing \n in panic(). approved perry. 2002-09-27 15:35:29 +00:00
reinoud
360e94d0c9 Fix some small unclear documentation and cleanup a bit... 2002-09-25 14:21:07 +00:00
simonb
4e3613273b Remove breaks after returns, unreachable returns and returns after
returns(!).
2002-09-23 05:51:10 +00:00
gehenna
77a6b82b27 Merge the gehenna-devsw branch into the trunk.
This merge changes the device switch tables from static array to
dynamically generated by config(8).

- All device switches is defined as a constant structure in device drivers.

- The new grammer ``device-major'' is introduced to ``files''.

	device-major <prefix> char <num> [block <num>] [<rules>]

- All device major numbers must be listed up in port dependent majors.<arch>
  by using this grammer.

- Added the new naming convention.
  The name of the device switch must be <prefix>_[bc]devsw for auto-generation
  of device switch tables.

- The backward compatibility of loading block/character device
  switch by LKM framework is broken. This is necessary to convert
  from block/character device major to device name in runtime and vice versa.

- The restriction to assign device major by LKM is completely removed.
  We don't need to reserve LKM entries for dynamic loading of device switch.

- In compile time, device major numbers list is packed into the kernel and
  the LKM framework will refer it to assign device major number dynamically.
2002-09-06 13:18:43 +00:00
junyoung
2009b23147 switch/case KNF. 2002-07-09 07:15:21 +00:00
junyoung
c8d459a985 alloc_attr -> allocattr
Approved by Matthias Drochner.
2002-07-04 17:58:02 +00:00
junyoung
3d826105dc alloc_attr -> allocattr
Approved by Matthias Drochner.
2002-07-04 14:37:10 +00:00
itojun
5092dd2653 wsdisplay needs wsevent.c. PR 17456 2002-07-02 12:59:39 +00:00
christos
71dcc987cd PR/17402: Add wsmoused support by providing get/set char and events. 2002-06-26 23:05:33 +00:00
drochner
3db12b1095 Don't detach the mouse from the mux just because the mouse device is
opened. Too annoying and unnecessary.
2002-06-06 09:16:12 +00:00
hannken
94a48c8c9f Remove the cyrillic keysyms. This was not done the right way.
Will come back after 1.6 has branched.

Approved by: Matthias Drochner <drochner@netbsd.org>
2002-04-23 13:42:46 +00:00
hannken
ad4a51c35b Rename WSDISPLAYIO_USEFONT to WSDISPLAYIO_SFONT.
Approved by Matthias Drochner <drochner@netbsd.org>.
2002-04-07 09:25:47 +00:00
uwe
b540b26b5a Sync most Cyrillic names with X11 keysym names. 2002-03-24 05:43:12 +00:00
atatat
31144d9976 Convert ioctl code to use EPASSTHROUGH instead of -1 or ENOTTY for
indicating an unhandled "command".  ERESTART is -1, which can lead to
confusion.  ERESTART has been moved to -3 and EPASSTHROUGH has been
placed at -4.  No ioctl code should now return -1 anywhere.  The
ioctl() system call is now properly restartable.
2002-03-17 19:40:26 +00:00
augustss
75419dae29 Add Cyrillic keysyms. From OpenBSD. 2002-03-17 18:15:00 +00:00
augustss
45e00a035a Don't forget the symbolc names for the keymaps. 2002-03-17 18:12:15 +00:00
augustss
ada83730a8 Add more language map definitions. 2002-03-17 18:00:17 +00:00
takemura
29e873a235 Added wsmux_set_display() to fix the problem that wskbd wan't connected
to any display if keyboard was attached before display and both aren't console.
2002-03-02 08:22:26 +00:00
ad
a66008a0b5 Add WSMOUSE_TYPE_MAXINE. 2002-02-24 02:01:40 +00:00
jandberg
2089bcf9c1 added amiga display/mouse/keyboard defines 2002-01-13 18:05:50 +00:00
tsutsui
c12b5c180d Call malloc(9) with M_ZERO flag instead of memset() after malloc(). 2002-01-12 16:41:02 +00:00
gmcgarry
6dbb6e893b Simply entries added in previous. 2001-12-04 04:30:22 +00:00
gmcgarry
adb908503d Add identifiers for HP devices. 2001-12-02 01:17:51 +00:00
ross
43fe22fed0 Revert previous; the _e003U definition is used elsewhere. 2001-12-02 01:04:26 +00:00
bjh21
15d94a4c59 On a VT100, the "scanline 5" character is also used for box drawing, so
represent it as U+2500 (BOX DRAWINGS LIGHT HORIZONTAL).  This makes NetHack
DECgraphics mode work properly on a wscons console using an IBM-encoded font.
2001-12-01 16:07:58 +00:00
lukem
ecb81c3f6d - convert usage of "defopt" to "defflag" where the relevant option does
not support a value (e.g., it's to be used as "options FOO" instead of
  "options FOO=xxx"). options that take a value were converted to
  defparam recently.
- minor whitespace & formatting cleanups
2001-11-28 10:21:10 +00:00
augustss
b5e0d97bf7 Add some DIAGNOSTIC tests. 2001-11-22 00:57:14 +00:00
augustss
37f2beed3e Close multiplxees BEFORE removing the event variable they are
using (an interrupt at the wrong point caused disaster).
2001-11-22 00:54:23 +00:00
lukem
0fa231134c - replace "defopt" with "defparam" for options which must take a value,
as config(8) will warn for value-less defparam options
- minor whitespace/formatting cleanup
- consolidate opt_tcp_recvspace.h and opt_tcp_sendspace.h into opt_tcp_space.h
2001-11-20 14:34:18 +00:00
augustss
dfbba4149c Injecting events into a mux that is not open is not an error. 2001-11-19 00:37:22 +00:00
lukem
2565646230 don't need <sys/types.h> when including <sys/param.h> 2001-11-15 09:47:59 +00:00
lukem
139747fb15 add/cleanup RCSIDs 2001-11-13 06:17:46 +00:00
martin
cd67a5ce17 Add polish keyboard map, from Dawid Szyma_ski <dawszy@netbsd.lubin.pl>. 2001-11-11 11:48:56 +00:00
augustss
48ea68d3d9 Make wsdisplay_set_console_kbd() a little less twisted. 2001-11-10 17:14:51 +00:00
augustss
4cfba4290a Ad a debug message. (With { } this time.) 2001-11-07 13:36:43 +00:00
enami
58a47f4ae2 Have necessary braces. 2001-11-07 12:57:33 +00:00
augustss
2158da33e3 Improve diagniostic message. 2001-11-07 03:26:06 +00:00
enami
480bb2c9a8 Fix typo in comment. 2001-11-05 08:22:24 +00:00
augustss
d1ff85c9aa Improve debug messages a little. 2001-11-02 13:02:20 +00:00
augustss
246b858752 Inject events in the right place in the buffer. 2001-10-29 01:02:11 +00:00
augustss
87746219bd Put in some tests to see if the input source is NULL before using it.
Suggested by Havard Eidnes <he@netbsd.org>.
2001-10-28 10:30:22 +00:00
augustss
546b6e4434 Cosmetics. 2001-10-27 13:52:57 +00:00
augustss
14fc12f3b4 Cosmetics. 2001-10-27 00:39:29 +00:00