freebsd-dev/sys/dev/syscons
Ed Schouten 630b9bf23f Make a 1:1 mapping between syscons stats and terminal emulators.
After I imported libteken into the source tree, I noticed syscons didn't
store the cursor position inside the terminal emulator, but inside the
virtual terminal stat. This is not very useful, because when you
implement more complex forms of line wrapping, you need to keep track of
more state than just the cursor position.

Because the kernel messages didn't share the same terminal emulator as
ttyv0, this caused a lot of strange things, like kernel messages being
misplaced and a missing notification to resize the terminal emulator for
kernel messages never to be resized when using vidcontrol.

This patch just removes kernel_console_ts and adds a special parameter
to te_puts to determine whether messages should be printed using regular
colors or the ones for kernel messages.

Reported by:	ache
Tested by:	nyan, garga (older version)
2009-03-10 11:28:54 +00:00
..
apm APM was calling the suspend process from a timeout. This meant that 2006-05-25 23:06:38 +00:00
blank Replace explicit calls to video methods with their respective variants 2007-12-29 23:26:59 +00:00
daemon Commit step 1 of the vimage project, (network stack) 2008-08-17 23:27:27 +00:00
dragon Replace explicit calls to video methods with their respective variants 2007-12-29 23:26:59 +00:00
fade Replace explicit calls to video methods with their respective variants 2007-12-29 23:26:59 +00:00
fire Replace explicit calls to video methods with their respective variants 2007-12-29 23:26:59 +00:00
green Replace explicit calls to video methods with their respective variants 2007-12-29 23:26:59 +00:00
logo Replace explicit calls to video methods with their respective variants 2007-12-29 23:26:59 +00:00
rain Replace explicit calls to video methods with their respective variants 2007-12-29 23:26:59 +00:00
snake Replace explicit calls to video methods with their respective variants 2007-12-29 23:26:59 +00:00
star Replace explicit calls to video methods with their respective variants 2007-12-29 23:26:59 +00:00
teken Make a 1:1 mapping between syscons stats and terminal emulators. 2009-03-10 11:28:54 +00:00
warp Replace explicit calls to video methods with their respective variants 2007-12-29 23:26:59 +00:00
scgfbrndr.c Replace explicit calls to video methods with their respective variants 2007-12-29 23:26:59 +00:00
schistory.c Integrate the new MPSAFE TTY layer to the FreeBSD operating system. 2008-08-20 08:31:58 +00:00
scmouse.c Integrate the new MPSAFE TTY layer to the FreeBSD operating system. 2008-08-20 08:31:58 +00:00
scterm-teken.c Make a 1:1 mapping between syscons stats and terminal emulators. 2009-03-10 11:28:54 +00:00
scterm.c Replace syscons terminal renderer by a new renderer that uses libteken. 2009-01-01 13:26:53 +00:00
scvesactl.c Integrate the new MPSAFE TTY layer to the FreeBSD operating system. 2008-08-20 08:31:58 +00:00
scvgarndr.c Replace explicit calls to video methods with their respective variants 2007-12-29 23:26:59 +00:00
scvidctl.c Integrate the new MPSAFE TTY layer to the FreeBSD operating system. 2008-08-20 08:31:58 +00:00
scvtb.c
syscons.c Make a 1:1 mapping between syscons stats and terminal emulators. 2009-03-10 11:28:54 +00:00
syscons.h Make a 1:1 mapping between syscons stats and terminal emulators. 2009-03-10 11:28:54 +00:00
sysmouse.c Reduce the default baud rate of PTY's to 9600. 2008-11-08 20:40:39 +00:00