aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/syscons
Commit message (Collapse)AuthorAgeFilesLines
* MFC: when loading a font allow size of the font be omitted, in which caseMaxim Sobolev2002-04-081-0/+1
| | | | | | | | | size of the current font used instead. For this reason extend CONS_GETINFO ioctl to provide information about size of the currently displayed font. Notes: svn path=/stable/4/; revision=94219
* MFC: v1.351:Jeroen Ruigrok van der Werven2001-11-151-0/+1
| | | | | | | | | | | Fix mouse cursor bug, blinking and eating all CPU while near text cursor. PR: 25536 Submitted by: David Xu <davidx@viasoft.com.cn> Notes: svn path=/stable/4/; revision=86412
* This commit was manufactured by cvs2svn to create branch 'RELENG_4'.cvs2svn2001-11-011-0/+329
| | | | Notes: svn path=/stable/4/; revision=85811
* MFC 1.369: fix grammar nit.Dima Dorfman2001-10-011-1/+1
| | | | Notes: svn path=/stable/4/; revision=84286
* MFC: Add the resume method to keyboard drivers. Remove itKazutaka YOKOTA2001-08-012-13/+0
| | | | | | | | | | from syscons. atkbd_isa.c rev 1.9, ukbd.c rev 1.31, syscons.h rev 1.69, syscons.c rev 1.364, syscons_isa.c rev 1.17. Notes: svn path=/stable/4/; revision=80892
* MFC: fix off-by-one error. rev 1.368.Kazutaka YOKOTA2001-07-301-5/+5
| | | | Notes: svn path=/stable/4/; revision=80659
* MFC: clean up in vt switching code. rev 1.367.Kazutaka YOKOTA2001-07-301-64/+58
| | | | Notes: svn path=/stable/4/; revision=80658
* MFC:Kazutaka YOKOTA2001-07-285-37/+50
| | | | | | | | | | | | syscons.c rev 1.365, 1.366 syscons.h rev 1.70 scmouse.c rev 1.25 scvgarndr.c rev 1.11 sctermvar.h rev 1.3 consio.h rev 1.10 Notes: svn path=/stable/4/; revision=80498
* MFC: CONS_CLRHISTDima Dorfman2001-07-191-0/+6
| | | | Notes: svn path=/stable/4/; revision=79929
* MFC:Kazutaka YOKOTA2001-07-165-6/+15
| | | | | | | | | | | | | | | | | | | - syscons.c rev 1.361 Test "sc->kbd != NULL" rather than "sc != NULL" before accessing the keyboard in scopen(). - syscons.c rev 1.363 If we are in DDB, don't switch to a vty in the VT_PROCESS mode. - syscons.h rev 1.68, scvtb.c rev 1.8 Don't free buffers we didn't allocate. - scmouse.c rev 1.24 Quit the ioctl MOUSE_GETINFO as soon as we have gathered necessary information. There is no need to stick around any longer. Notes: svn path=/stable/4/; revision=79780
* MFC 1.360: check for SC_DEV evaluating to NULL in VIRTUAL_TTY.Dima Dorfman2001-06-121-1/+2
| | | | Notes: svn path=/stable/4/; revision=78125
* MFC:Poul-Henning Kamp2001-06-112-2/+3
| | | | | | | Make the beep duration independent of HZ. Notes: svn path=/stable/4/; revision=78052
* MFC: 1.358, add the CONS_SCRSHOT ioctl.Nik Clayton2001-05-261-0/+18
| | | | Notes: svn path=/stable/4/; revision=77225
* MFC: rev 1.14: whitespace fix.John Baldwin2001-03-191-5/+5
| | | | Notes: svn path=/stable/4/; revision=74488
* MFC: Workaround broken colors on the alpha.John Baldwin2001-03-061-0/+12
| | | | | | | Requested by: gallatin Notes: svn path=/stable/4/; revision=73808
* MFC: Add the ability to define halt and powerdown keys for sysconf.David Malone2000-10-291-1/+13
| | | | Notes: svn path=/stable/4/; revision=67900
* MFC: Fix ioctl MOUSE_SETMODE as defined in mouse(4). (1.5)Kazutaka YOKOTA2000-08-271-2/+5
| | | | Notes: svn path=/stable/4/; revision=65130
* MFC: reset fix and SGR 22,24,25,27Andrey A. Chernov2000-07-271-1/+22
| | | | Notes: svn path=/stable/4/; revision=63920
* MFC: reset only bold on SGR 39Andrey A. Chernov2000-07-201-2/+2
| | | | Notes: svn path=/stable/4/; revision=63650
* MFC: shorten 49m attrs resetting exprAndrey A. Chernov2000-07-151-2/+1
| | | | Notes: svn path=/stable/4/; revision=63222
* MFC: reset attrs on 39/49m, unify commentsAndrey A. Chernov2000-07-151-16/+17
| | | | Notes: svn path=/stable/4/; revision=63220
* MFC: cosmetique, fix comments about 'ansi' colorsAndrey A. Chernov2000-06-061-7/+7
| | | | Notes: svn path=/stable/4/; revision=61312
* MFC: implement E[39m and E[49mAndrey A. Chernov2000-06-051-0/+10
| | | | Notes: svn path=/stable/4/; revision=61298
* MFC: last line TAB not cause scrollingAndrey A. Chernov2000-05-291-3/+8
| | | | Notes: svn path=/stable/4/; revision=61073
* MFC: Use a MI /dev/[u]random device.David E. O'Brien2000-05-101-1/+1
| | | | | | | Use sys/random.h rather than i386 specific one. Notes: svn path=/stable/4/; revision=60307
* MFC: Supported EGC 640x400, PEGC 640x400 and PEGC 640x480 graphics modes.Yoshihiro Takahashi2000-05-051-0/+5
| | | | Notes: svn path=/stable/4/; revision=60039
* MFC:Kazutaka YOKOTA2000-04-035-116/+165
| | | | | | | | | | | | | - Fix SC_ALT_MOUSE_IMAGE; don't blink the mouse cursor. - Fix non-destructive, underline text cursor. - Unbreak LINT. They correspond to: syscons_isa.c 1.12, scmouse.c 1.13, scvgarndr.c 1.7, scvidctl.c 1.20, syscons.c 1.337, 1.338, syscons.h 1.61, 1.62. Notes: svn path=/stable/4/; revision=58974
* MFC: White-space-only change. The file originally had screwed indentation.Kazutaka YOKOTA2000-03-201-382/+395
| | | | | | | (rev 1.5). Notes: svn path=/stable/4/; revision=58376
* MFC: Fix bugs when painting border and the mouse cursor in the rasterKazutaka YOKOTA2000-03-201-24/+30
| | | | | | | text mode (rev 1.6). Notes: svn path=/stable/4/; revision=58375
* This commit was manufactured by cvs2svn to create branch 'RELENG_4'.cvs2svn2000-03-1313-2749/+0
| | | | Notes: svn path=/stable/4/; revision=57955
* - 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
* This is the 3rd stage of syscons code reorganization.Kazutaka YOKOTA2000-01-1516-1247/+2352
| | | | | | | | | | | | | | | | | | - Split terminal emulation code from the main part of the driver so that we can have alternative terminal emulator modules if we like in the future. (We are not quite there yet, though.) - Put sysmouse related code in a separate file, thus, simplifying the main part of the driver. As some files are added to the source tree, you need to run config(8) before you compile a new kernel next time. You shouldn't see any functional change by this commit; this is only internal code reorganization. Notes: svn path=/head/; revision=56043
* Make the mouse cursor char code configurable via the CONS_MOUSECTLKazutaka YOKOTA2000-01-124-18/+38
| | | | | | | | | ioctl. By popular demand. Notes: svn path=/head/; revision=55849
* Add a new mechanism, cndbctl(), to tell the console driver thatKazutaka YOKOTA2000-01-111-27/+28
| | | | | | | | | | | | | | | | | | | | | | | | ddb is entered. Don't refer to `in_Debugger' to see if we are in the debugger. (The variable used to be static in Debugger() and wasn't updated if ddb is entered via traps and panic anyway.) - Don't refer to `in_Debugger'. - Add `db_active' to i386/i386/db_interface.d (as in alpha/alpha/db_interface.c). - Remove cnpollc() stub from ddb/db_input.c. - Add the dbctl function to syscons, pcvt, and sio. (The function for pcvt and sio is noop at the moment.) Jointly developed by: bde and me (The final version was tweaked by me and not reviewed by bde. Thus, if there is any error in this commit, that is entirely of mine, not his.) Some changes were obtained from: NetBSD Notes: svn path=/head/; revision=55823
* - Remember the keyboard repeat delay and rate.Kazutaka YOKOTA1999-12-131-0/+1
| | | | | | | | - Add a new ioctl, KDGETREPEAT, to retrieve the keyboard repeat rate. - Delete unnecessary #include. Notes: svn path=/head/; revision=54543
* Fix memory leak.Kazutaka YOKOTA1999-12-101-0/+1
| | | | | | | | PR: kern/15363 Submitted by: Oliver Fromme Notes: svn path=/head/; revision=54387
* Add "panic key" function to syscons. When this key is defined in aKazutaka YOKOTA1999-12-101-0/+10
| | | | | | | | | | | | | | | | | | | | | keymap and pressed, the system panic will be forced. This feature must be specifically enabled by a new sysctl variable: machdep.enable_panic_key. Its default value is 0. The panic key won't do anything unless this variable is set to non-zero. To use the panic key, add a keyword 'panic' to a key in your keymap file. The following example assigns the panic function to SysReq (Alt-PrintScreen) key (keycode 84). 083 del '.' '.' '.' '.' '.' boot boot N 084 panic nop nop nop panic nop nop nop O 085 nop nop nop nop nop nop nop nop O PR: kern/13721 Notes: svn path=/head/; revision=54381
* Fix mouse cursor logic which I broke in 1.1 ;-<Kazutaka YOKOTA1999-12-061-26/+30
| | | | | | | Reported by: Christian Weisgerber <naddy@unix-ag.uni-kl.de> Notes: svn path=/head/; revision=54182
* Fix cursor position calculation.Kazutaka YOKOTA1999-12-051-1/+2
| | | | | | | Submitted by: Cejka Rudolf <cejkar@dcse.fee.vutbr.cz> Notes: svn path=/head/; revision=54144
* - Fail VT switching when the controlling program, such as theKazutaka YOKOTA1999-11-281-4/+4
| | | | | | | | | X server, is not responding to the VT switching protocol. (This part of the code has been somewhat wrong in -CURRENT, but -STABLE has the correct code...) Notes: svn path=/head/; revision=53816
* Correctly record the mouse position in the current VTY.Kazutaka YOKOTA1999-11-091-23/+22
| | | | Notes: svn path=/head/; revision=53057
* - Added a new kernel configuration option: SC_TWOBUTTON_MOUSE.Kazutaka YOKOTA1999-11-081-2/+10
| | | | | | | | | | The new option will make the right mouse button the `paste' button. Useful for two button mice. Submitted by: morganw@engr.sc.edu (Wes Morgan) Notes: svn path=/head/; revision=53011
* - Removed SC_VIDEO_DEBUG. It is broken and useless now.Kazutaka YOKOTA1999-11-081-22/+0
| | | | Notes: svn path=/head/; revision=53008
* Change isspace() macro name to avoid conflict.Archie Cobbs1999-11-021-10/+10
| | | | Notes: svn path=/head/; revision=52813
* - Remove cdevsw_add().Kazutaka YOKOTA1999-10-061-7/+0
| | | | Notes: svn path=/head/; revision=51966