On Sun, Nov 29, 2009 at 01:57:44PM +0800, Hou, Ruoyu wrote: > Hi all, > > I am wondering if I could make the console display CJK character sets. > From what I've searched, wscons doesn't support Unicode at least in NetBSD, > though I wonder if it is a similar case in OpenBSD.
As the console on most architectures supported by OpenBSD uses the textmode of the hardware, only the capabilities of texmode ara available. One of the restrictions of hardware textmode is the number of characters you can display at one time on the console which is normally limited to 256 (or 512 on some hardware although I doubt OpenBSD supports this) In short. No you can't. > The documents I process involve major eastern Asian characters, some of > which appear in one document. I know I could handle it well enough with > proper locale setting, fonts, and X. But I frankly don't like X and > prefer non-X applications, as most of my work done in CLI or TUI, exactly, > emacs-nox11. I guess this could not be circumvented by simple setting > Lang, LC_CTYPE or alike. If you want to use those charater sets you need a bit-map addressable screen and the apropriate fonts to display those glyphs. X offers those features. If you just start an 'xterm -u8' you get your program prompt from where you can run your CLI/TUI applications just as you would on your console but with the possibility of more glyphs at the same time. There is nothing in X that requires you to run bloated graphical applications or an over the top graphical environment. > Regards, > -- > Hou, Ruoyu These messages were made possible by X, twm, xterm, mutt and vi. The environment to run these in has been kindly proveded by the developers of OpenBSD. Janjaap van Velthooven -- ________________________________________ / __/ /_ / ______/ /_ __/ __/ /___ / / /_ __/___/_/_ /___ / / __/ /___ / / janj...@stack.nl /___/_/_________/_____/_/_/_/_______/_/_/