Re: svn commit: r187374 - head/sys/dev/syscons/teken

2009-01-18 Thread Ed Schouten
Hello Garrett, * Garrett Cooper wrote: > Dumb question: > > Why are C function definitions in a .h file? I know it's legal, but at > least from what I've been coached on in the past, it isn't necessarily > the most kosher way of solving the issue. > > Macros are a different point. The reason w

Re: svn commit: r187374 - head/sys/dev/syscons/teken

2009-01-18 Thread Christoph Mallon
Garrett Cooper schrieb: On Sat, Jan 17, 2009 at 3:01 PM, Ed Schouten wrote: [...] Modified: head/sys/dev/syscons/teken/teken_subr_compat.h Modified: head/sys/dev/syscons/teken/teken_subr_compat.h == --- head/sys/dev

Re: svn commit: r187374 - head/sys/dev/syscons/teken

2009-01-18 Thread Garrett Cooper
On Sat, Jan 17, 2009 at 3:01 PM, Ed Schouten wrote: [...] > Modified: > head/sys/dev/syscons/teken/teken_subr_compat.h > > Modified: head/sys/dev/syscons/teken/teken_subr_compat.h > == > --- head/sys/dev/syscons/teken/t

svn commit: r187374 - head/sys/dev/syscons/teken

2009-01-17 Thread Ed Schouten
Author: ed Date: Sat Jan 17 23:01:40 2009 New Revision: 187374 URL: http://svn.freebsd.org/changeset/base/187374 Log: Fix for my previous commit: color mapping is not 1:1. Cons25 doesn't seem to use a straight 1:1 mapping to the ANSI colors, but uses the same color numbers as at least use