console nightmare (vidcontrol + kbdcontrol + iso-8859-15 + shell)

Hentai Pantsu sugoi.sama at gmail.com
Mon Aug 22 17:10:59 GMT 2005


Hi (i'm running i386 FreeBSD 5.4 release)

I'm having troubles in getting console to work using 8859-15 (or even
8859-1), because i'm portuguese and i need some extra chars, like(i
hope these show up well):
ç Ç º ª â ã á è « » € '

in case anyone doesn't remember:
http://en.wikipedia.org/wiki/ISO_8859-15
http://en.wikipedia.org/wiki/ISO_8859-1

The problem seems to be among the vidcontrol + kbdcontrol +
iso-8859-15 + shell combo

The closest thing i get to iso-8859-15 charset is by doing this:
#########################################################
vidcontrol -f 8x14 /usr/share/syscons/fonts/iso04-vga9-8x14.fnt
vidcontrol -l /usr/share/syscons/scrmaps/iso-8859-4_for_vga9.scm
kbdcontrol -l /usr/share/syscons/keymaps/portuguese.iso.acc.kbd
ttys @ cons25l1 (which means ISO-8859-1 or ISO-8859-15)
(and i even had to edit the portuguese.iso.acc.kbd for chars: º ª)
#########################################################

The "funny" thing is, i get better results using iso-4 than any other,
and this is due IMO to them being vga9.
Still i miss 2 chars: € Ç (i can get ç but not Ç)

And besides all that... i only get these results with zsh and sh...
with csh, tsch, bash it doesn't work (i can't get any chars mentioned above)


Regarding X11(and excluding xterms and other graphical terminals),
i've tunned xorg.conf... BUT i still don't get iso-8859-15 in XFCE
"windows"...
i can get: Ç ç « » £ §
but i don't get: € á â


I've read a bunch of man pages, checked the handbook, searched a
FreeBSD forum.... i'm desperate with this... i've spent a whole
afternoon with this....
What can i do???
Is there any tool to edit the screenmaps or the console fonts? (in
case this is the problem.. but it still won't solve the shell issue)

Thanks in advance for any help.


*me dreams of an unicode console*


More information about the freebsd-questions mailing list