Glynn Clements | 1 Mar 2004 17:22
Favicon

Re: graphic characters in console


Luca Ferrari wrote:

> I've got a problem displaying those graphics characters that you can find (for 
> example) in ncurses based programs (I mean lines, angles, etc.). On my red 
> hat 6.2 system they are displayed fine (I mean that if I cat a file which 
> contains those character I can see them weel), but on my suse 8.2 they are 
> not. In fact they are displayed as strange alphabetic characters. I don't 
> know what's the setting to display rightly those characters, anyone can help 
> me?

You have to select a suitable console font with e.g. setfont or
consolechars. The default8x9 and default8x16 fonts usually have the
line graphics characters, while those beginning with "iso" correspond
to the various ISO-8859 encodings (e.g. iso01-* all use ISO-8859-1).

See the documentation for with the "console-tools" package for more
information.

--

-- 
Glynn Clements <glynn.clements <at> virgin.net>
-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo <at> vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Gmane