You are not logged in.
Pages: 1
Does anyone here have a setup that allows them to boot up their computer without X, log in, and cat a file with Chinese characters and see the contents correctly without X? I know entering text is probably more involved, but what about just being able to see those types of characters?
Any suggestions/help?
Offline
Check your /etc/locale.gen file, and make sure that you have a chinese locale uncommented. Then make sure that you regenerate your locale (sudo locale-gen), and you should be in business.
I must admit, that I don't use chinese so had to go and look it up. It's listed under zh-CN-<something>. zh-CN-utf8 should do what you want, hopefully.
HTH
[edit] To boot into the console, just change the default runlevel in your /etc/inittab file so that it starts with 3 instead of 5. There is also a boot option that you can use for that as well, I believe.
After another quick google/linux search, it appears that you can just append the runlevel that you want to the boot menu option.
Have fun!
[/edit
Last edited by Knute (2010-06-09 00:21:10)
Knute
Offline
I'm not a guru, but I think you can enter the characters quite easily - by hex value f.e. - but seeing them is tough, as you can have only 512 glyphs in the console. CJKV w/o X is pain in the neck, but you can try to make a pdf/png of the file and view it that way.
Offline
You can try zhcon:
Offline
> You can try zhcon
Or zhcon-debian
http://aur.archlinux.org/packages.php?ID=24057
Offline
@kant: for displaying utf8-CJK atl. you need a framebuffer terminal. For CJK-input you'll further need an input method (editor)/"IM(E)". I use fbterm-ucimf together with openvanilla (don't know why, but zhcon always crashed). For working at login, just enter
fbterm 2>/dev/null
in your .bashrc. ov starts eg with <ctrl><space> then. There are a few depencies, which must be installed in a certain order (what I can't remember in detail at the moment); you may have a look at the links shown in the AUR.
we are Arch.
you will be assimilated!
resistance is futile!
Offline
Pages: 1