Tiny Core Base > Micro Core
how to set language to latin1 in micro core
flahaie:
Hi everyone,
I use micro core v 3.8 and tn5250 to connect to an as400.
most of the forms on the 400 are in french but under micro core these characters are displayed as squares.
more over, when i try tn5250 on the same 400 but on tiny core with GUI the french characters are displayed properly.
I also have tried the same program under other distribution (ubuntu, debian) and it works properly.
I went through the documentation of tn5250 and it's written that most of the maps (we are using map 37) are converted to latin1.
so I want to know how can I change the language of the console of microcore to latin 1.
please help me.
thanks,
floppy:
Hello,
since I dont see any response here (and I dont 100% understand the issue), perhaps you could use Xorg?
Just an idea..
flahaie:
Since the application is only a terminal, I don't really want to put xorg. I don't want to use mice in the (dirty) plant.
the operators are having enough difficulty with a keyboard, I don't want to add a mouse.
unless there's a way using xorg without a mouse?
more over I got little machines that only have 128 mb ram wt 200mhz cpu
and others with 512mb ram and 1ghz cpu
one last thing these are i586 not i686 cpu compatible
the cmov instruction is not supported if an application is compiled with cmov it crashes
thanks
gerald_clark:
I run TC on boxes with only a 486 class processor and 128M of RAM.
Check the wiki choosing the correct language.
maro:
First up I have to state that I'm putting my toes here into a territory that I might not really understand, as for me the simple (7-bit) ASCII character set is sufficient. So I'm lacking any prior knowledge.
Having said that I wanted to see for myself what the difference in the character set between the console (which flahaie needs to get fixed) and a 'xterm' might be. For that purpose I created a little 'awk' script (also as an exercise in unfamiliar territory):
--- Code: (bash) ---#!/bin/sh
# show printable characters: 0x20 to 0xFF
echo | awk ' {
H = ""
for (j = 0; j <= 15; j++) {
H=H sprintf(" %02X ", j)
}
printf("\n\t%s\n", H)
S = ""
for (i = 32; i <= 256; i++) {
if (length(S) == 0) {
S=sprintf("0x%02X\t", (i / 16 ) * 16)
}
S=S sprintf(" %c ", i)
if ((i % 16) == 15) {
printf("%s\n", S)
S = ""
}
}
}'
--- End code ---
When run in 'xterm' it showed for the range 0xA0 - 0xFF all sorts of characters and comparing it with this wikipedia page I concluded that it represents the 'latin-1' (AKA: IEC 8859-1) character set.
OTOH when run in a console window the entire range 0x80 - 0xFF showed up as solid little rectangles, and I guess this is what constitutes the reported problem. BTW, using the same little script in the console of a Arch Linux systems also shows the 'latin-1' characters, so indeed there might be something amiss in TC.
EDIT: I should have also mentioned that I'm now aware that (at least in theory) it should be possible to change the console font via
'loadfont < /path/to/consolefont.psf'
but so far I had no luck with my limited attempts using some files from the most recent sources I could find (i.e. 'kbd-1.15.3.tar.bz2').
Navigation
[0] Message Index
[#] Next page
Go to full version