console_codes question (was Accented Characters - How to type)

January 30th, 2012 - 11:40 am ET by Thomas H. George | Report spam
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 is promising and worth studying if I can make it all function as
described. If any one is using these options I would very much like to
learn from your experiences.

Tom




To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: http://lists.debian.org/20120130153003.GA11679@tomgeorge.info
email Follow the discussionReplies 1 replyReplies Make a reply

Similar topics

Replies

#1 Thomas E. Dickey
January 31st, 2012 - 08:20 pm ET | Report spam
On Jan 30, 11:40 am, "Thomas H. George" 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.


To UNSUBSCRIBE, email to
with a subject of "unsubscribe". Trouble? Contact
Archive: http://lists.debian.org/
email Follow the discussion Replies Reply to this message
Help Create a new topicReplies Make a reply
Search Make your own search