From: Witold F. <wi...@po...> - 2007-09-18 19:01:29
|
Hi! I modified the iterm library and its fbiterm program. New fbiterm displays 256 colors on the framebuffer. Original iterm-0.5-mbt.tar.gz you could get from: http://republika.pl/rkd/iterm-0.5-mbt.tar.gz The bunch of patches: http://republika.pl/rkd/iterm.tar.bz2 Apply patches in the order shown in the iterm.sh. iterm.sh is included in the tarball. fbiterm uses PCF fonts used by the X Window. Usage: $ fbiterm -a normal_font -b bold_font, eg. $ fbiterm -a /usr/share/fonts/misc/9x18.pcf.gz -b /usr/share/fonts/misc/9x18B.pcf.gz Unfortunately scrolling is slow. It could be faster if the kernel provides ioctl for copyarea. Something like this, drivers/video/fbmem.c (fb_ioctl): struct fb_copyarea copy; case FBIO_COPYAREA: argp = (void __user *)arg; if (copy_from_user(©, argp, sizeof(copy))) return -EINVAL; fb->fb_copyarea(info, ©); return 0; I use kernel 2.6.19, so this snippet may be obsolete. Is it possible to add such ioctl to the kernel? |