On Thu, 15 Feb 2001, Roozbeh Pournader wrote:
> I was playing with the linux console, and found that when I switch to
> USER_MAP character table, using "ESC ( K", all codes from 0x80 to 0xff can
> be displayed, but not 0x9b. It somehow behaves like its lower brother,
> 0x1b (ESC). Any explanation why only this doesn't work?
It's actually the C1 version of CSI (Control Sequence Introducer), which
is more commonly accessed through ESC [. For example,
printf 'some \2331mbold\233m text\n'
(Octal is necessary instead of hex because \x is defined as taking ALL hex
digits that follow; octal escapes only take three digits at most.)
Why it continues to act as a control when the other C1 codes generate
graphic characters, I have no idea. As far as I can remember it's not
fixed in the same way ESC is (and has to be for sequences like ESC ( K to
always correspond to the same sequence of bytes).
hope this helps,
--
Daniel Biddle <[EMAIL PROTECTED]>
-
Linux-UTF8: i18n of Linux on all levels
Archive: http://mail.nl.linux.org/lists/