[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Mach console



On Thu, Jul 27, 2000 at 12:59:39PM +0200, Juli-Manel Merino Vidal wrote:
> > in userspace terminal emulator
> > 
> > C code (this is implementation-independent description, not how to patch Mach) =
> > 
> > a) add unsigned char atribute; to struct terminal
> > b) change it when you get \e[ * m escape sequences
> > c) modify output_char from 
> >   terminal->vga_text_framebuffer [position] = terminal->character;
> >   to 
> >   { 
> >     terminal->vga_text_framebuffer [position] = character;
> >     terminal->vga_text_framebuffer [position + 1] = terminal->attribute;
> >   }
> > 
> > easy, isn't it ?
> 
> yeah, it seems easy, but why nobody has already done this ?
> I would try it when I can get all the cvs sources.

I have implemented color and other attributes  for the GNU Mach console,
so if people are really dying to see colors on the Hurd, I am willing
to make the patch available. I could even include it in the Debian binary.

However, it is definitely not the right thing to do, so don't spend any
time on it. Instead, people should focus on colortext by Kalle, which
has color support and much more, and is a user space server, and the way
to go.

Thanks,
Marcus



Reply to: