mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Re: [Linux-fbdev-devel] Patch, please TEST: linux-2.4.9 console font modularization
@ 2001-08-19 10:28 Adam J. Richter
  2001-08-19 10:55 ` Geert Uytterhoeven
  0 siblings, 1 reply; 4+ messages in thread
From: Adam J. Richter @ 2001-08-19 10:28 UTC (permalink / raw)
  To: geert; +Cc: linux-fbdev-devel, linux-kernel, mj

>What's wrong with the ancient console ioctl()s to change the font at runtine?
>(damned, I can't remember the name of the command)
[...]
>Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

	I don't know enough about fbdev vs. the old PC VGA console 
to know whether those ioctl's are available for fbdev.

	As far as I'm concerned, loading fonts by user level programs
would be even better than by loading modules, although, I think that,
when trying to move a facility from kernel to userland, people are a
lot more willing to try that change if the kernel-based way is still
available, but normally just compiled as modules that people gradually
stop using.

Adam J. Richter     __     ______________   4880 Stevens Creek Blvd, Suite 104
adam@yggdrasil.com     \ /                  San Jose, California 95129-1034
+1 408 261-6630         | g g d r a s i l   United States of America
fax +1 408 261-6631      "Free Software For The Rest Of Us."

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Linux-fbdev-devel] Patch, please TEST: linux-2.4.9 console font modularization
  2001-08-19 10:28 [Linux-fbdev-devel] Patch, please TEST: linux-2.4.9 console font modularization Adam J. Richter
@ 2001-08-19 10:55 ` Geert Uytterhoeven
  0 siblings, 0 replies; 4+ messages in thread
From: Geert Uytterhoeven @ 2001-08-19 10:55 UTC (permalink / raw)
  To: Adam J. Richter; +Cc: linux-fbdev-devel, linux-kernel, mj

On Sun, 19 Aug 2001, Adam J. Richter wrote:
> >What's wrong with the ancient console ioctl()s to change the font at runtine?
> >(damned, I can't remember the name of the command)
> 
> 	I don't know enough about fbdev vs. the old PC VGA console 
> to know whether those ioctl's are available for fbdev.

Yes, they should work, through the console->con_font_op() call.

> 	As far as I'm concerned, loading fonts by user level programs
> would be even better than by loading modules, although, I think that,
> when trying to move a facility from kernel to userland, people are a
> lot more willing to try that change if the kernel-based way is still
> available, but normally just compiled as modules that people gradually
> stop using.

Yes, and the user-land support is even older than the kernel support, except
for the one builtin font that fbdev requires (on VGA text the font is in the
VGA BIOS ROM).

Gr{oetje,eeting}s,

						Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
							    -- Linus Torvalds


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Linux-fbdev-devel] Patch, please TEST: linux-2.4.9 console font modularization
  2001-08-19  8:56 Adam J. Richter
@ 2001-08-19 14:12 ` James Simmons
  0 siblings, 0 replies; 4+ messages in thread
From: James Simmons @ 2001-08-19 14:12 UTC (permalink / raw)
  To: Adam J. Richter; +Cc: mj, linux-kernel, linux-fbdev-devel


See Geerts email about the proper solution. The only reason we have font
images in the kernel is because fbdev devices usually don't have hardware
fonts. Otherwise we wouldn't have them here. Personally I like to seem
them __initdata so they go away after boot time.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Linux-fbdev-devel] Patch, please TEST: linux-2.4.9 console font modularization
       [not found] <Pine.LNX.4.05.10108191147400.16179-100000@callisto.of.borg>
@ 2001-08-19 14:08 ` James Simmons
  0 siblings, 0 replies; 4+ messages in thread
From: James Simmons @ 2001-08-19 14:08 UTC (permalink / raw)
  To: Geert Uytterhoeven; +Cc: Adam J. Richter, mj, linux-kernel, linux-fbdev-devel


> What's wrong with the ancient console ioctl()s to change the font at runtine?
> (damned, I can't remember the name of the command)

Their is a bunch of them but the one mosted used is KD_FONT_OP_*. Look at
linux/kd.h for more details. The nice bonus about this is that it is
driver independent.  


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2001-08-19 14:12 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-08-19 10:28 [Linux-fbdev-devel] Patch, please TEST: linux-2.4.9 console font modularization Adam J. Richter
2001-08-19 10:55 ` Geert Uytterhoeven
     [not found] <Pine.LNX.4.05.10108191147400.16179-100000@callisto.of.borg>
2001-08-19 14:08 ` James Simmons
  -- strict thread matches above, loose matches on Subject: below --
2001-08-19  8:56 Adam J. Richter
2001-08-19 14:12 ` [Linux-fbdev-devel] " James Simmons

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®