Date: Tue, 10 Mar 2009 11:28:54 +0000 (UTC) From: Ed Schouten <ed@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/dev/syscons scterm-teken.c syscons.c syscons.h src/sys/dev/syscons/teken teken.c teken.h src/sys/pc98/cbus scterm-sck.c Message-ID: <200903101129.n2ABTh04095647@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
ed 2009-03-10 11:28:54 UTC
FreeBSD src repository
Modified files:
sys/dev/syscons scterm-teken.c syscons.c syscons.h
sys/dev/syscons/teken teken.c teken.h
sys/pc98/cbus scterm-sck.c
Log:
SVN rev 189617 on 2009-03-10 11:28:54Z by ed
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)
Revision Changes Path
1.4 +13 -2 src/sys/dev/syscons/scterm-teken.c
1.468 +7 -32 src/sys/dev/syscons/syscons.c
1.93 +2 -2 src/sys/dev/syscons/syscons.h
1.8 +7 -0 src/sys/dev/syscons/teken/teken.c
1.6 +1 -0 src/sys/dev/syscons/teken/teken.h
1.20 +9 -1 src/sys/pc98/cbus/scterm-sck.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200903101129.n2ABTh04095647>
