Age | Commit message (Collapse) | Author |
|
|
|
now call the poll backend. With this change we implement greater
poll(2) functionality instead of emulating it via the select backend.
Adapted from NetBSD and including some changes from FreeBSD.
Tested by many, deraadt@ OK
|
|
argument. old cred only calls user suser_ucred. this will allow future
work to more flexibly implement the idea of a root process. looks like
something i saw in freebsd, but a little different.
use of suser_ucred vs suser in file system code should be looked at again,
for the moment semantics remain unchanged.
review and input from art@ testing and further review miod@
|
|
rescinded 22 July 1999. Proofed by myself and Theo.
|
|
|
|
and the user presses a magic key.
ok mickey@
|
|
|
|
|
|
panic on absent wsdiplay on scrollback;
missing breaks.
|
|
|
|
pointed out for the case of del*=0 in pr@2156 by
Juan Vera <juan@coredump.com.ar>.
|
|
Will allow future console keyboard attaches to occur.
|
|
<violent@death.kiev.ua>
|
|
'wsconscfg -k' to be run.
Thanks to James Matthews for the extra keyboard.
aaron@ ok
|
|
kernel. From based on NetBSD patches.
|
|
|
|
|
|
|
|
|
|
group; fixes PR/1787. This mimics the behavior of pccons and pcvt; mickey@ ok
|
|
|
|
pvalchev@; aaron@ ok
|
|
disabled by default, also supports vsync blanking, disabled by default.
aaron@ looked at it a while back and i fixed problems he had indicated.
|
|
|
|
|
|
|
|
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.
|
|
drahn@, snarked at by mickey@ ;)
|
|
machdep.kbdreset sysctl as configured in /etc/sysctl.conf.
|
|
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'.
|
|
|
|
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@).
|
|
- Remove static.
|
|
matter much since they are the same value, but confusing nonetheless.
|
|
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?
|
|
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.
|
|
aaron@
|
|
art@ said it will make his life easier in alpha
rhands@ said it is not used in powerpc for now
bjc@ said that it would make vax port easier
mickey@ said other platforms can use it, and it's faster
|