aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/syscons
Commit message (Collapse)AuthorAgeFilesLines
* Added necessary include for pc98.Yoshihiro Takahashi2001-01-251-0/+1
| | | | Notes: svn path=/head/; revision=71619
* Added PC-98 apm support.Yoshihiro Takahashi2001-01-221-0/+4
| | | | | | | Submitted by: MURAMATSU Atsushi <amura@ma3.seikyou.ne.jp> Notes: svn path=/head/; revision=71370
* Convert apm from a bogus 'count' into a plain option. Clean out somePeter Wemm2001-01-191-2/+2
| | | | | | | other cruft from the files.alpha and files.ia64 that were related to this. Notes: svn path=/head/; revision=71262
* select() DKI is now in <sys/selinfo.h>.Garrett Wollman2001-01-091-1/+1
| | | | Notes: svn path=/head/; revision=70834
* Convert more malloc+bzero to malloc+M_ZERO.David Malone2000-12-081-2/+1
| | | | | | | | Submitted by: josh@zipperup.org Submitted by: Robert Drehmel <robd@gmx.net> Notes: svn path=/head/; revision=69781
* Don't needlessly indirect the APM softstate. It does nothing butNick Sayer2000-10-311-6/+2
| | | | | | | obfuscate the code. Notes: svn path=/head/; revision=68103
* Move suser() and suser_xxx() prototypes and a related #define fromPoul-Henning Kamp2000-10-291-1/+0
| | | | | | | | | | | | <sys/proc.h> to <sys/systm.h>. Correctly document the #includes needed in the manpage. Add one now needed #include of <sys/systm.h>. Remove the consequent 48 unused #includes of <sys/proc.h>. Notes: svn path=/head/; revision=67893
* Initiate deorbit burn sequence for <machine/mouse.h>.Poul-Henning Kamp2000-10-092-4/+2
| | | | | | | | | | | | | Replace all in-tree uses with <sys/mouse.h> which repo-copied a few moments ago from src/sys/i386/include/mouse.h by peter. This is also the appropriate fix for exo-tree sources. Put warnings in <machine/mouse.h> to discourage use. November 15th 2000 the warnings will be converted to errors. January 15th 2001 the <machine/mouse.h> files will be removed. Notes: svn path=/head/; revision=66860
* A couple of negative options was not commented out in NOTES/LINT. ThisPoul-Henning Kamp2000-10-091-0/+2
| | | | | | | obscured a #include bug in syscons. Notes: svn path=/head/; revision=66859
* Initiate deorbit burn sequence for <machine/console.h>.Poul-Henning Kamp2000-10-089-10/+15
| | | | | | | | | | | | Replace all in-tree uses with necessary subset of <sys/{fb,kb,cons}io.h>. This is also the appropriate fix for exo-tree sources. Put warnings in <machine/console.h> to discourage use. November 15th 2000 the warnings will be converted to errors. January 15th 2001 the <machine/console.h> files will be removed. Notes: svn path=/head/; revision=66834
* Add the ability to define a "shutdown" and "shutdown and poweroff" keyDavid Malone2000-09-111-0/+12
| | | | | | | | | | | to syscons. I have a man page to follow describing the format of the kbdmap file. PR: 19273 Reviewed by: sheldonh Notes: svn path=/head/; revision=65759
* Harvest mouse events for the entropy device in a better place. In theMark Murray2000-09-102-3/+4
| | | | | | | | | new location, all mouse events are harvested, not just the ones being written out to moused(8). This means that mouse entropy is harvested at the consoles as well as in X. Notes: svn path=/head/; revision=65690
* Make it possible to pass boot()'s flags to shutdown_nice() so that theMike Smith2000-08-311-1/+1
| | | | | | | | | kernel can instigate an orderly shutdown but still determine the form of that shutdown. Make it possible eg. to cleanly shutdown and power off the system under ACPI when the power button is pressed. Notes: svn path=/head/; revision=65268
* * Completely rewrite the alpha busspace to hide the implementation fromDoug Rabson2000-08-283-0/+3
| | | | | | | | | | | | | | | the drivers. * Remove legacy inx/outx support from chipset and replace with macros which call busspace. * Rework pci config accesses to route through the pcib device instead of calling a MD function directly. With these changes it is possible to cleanly support machines which have more than one independantly numbered PCI busses. As a bonus, the new busspace implementation should be measurably faster than the old one. Notes: svn path=/head/; revision=65176
* Fix ioctl MOUSE_SETMODE as defined in mouse(4).Kazutaka YOKOTA2000-08-271-2/+5
| | | | | | | | (Do not return EINVAL when -1 is specified as a new value, as it should mean "preserve the current value.") Notes: svn path=/head/; revision=65129
* o Fix a horrible bug where small reads (< 8 bytes) would return theMark Murray2000-07-252-6/+2
| | | | | | | | | | | wrong bytes. o Improve the public interface; use void* instead of char* or u_int64_t to pass arbitrary data around. Submitted by: kris ("horrible bug") Notes: svn path=/head/; revision=63855
* Make Reset (ESC c) reset attributes too, not only clear screenAndrey A. Chernov2000-07-211-1/+6
| | | | Notes: svn path=/head/; revision=63722
* Implement SGR 22,24,25,27 from ECMA-48Andrey A. Chernov2000-07-201-0/+16
| | | | Notes: svn path=/head/; revision=63681
* Accorfing to ECMA-48 SGR 39 and 49 are just another colors and must not resetAndrey A. Chernov2000-07-201-2/+2
| | | | | | | other attrs, so reset only bold on 39 Notes: svn path=/head/; revision=63649
* Don't break the ability to debug the kernel when gathering entropy.Mark Murray2000-07-161-1/+2
| | | | | | | Pointed out by: bde Notes: svn path=/head/; revision=63264
* Shorten 49m attr resetting expressionAndrey A. Chernov2000-07-151-2/+1
| | | | Notes: svn path=/head/; revision=63221
* Reset corresponding color attributes on 39m and 49mAndrey A. Chernov2000-07-151-16/+17
| | | | | | | Unify comments related to color Notes: svn path=/head/; revision=63219
* Add entropy-harvesting calls.Mark Murray2000-07-092-0/+10
| | | | | | | /dev/random now has new-and-improved entropy! Notes: svn path=/head/; revision=62842
* Remove old entropy-harvesting hooks; this is going to be re-engineeredMark Murray2000-06-251-7/+0
| | | | | | | later. Notes: svn path=/head/; revision=62069
* Remove unneeded header.Mark Murray2000-06-253-3/+0
| | | | Notes: svn path=/head/; revision=62065
* Argh. This is what I get for trying to do too many things at once.Peter Wemm2000-06-101-0/+1
| | | | | | | Revert last commit. sc.h/NSC is used. Notes: svn path=/head/; revision=61481
* Unused include: #include "sc.h"Peter Wemm2000-06-101-1/+0
| | | | Notes: svn path=/head/; revision=61472
* Cosmetique: fix comments - don't use 'ansi' word for non-ansi (adapter) colorsAndrey A. Chernov2000-06-061-7/+7
| | | | Notes: svn path=/head/; revision=61311
* Implement ANSI E[39m and E[49m to set fg and bg to initial (not to default!)Andrey A. Chernov2000-06-051-0/+10
| | | | | | | | values. E[x is bad because set them to default values and should be used only in reset sequence. Notes: svn path=/head/; revision=61297
* Fix the TAB not cause scrolling when entered at the end of the last line.Andrey A. Chernov2000-05-291-3/+8
| | | | | | | | | | | It may cause misterious chars appearse in the middle of the scrolled lines. The bug trigger: enter grep P_32 /usr/include/*.h command and see misterious "db.\" filename. Notes: svn path=/head/; revision=61072
* Back out the previous change to the queue(3) interface.Jake Burkholder2000-05-263-4/+4
| | | | | | | | | It was not discussed and should probably not happen. Requested by: msmith and others Notes: svn path=/head/; revision=60938
* Change the way that the queue(3) structures are declared; don't assume thatJake Burkholder2000-05-233-4/+4
| | | | | | | | | | | the type argument to *_HEAD and *_ENTRY is a struct. Suggested by: phk Reviewed by: phk Approved by: mdodd Notes: svn path=/head/; revision=60833
* Added PC-98 supports.Yoshihiro Takahashi2000-05-083-0/+18
| | | | | | | Obtained from: FreeBSD(98) 4.0R-Rev01 Notes: svn path=/head/; revision=60201
* Add $FreeBSD$Peter Wemm2000-05-011-0/+2
| | | | Notes: svn path=/head/; revision=59874
* Back out t_timeout initializing, now in ttyregisterAndrey A. Chernov2000-05-011-1/+0
| | | | Notes: svn path=/head/; revision=59823
* Initialize t_timeout to -1 for console to set its default value once in ttyopenAndrey A. Chernov2000-05-011-0/+1
| | | | Notes: svn path=/head/; revision=59817
* Remove unneeded #include <sys/kernel.h>Poul-Henning Kamp2000-04-291-1/+0
| | | | Notes: svn path=/head/; revision=59760
* Supported EGC 640x400, PEGC 640x400 and PEGC 640x480 graphics modes.Yoshihiro Takahashi2000-04-271-0/+5
| | | | | | | | Submitted by: Chiharu Shibata <chi@bd.mbn.or.jp> and Tomokazu HARADA <tkhara@osk4.3web.ne.jp> Notes: svn path=/head/; revision=59689
* More machdep/random.h -> sys/random.h fixes.Boris Popov2000-04-253-6/+3
| | | | Notes: svn path=/head/; revision=59617
* * Use sys/sys/random.h rather than a i386 specific one.David E. O'Brien2000-04-241-1/+1
| | | | | | | | * There was nothing that should be machine dependant about i386/isa/random_machdep.c, so it is now sys/kern/kern_random.c. Notes: svn path=/head/; revision=59604
* Unbreak LINT.Kazutaka YOKOTA2000-04-032-1/+5
| | | | Notes: svn path=/head/; revision=58965
* - Fix SC_ALT_MOUSE_IMAGE; don't blink the mouse cursor.Kazutaka YOKOTA2000-03-316-138/+229
| | | | | | | - Fix non-destructive, underline text cursor. Notes: svn path=/head/; revision=58872
* White-space-only change. The file originally had screwed indentation.Kazutaka YOKOTA2000-03-201-348/+361
| | | | Notes: svn path=/head/; revision=58330
* - Fix bugs when painting border and the mouse cursor in the rasterKazutaka YOKOTA2000-03-182-48/+60
| | | | | | | text mode. Notes: svn path=/head/; revision=58232
* - Don't reset text colors when changing the video mode.Kazutaka YOKOTA2000-02-111-0/+2
| | | | | | | Approved by: jkh Notes: svn path=/head/; revision=57130
* - Fix text cursor logic so that multiple instances of the "normal" cursorKazutaka YOKOTA2000-02-112-5/+7
| | | | | | | | | | won't appear on the screen, and "blinking" and "destructive" cursor won't appear in the vty for which the text cursor is currently hidden. Approved by: jkh Notes: svn path=/head/; revision=57129
* Use config's conditional compilation rather than using #ifdefs that makePeter Wemm2000-01-2912-65/+2
| | | | | | | | modular compilation harder. I'm doing this because people seem to like cut/pasting examples of bad practices in existing code. Notes: svn path=/head/; revision=56836
* Fix a bug exposed by the previous commit. Do not use scp->font_size,Kazutaka YOKOTA2000-01-241-2/+5
| | | | | | | | | if the screen is in a graphics mode Reported by: Maxim Sobolev <sobomax@altavista.net> Notes: svn path=/head/; revision=56528
* Unconditionally define sc_paste().Kazutaka YOKOTA2000-01-202-4/+0
| | | | Notes: svn path=/head/; revision=56329
* Fix wrong usage of FONT_NONE. It was not meant to be set inKazutaka YOKOTA2000-01-204-5/+4
| | | | | | | | | | scp->font_size in the first place. It is redundant now and is removed. Found by: bde Notes: svn path=/head/; revision=56328