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
augustss
b609967aa7
Don't enable/disable kbds that belong to a display; they are always enabled.
2001-10-27 00:35:48 +00:00
augustss
48673c604a
Having a display does not preclude the mux from being open.
2001-10-27 00:34:57 +00:00
augustss
49c2ea7a87
Compare against coreect value to determine if we belong to a mux.
2001-10-26 20:48:47 +00:00
augustss
eadca0dfa3
Remove TODO list.
2001-10-26 20:45:05 +00:00
augustss
a5d3f7530d
Small rearrangement and more error checking.
2001-10-26 20:36:27 +00:00
augustss
6d55fe438e
Change a debug message.
2001-10-26 20:35:55 +00:00
augustss
59121d58f5
Change back to have a wseventvar in the softc for event sources. This
...
way the effect of FIOASYNC survives close()/open(). Later versions
of XFree86 relies on this bug/feature.
Also add some more debug stuff.
2001-10-25 14:46:41 +00:00
shin
a9df6b6421
make this compile without WSDISPLAY_COMPAT_RAWKBD.
2001-10-25 13:19:41 +00:00
augustss
9e06709975
Clear wskbd_console_device when console keyboard is detached.
2001-10-24 15:44:50 +00:00
augustss
2f1f0a1702
Major rototilling of the wsmux code. No user visible changes (except that
...
many bugs have been fixed).
Changes:
The wskbd, wsmouse, and wsmux are now "sub-classes" of wsevsrc, which is
a source of ws events. This make the structure of those drivers a little
more uniform.
Many bug fixes involving adding and removing devices from muxes.
When a kernel is configured without wsmux there will now be none (unlike
before where you got a console mux anyway).
The kernel now compiles with all combinations of ws devices present.
2001-10-24 14:07:31 +00:00
jmc
97deb18c10
Wrap ifdef's cleaner so wsmouse_[add|rem]_mux only get pulled in if NWSMUX > 0.
2001-10-21 23:04:57 +00:00
augustss
3527006336
Don't use wsmux_getmux() if we NWSMUX == 0. Fixes PR kern/14252.
...
This is only a stop gap measure until the real wsmux changed get in.
2001-10-15 21:51:33 +00:00
veego
8d71019a14
Fix a pasto in the last revision.
2001-10-14 21:49:00 +00:00
augustss
5da06efad4
Allow for control devices (minor+128) to make it possible to manipulate
...
muxes that are in use.
Create muxes on demand.
2001-10-13 20:03:38 +00:00
augustss
ad74203973
Fix a pasto.
2001-10-13 19:58:35 +00:00
augustss
2efffa7ad7
Fix a (very old) pasto.
2001-10-13 19:56:09 +00:00
augustss
04b1440239
Use memset(), not bzero().
2001-10-13 15:59:01 +00:00
augustss
82e5e6ab85
ANSIfy.
2001-10-13 15:56:15 +00:00
augustss
d701e45c14
Two changes to the wsmux code:
...
* Allow the wsmux used by wsdisplay for the keyboard(s) to be explicitely
specified with the kbdmux locator.
* Allow keyboards and mice that have a mux to be opened in the regular way.
These changes should be totally backwards compatible.
2001-10-13 13:35:59 +00:00
eeh
7fbd726cc8
Stop wscons from conflicting with rcons.
2001-10-05 22:08:28 +00:00
mycroft
5f1dd50365
Add a WSKBD_TYPE_ADB for Macs.
2001-10-02 21:03:05 +00:00
matthias
da7395fac9
wskbd_rawinput: check sc->sc_displaydv before calling wsdisplay_kbdinput.
2001-09-26 15:13:23 +00:00
ad
21787ea4c6
Get/set keyclick volume.
2001-09-18 23:25:25 +00:00
drochner
f2d93c6685
add encoding for ISO-2
2001-09-04 17:57:16 +00:00
jdolecek
57a49a2de0
introduce hard limit on maximum font size (WSDISPLAY_MAXFONTSZ - 512KB)
...
and keymap size (WSKBDIO_MAXMAPLEN - 64KB)
2001-08-05 11:26:52 +00:00
lukem
d84d2c6c85
add missing #include "opt_kgdb.h"
2001-05-30 15:24:23 +00:00
mrg
c13e3a6693
use _KERNEL_OPT
2001-05-30 11:40:35 +00:00
drochner
3df4a7a4a8
do this console device lookup thing the right way this time
...
(This "dev" argument to the console functions is nonsense - nothing
should depend on it.)
2001-05-18 11:49:21 +00:00
lukem
e3134697e1
delint: remove comments from macro args; confuses cpp/lint
2001-05-15 15:06:23 +00:00
scw
2963ff5c58
Add `l_poll' to `struct linesw' and provide an xxxpoll() entry point
...
in each tty driver to indirect through it.
This allows tty line-disciplines to handle poll(2) system calls.
2001-05-02 10:32:08 +00:00
jdolecek
745ab257dc
Put back all header files defining ioctls
2001-04-11 19:07:36 +00:00
tsutsui
42e44c1408
Make Sony's fonts ISO8859-1 compliant.
2001-03-30 13:06:45 +00:00
lukem
b240b7a4e1
#ifdef KGDB, call kgdb_connect(1) if KS_Cmd_Debugger (a la ddb invoking
...
console_debugger() in the same situation).
this makes it easier to get remote kgdb going if you forget to use boot -d.
2001-03-23 04:22:36 +00:00
reinoud
d7858fb571
Add RiscPC (arm32) keyboard. It basicly returns AT scancodes but since it has to
...
use a seperate keyboard driver (pckbdc not available) i cant guarantee that it is
100% compatible with AT scan codes
2001-03-20 15:51:18 +00:00
lukem
3aeb5f2f29
whitespace police
2001-02-24 01:59:46 +00:00
cgd
023e9f0649
C requires that labels be followed by statements.
2001-02-24 00:01:22 +00:00
jdolecek
aceb9e23c9
don't panic if there is ESC in kernel output, just print a warning and
...
ignore the ESC; also remove the #ifdef DIAGNOSTIC
2001-02-21 23:12:58 +00:00
bjh21
3cbd9caea7
Fix an uninitialised variable which could have caused corruption of the user
...
button state (and hence spurious mouse clicks) if the event queue filled
up.
2001-02-13 01:14:45 +00:00
marcus
24f268a691
Added a fontencoding for the Sony fonts.
2001-02-02 05:58:04 +00:00
thorpej
bd8c908512
Add a display type for the Dreamcast PowerVR.
2001-02-01 17:53:12 +00:00
jdolecek
34c8ae80da
constify
2001-01-18 20:28:15 +00:00
takemura
757dca55b7
These ioctl commands should be '_IOW' to set value.
...
WSMOUSEIO_SRES
WSMOUSEIO_SSCALE
WSMOUSEIO_SRATE
2001-01-08 11:20:24 +00:00
enami
25481ad786
Redo previous; we need to notify kbd driver.
2001-01-04 01:33:37 +00:00
enami
62a4aefda9
Avoid null pointer dereference so that boot -d works again.
2001-01-03 23:03:45 +00:00
enami
7eab063a4f
Use device_lookup.
2001-01-03 23:00:24 +00:00
sato
a2fe1adf2a
for calling sc->sc_acessops->pollc,
...
use wsdisplay_cd.cd_devs[unit] in accessing wsdisplay_softc
instead of casting pointer.
XXX: i compiled it in i386, hpcmips, alpha.
2000-12-30 05:38:50 +00:00
mjacob
e5482757b5
Fix at least alpha kernel builds. You can't pun a pointer to a dev_t on
...
alpha. This is also a bad idea. I really don't know the ws code at all
or I would just fix the whole issue.
2000-12-30 02:58:42 +00:00
sato
9785bf0526
notify console polling mode or not to lower level framebuffer driver.
...
notify EMUL mode or not to lower level framebuffer driver.
these may use framebuffer level hardware acceleration/software optimization.
2000-12-30 01:41:51 +00:00
drochner
2d8bb6f643
add some missing definitions for hungarian keymap support
...
(It won't help much since there is no way to get characters not in
iso-1 or the function key set through the vt100/sun/dumb terminal
emulations:-(
2000-12-05 17:53:46 +00:00
ad
7433fb33e8
In wsdisplay_switchtoconsole(), ensure that the switch happens
...
synchronously. Suggested by drochner.
2000-12-04 13:22:17 +00:00
simonb
d76cf8b502
Add multiple include detection - all userland installed headers are now
...
safe.
2000-11-26 06:03:24 +00:00
eeh
507aaec04c
Adapt to the new line discipline scheme.
2000-11-02 00:01:44 +00:00
simonb
25f61791dd
Only install wsconsio.h, wsdisplay_usl_io.h, wsksymdef.h and wsksymvar.h
...
into /usr/include/dev/wscons.
2000-10-20 05:32:47 +00:00