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