Re: console_codes question (was Accented Characters - How to type)
On Jan 30, 11:40 am, "Thomas H. George" <li...@tomgeorge.info> wrote:
> The man page for console_codes explains that there are two fonts
> available (G0 and G1) with commands ^O and ^N to switch between them.
> Furthermore, it is possible replace the standard font for G1 (VT100
> graphics) with a user-defined character set.
>
> I have not been able to make all this work but it suggests I could have
> any characters I want by constructing an appropriate user-defined
> character set for G1 and switching between G0 and G1 as needed.
>
> Currently the character sets for G0 and G1 seem to be identical so the
> commands ^O and ^N seem to have no effect. The console_codes man page
> includes references to man pages for ncurses and reset. My system has
> no man page for ncurses but the man page for reset includes the command
> ^Jreset^J which works and changes the current character set to a much
> smaller font size, again with no difference between G0 and G1.
>
> Question: Should this all work as described? Is it obsolete?
It should work, but (Linux console) generally does not, for a variety
of reasons.
The people who've worked on the console more/less decided to ignore
this
aspect only only retain line-drawing as a special case in UTF-8
support.
Before that, the character-switching was still not VT100-like, but
aimed
at switching PC fonts. There was a patch 5-6 years ago which was
supposed
to fix this up, but I've not see a reliable report that it was
actually incorporated
(and see #515609) have not modified the terminal description to use
it.
Reply to: