freebsd-dev/sys/dev/syscons/teken
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
..
gensequences
Makefile
sequences Properly implement the VT100 SCS sequences in xterm-mode. 2009-01-20 11:34:28 +00:00
teken_demo.c Add Unicode rendering to the teken demo application. 2009-01-21 19:43:10 +00:00
teken_scs.h Add Unicode rendering to the teken demo application. 2009-01-21 19:43:10 +00:00
teken_stress.c
teken_subr_compat.h
teken_subr.h Properly implement the VT100 SCS sequences in xterm-mode. 2009-01-20 11:34:28 +00:00
teken_wcwidth.h
teken.c Make a 1:1 mapping between syscons stats and terminal emulators. 2009-03-10 11:28:54 +00:00
teken.h Make a 1:1 mapping between syscons stats and terminal emulators. 2009-03-10 11:28:54 +00:00